Tests:
  • parseInt

  • Math.floor

  • parseInt - fixed

  • Math.floor - fixed

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: 7 days 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
Test name Executions per second
parseInt 10384760.0 Ops/sec
Math.floor 10080236.0 Ops/sec
parseInt - fixed 19107810.0 Ops/sec
Math.floor - fixed 18730416.0 Ops/sec


;