Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Mobile Safari/537.36
Chrome Mobile 117
Android
Mobile
one year ago
Test name Executions per second
trunc 2893059.0 Ops/sec
round 2934325.8 Ops/sec
floor 2950318.0 Ops/sec
parseFloat to int 963568.4 Ops/sec
Tests:
  • trunc

  • round

  • floor

  • parseFloat to int


;