Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
math floor112312
(version: 1)
Comparing performance of:
math.floor vs ~~ vs n | n vs n & n
Created:
one year ago
by:
Guest
Jump to the latest result
Script Preparation code:
var a = 123456789.6521;
Tests:
math.floor
var b = Math.floor(a);
~~
var b = ~~(a)
n | n
var b = a | a;
n & n
var b = a & a;
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (4)
Previous results
Fork
Test case name
Result
math.floor
~~
n | n
n & n
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
one year ago
)
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Browser/OS:
Chrome 130 on Windows
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
math.floor
4125578.8 Ops/sec
~~
7694969.5 Ops/sec
n | n
4078093.8 Ops/sec
n & n
4038198.0 Ops/sec
Related benchmarks:
Floor Min
Math.floor vs |0
testtt
~~ vs Math.Floor
~~ vs Math.floor v2
Math.floor
math floor
Tilde VS floor
math floor1123121
Comments
Confirm delete:
Do you really want to delete benchmark?