Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Includes vs startsWith speed test playerapi
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/140.0.0.0 YaBrowser/25.10.0.0 Safari/537.36
Browser:
Yandex Browser 25
Operating system:
Windows
Device Platform:
Desktop
Date tested:
8 months ago
includes
267.2M/s
startsWith
67.0M/s
View exact numbers
Test name
Executions per second
✓
includes
267,209,872 Ops/sec
startsWith
66,967,044 Ops/sec
HTML Preparation code:
<!--your preparation HTML code goes here-->
Tests:
startsWith
const str = "playerapi/blabla/blabla2/sjdaldkj/ajdhassdlj/ajshdakjhsd" str.startsWith("playerapi/blabla/blabla2")
includes
const str = "playerapi/blabla/blabla2/sjdaldkj/ajdhassdlj/ajshdakjhsd" str.includes("playerapi/blabla/blabla2")