Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
endsWith vs Regex
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Android 13; Mobile; rv:127.0) Gecko/127.0 Firefox/127.0
Browser:
Firefox Mobile 127
Operating system:
Android
Device Platform:
Mobile
Date tested:
one year ago
Test name
Executions per second
Regex
3854526.0 Ops/sec
endsWith
485764704.0 Ops/sec
Tests:
Regex
"this is a test".match("test$")
endsWith
"this is a test".endsWith("test")