Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
String reveese
(version: 1)
Comparing performance of:
Join vs reduceRight
Created:
one year ago
by:
Guest
Go to the latest result
HTML Preparation code:
<!--your preparation HTML code goes here-->
Script Preparation code:
function q(a,b){return `${a}${b}`}
Tests:
Join
"a".repeat(1e3).split("").toReversed().join("")
reduceRight
"a".repeat(1e3).split("").reduceRight(q,"")
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Join
reduceRight
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
one year ago
)
User agent:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Mobile Safari/537.36
Browser/OS:
Chrome Mobile 139 on Android
View result in a separate tab
Embed
Embed Benchmark Result
reduceRight
34K/s
Join
28K/s
View exact numbers
Test name
Executions per second
✓
reduceRight
33,711 Ops/sec
Join
27,849 Ops/sec
Related benchmarks
Regex vs split/join - space to dash
replace vs split/join by Alex
Comments
Confirm delete:
Do you really want to delete benchmark?