Script Preparation code:
Tests:
  • Trunc Mat

  • Trunc

  • dosDecimales

  • trunc_fixed

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Trunc Mat
    Trunc
    dosDecimales
    trunc_fixed

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 7 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
Chrome 61 on Windows
View result in a separate tab
Test name Executions per second
Trunc Mat 1126176.8 Ops/sec
Trunc 2990419.8 Ops/sec
dosDecimales 4521223.5 Ops/sec
trunc_fixed 2468306.5 Ops/sec