Script Preparation code:
Tests:
  • Math.floor(a)

  • ~~

  • ^0

  • parseInt

  • toFixed

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Math.floor(a)
    ~~
    ^0
    parseInt
    toFixed

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:82.0) Gecko/20100101 Firefox/82.0
Firefox 82 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
Math.floor(a) 132864848.0 Ops/sec
~~ 271783040.0 Ops/sec
^0 281271712.0 Ops/sec
parseInt 53880724.0 Ops/sec
toFixed 12475700.0 Ops/sec