Script Preparation code:
Tests:

Historical Performance Data aggregated from 9 community runs

Desktop Results:
Chrome 9 runs
Trunc
7.3M/s
dosDecimales
6.3M/s
Trunc Mat
2.4M/s

Fastest: Trunc (3.0x faster)

View exact numbers
  • Trunc: 7,256,920 ops/sec
  • dosDecimales: 6,317,807 ops/sec
  • Trunc Mat: 2,433,132 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Trunc Mat
    Trunc
    dosDecimales

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0
Firefox 143 on Windows
View result in a separate tab
Trunc Mat
44.3M/s
dosDecimales
24.5M/s
Trunc
17.2M/s
View exact numbers
Test name Executions per second
Trunc Mat 44,328,808 Ops/sec
dosDecimales 24,536,660 Ops/sec
Trunc 17,185,314 Ops/sec