Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 11_1_2 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) CriOS/63.0.3239.73 Mobile/15B202 Safari/604.1
Chrome Mobile iOS 63
iOS 11.1.2
iPhone
2025 years ago
Test name Executions per second
Trunc Mat 447477.9 Ops/sec
Trunc 852033.6 Ops/sec
dosDecimales 1572403.5 Ops/sec
Script Preparation code:
Tests:
  • Trunc Mat

  • Trunc

  • dosDecimales