Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
ceiling
(version: 0)
Comparing performance of:
math vs ~~+1
Created:
2 years ago
by:
Guest
Jump to the latest result
Script Preparation code:
var x = 190.4
Tests:
math
Math.floor(x)
~~+1
(~~x)+1
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
math
~~+1
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:
toFixed vs toPrecision vs Math.round() vs Math.floorfaster test 2
toFixed vs toPrecision vs Math.round() vs customRound()
Edge wrapping - ternary vs magic constant
Test floor
Comparing performance of Math.floor(x); vs Math.round(x); vs (0.5 + x) << 0;
Comments
Confirm delete:
Do you really want to delete benchmark?