Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
BUTTTZZZ
(version: 0)
Comparing performance of:
Int comparison vs String comparison
Created:
4 years ago
by:
Guest
Jump to the latest result
Tests:
Int comparison
var x = 43; for (var i = 0; i < 1000; i++) if (x == 43) 0;
String comparison
var x = 'Test' for (var i = 0; i < 1000; i++) if (x == 'Test') 0;
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Int comparison
String comparison
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:
ArrayFind
IndexOf vs Includes vs lodash includes on the arrays of strings
test jsss
7894549846549843546846549844
15614984163549849849849848948564
Comments
Confirm delete:
Do you really want to delete benchmark?