Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
String Replace By Array
(version: 0)
Comparing performance of:
Split & Join vs Simple replace
Created:
3 years ago
by:
Guest
Jump to the latest result
Tests:
Split & Join
var k = "abc 123".split(" ").join("");
Simple replace
var k = "abc 123".replace(" ","");
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Split & Join
Simple replace
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Related benchmarks:
temptest
remove last char2
replace vs custom replace
replace vs substring/indexOf
Comments
Confirm delete:
Do you really want to delete benchmark?