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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36
Chrome 110 on Windows
View result in a separate tab
Test name Executions per second
Math.floor(test) 4512597.0 Ops/sec
Math.floor(test) + 1 4727550.5 Ops/sec
~~test 13799351.0 Ops/sec
~~test + 1 13742780.0 Ops/sec
Math.ceil(test) 4604479.5 Ops/sec