Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
match vs endsWith vs includes
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/147.0.0.0 Safari/537.36 Edg/147.0.0.0
Browser:
Chrome 147
Operating system:
Windows
Device Platform:
Desktop
Date tested:
4 months ago
Benchmark engine:
Benchmark.js
endsWith
24.7M/s
includes
21.2M/s
match
15.5M/s
View exact numbers
Test name
Executions per second
✓
endsWith
24,741,896 Ops/sec
includes
21,176,680 Ops/sec
match
15,461,878 Ops/sec
Tests:
match
"abc".match(/abc/)
endsWith
"abc".endsWith("abc")
includes
"abc".includes("abc")