String() vs .toString() vs template string vs add to string 1 (version: 0)
Comparing performance of: String() vs .toString() vs template string vs add to string vs Number to Number via + vs String to Number via + vs String to Number via parseInt
Memory measurements supported only in Chrome.
For precise memory measurements Chrome must be launched with --enable-precise-memory-info flag.
More information: Monitoring JavaScript Memory
Test case name
Result
String()
.toString()
template string
add to string
Number to Number via +
String to Number via +
String to Number via parseInt
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!