Tests:
  • toFixed

  • Round

  • floor

  • Bitwise

  • Math.trunc

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    toFixed
    Round
    floor
    Bitwise
    Math.trunc

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 9 months ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Mobile Safari/537.36
Chrome Mobile 120 on Android
View result in a separate tab
Test name Executions per second
toFixed 229651.9 Ops/sec
Round 705876.2 Ops/sec
floor 700182.2 Ops/sec
Bitwise 149503300.0 Ops/sec
Math.trunc 712237.8 Ops/sec