Tests:
  • parseInt

  • Math.floor

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    parseInt
    Math.floor

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (X11; Linux x86_64; rv:99.0) Gecko/20100101 Firefox/99.0
Firefox 99 on Linux
View result in a separate tab
Test name Executions per second
parseInt 62734.8 Ops/sec
Math.floor 58998.7 Ops/sec