Run details:
Mozilla/5.0 (Linux; Android 4.4.2; GT-N7100) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Mobile Safari/537.36
Chrome Mobile 81
Android 4.4.2
Mobile
one year ago
Test name Executions per second
Trunc 278235.0 Ops/sec
parseInt 286707.5 Ops/sec
Script Preparation code:
Tests:
  • Trunc

  • parseInt