HTML Preparation code:
Script Preparation code:
Tests:
  • Math.floor(test)

  • Math.floor(test) + 1

  • ~~test

  • ~~test + 1

  • Math.ceil(test)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Math.floor(test)
    Math.floor(test) + 1
    ~~test
    ~~test + 1
    Math.ceil(test)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0
Firefox 135 on Linux
View result in a separate tab
Test name Executions per second
Math.floor(test) 1657214464.0 Ops/sec
Math.floor(test) + 1 1662753664.0 Ops/sec
~~test 1664050176.0 Ops/sec
~~test + 1 1666089600.0 Ops/sec
Math.ceil(test) 1664137088.0 Ops/sec