Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
Replace performace
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:152.0) Gecko/20100101 Firefox/152.0
Browser:
Firefox 152
Operating system:
Windows
Device Platform:
Desktop
Date tested:
2 months ago
Benchmark engine:
Benchmark.js
replaceAll
21.8M/s
split - join
13.5M/s
replace global
9.1M/s
View exact numbers
Test name
Executions per second
✓
replaceAll
21,764,742 Ops/sec
split - join
13,532,955 Ops/sec
replace global
9,054,725 Ops/sec
HTML Preparation code:
<!--your preparation HTML code goes here-->
Script Preparation code:
/*your preparation JavaScript code goes here To execute async code during the script preparation, wrap it as function globalMeasureThatScriptPrepareFunction, example:*/ async function globalMeasureThatScriptPrepareFunction() { // This function is optional, feel free to remove it. // await someThing(); }
Tests:
replace global
'f44c1091-1822-478b-83a3-4283aed209c0'.replace(new RegExp('-', 'g'), '').toUpperCase();
split - join
'f44c1091-1822-478b-83a3-4283aed209c0'.split('-').join().toUpperCase();
replaceAll
'f44c1091-1822-478b-83a3-4283aed209c0'.replaceAll('-', '').toUpperCase();