Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
concatts2
(version: 0)
Comparing performance of:
moder concat vs string concat vs other
Created:
one year ago
by:
Guest
Go to the latest result
Script Preparation code:
CELL_X= 12 CELL_Y= 13
Tests:
moder concat
var cell_key = `${CELL_X}_${CELL_Y}`;
string concat
var cell_key = CELL_X + '_' + CELL_Y;
other
var cell_key = (CELL_X << 16) | CELL_Y;
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (3)
Previous results
Fork
Test case name
Result
moder concat
string concat
other
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
one year ago
)
User agent:
Mozilla/5.0 (X11; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0
Browser/OS:
Firefox 131 on Linux
View result in a separate tab
Embed
Embed Benchmark Result
string concat
1766.9M/s
other
1748.0M/s
moder concat
181.4M/s
View exact numbers
Test name
Executions per second
✓
string concat
1,766,861,952 Ops/sec
other
1,747,951,104 Ops/sec
moder concat
181,365,584 Ops/sec
Related benchmarks
Spread vs .concat()
string concat: concat vs +
concatts
Comments
Confirm delete:
Do you really want to delete benchmark?