Script Preparation code:
Tests:
  • trunc

  • dosDecimales

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    trunc
    dosDecimales

    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: 5 years ago)
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0
Firefox 56 on Windows
View result in a separate tab
Test name Executions per second
trunc 8114411.0 Ops/sec
dosDecimales 4784664.0 Ops/sec