Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
string-interpolation-vs-toString
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Android 16; Mobile; rv:144.0) Gecko/144.0 Firefox/144.0
Browser:
Firefox Mobile 144
Operating system:
Android
Device Platform:
Mobile
Date tested:
9 months ago
toSstring
1207.3M/s
string-interpolation
122.5M/s
View exact numbers
Test name
Executions per second
✓
toSstring
1,207,252,864 Ops/sec
string-interpolation
122,494,536 Ops/sec
Script Preparation code:
var luckyNumber = Math.round(Math.random() * 100);
Tests:
string-interpolation
` ${luckyNumber}`
toSstring
luckyNumber.toString()