Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Replace
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36 Edg/150.0.0.0
Browser:
Chrome 150
Operating system:
Windows
Device Platform:
Desktop
Date tested:
14 days ago
Non cached
2.8M/s
Cached
1.8M/s
View exact numbers
Test name
Executions per second
✓
Non cached
2,763,698 Ops/sec
Cached
1,833,582 Ops/sec
HTML Preparation code:
<!--your preparation HTML code goes here-->
Script Preparation code:
const regexp = new RegExp("-", "g");
Tests:
Non cached
'f44c1091-1822-478b-83a3-4283aed209c0'.replace(new RegExp("-", "g"), "").toUpperCase();
Cached
'f44c1091-1822-478b-83a3-4283aed209c0'.replace(regexp, "").toUpperCase();