Script Preparation code:
Tests:
  • Trunc

  • parseInt

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Trunc
    parseInt

    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: 7 days ago)
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36
Chrome 91 on Windows
View result in a separate tab
Test name Executions per second
Trunc 3072956.0 Ops/sec
parseInt 2074465.0 Ops/sec