Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
23rergrfrfg-2
(version: 0)
Comparing performance of:
1 vs 2 vs 3 vs 4
Created:
7 years ago
by:
Guest
Jump to the latest result
Script Preparation code:
var a = { toSrting() {return '1'}}, b = { toSrting() {return '1'}}, c = { toSrting() {return '1'}}, d = { toSrting() {return '1'}}, e = { toSrting() {return '1'}}
Tests:
1
a.toString(); b.toString(); c.toString(); d.toString(); e.toString();
2
a + ""; b + ""; c + ""; d + ""; e + "";
3
String(a); String(b); String(c); String(d); String(e);
4
"" + a; "" + b; "" + c; "" + d; "" + e;
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (4)
Previous results
Fork
Test case name
Result
1
2
3
4
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:
Switch vs Object Literal w/out console.log 4
Switch vs Object Literal larger
Switch vs Object Literal largerest
Switch vs Object Literal largerestbest
Switch vs Object Literal largerestbestfixed
Comments
Confirm delete:
Do you really want to delete benchmark?