Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
Chrome 90
Mac OS X 10.15.7
Desktop
3 years ago
Test name Executions per second
long eval() 68408.6 Ops/sec
long parseInt() 5728091.0 Ops/sec
short eval() 74569.3 Ops/sec
short parseInt() 14113705.0 Ops/sec
Number class call 14655652.0 Ops/sec
Tests:
  • long eval()

  • long parseInt()

  • short eval()

  • short parseInt()

  • Number class call


;