Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/126.0.6478.153 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 126
iOS 17.6
Mobile
one month ago
Test name Executions per second
parseInt 10384760.0 Ops/sec
Math.floor 10080236.0 Ops/sec
parseInt - fixed 19107810.0 Ops/sec
Math.floor - fixed 18730416.0 Ops/sec
Tests:
  • parseInt

  • Math.floor

  • parseInt - fixed

  • Math.floor - fixed