Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Concatenation vs Interpolation 18239712aisdofaseifjasl
(version: 0)
Comparing performance of:
Concatenation vs Interpolation
Created:
4 years ago
by:
Guest
Jump to the latest result
Script Preparation code:
var luckyNumber = Math.round(Math.random() * 100);
Tests:
Concatenation
var text = "String one lucky number: " + luckyNumber + " lucky number 2: " + luckyNumber;
Interpolation
var test = `String one lucky number: ${luckyNumber} lucky number 2: ${luckyNumber}`;
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Concatenation
Interpolation
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Related benchmarks:
string-interpolation-vs-concatenation
string-interpolation-vs-to-stirng
string-interpolation-vs-concatenation-2
string-interpolation-vs-concatenation-2.1
Comments
Confirm delete:
Do you really want to delete benchmark?