Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
adding 1 char to a string
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Browser:
Chrome 132
Operating system:
Chrome OS 14541.0.0
Device Platform:
Desktop
Date tested:
one year ago
concat()
2.3M/s
interpolation
2.2M/s
concatenation
980K/s
View exact numbers
Test name
Executions per second
✓
concat()
2,316,342 Ops/sec
interpolation
2,241,891 Ops/sec
concatenation
980,018 Ops/sec
Script Preparation code:
let str = 'abc'.repeat(62)
Tests:
concatenation
str += 'def'
concat()
str = str.concat('def')
interpolation
str = `${str}def`