Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
standard replaceAll vs regex replace
(version: 0)
Comparing performance of:
replace regex vs replace All
Created:
4 years ago
by:
Guest
Jump to the latest result
Tests:
replace regex
"this is it".replace(/ /g, "+");
replace All
"this is it".replaceAll(" ", "+");
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
replace regex
replace All
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:
replaceAll vs regex replace (no prep code)
replaceAll vs replace with regex for empty string substition
replaceAll native 2023 vs regex replace
replaceAll vs regex replace-09870987
Comments
Confirm delete:
Do you really want to delete benchmark?