Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
priv_28409238402384
(version: 0)
priv_24234324324234
Comparing performance of:
priv_24234234 vs priv_424234
Created:
4 years ago
by:
Guest
Jump to the latest result
Script Preparation code:
const toTitleCase = str => str.replace('_', ' ').replace(/(^\w|\s\w)/g, m => m.toUpperCase());
Tests:
priv_24234234
const toTitleCase = str => str.replace('_', ' ').replace(/(^\w|\s\w)/g, m => m.toUpperCase()); toTitleCase('test_string')
priv_424234
const toTitleCase = str => str.replace('_', ' ').replace(/(^\w|\s\w)/g, m => m.toUpperCase()); toTitleCase('test_string')
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
priv_24234234
priv_424234
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:
2substr
titlepipe test
Uppercase
capitalize 2 versions
Comments
Confirm delete:
Do you really want to delete benchmark?