Script Preparation code:
Tests:
  • ParseInt

  • Bitwise invert2

  • Bitwise conditional invert2

  • Number.toFixed

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    ParseInt
    Bitwise invert2
    Bitwise conditional invert2
    Number.toFixed

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:126.0) Gecko/20100101 Firefox/126.0
Firefox 126 on Ubuntu
View result in a separate tab
Test name Executions per second
ParseInt 617981504.0 Ops/sec
Bitwise invert2 572627648.0 Ops/sec
Bitwise conditional invert2 500059936.0 Ops/sec
Number.toFixed 15107920.0 Ops/sec