Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    parseInt
    Math.floor
    parseInt - fixed
    Math.floor - fixed

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (iPhone; CPU iPhone OS 17_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/126.0.6478.153 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 126 on iOS 17.6
View result in a separate tab
parseInt - fixed
19.1M/s
Math.floor - fixed
18.7M/s
parseInt
10.4M/s
Math.floor
10.1M/s
View exact numbers
Test name Executions per second
parseInt - fixed 19,107,810 Ops/sec
Math.floor - fixed 18,730,416 Ops/sec
parseInt 10,384,760 Ops/sec
Math.floor 10,080,236 Ops/sec