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
Jump 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
Test name
Executions per second
moder concat
181365584.0 Ops/sec
string concat
1766861952.0 Ops/sec
other
1747951104.0 Ops/sec
Related benchmarks:
String Concatenation
concatvsnoconcat
ad1235
Spread vs .concat()
sdstring concat speed
string concat: concat vs +
concatts
Comments
Confirm delete:
Do you really want to delete benchmark?