Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0
Firefox 88
Windows
Desktop
3 years ago
Test name Executions per second
long eval() 749495.6 Ops/sec
long parseInt() 633259.6 Ops/sec
short eval() 905882.2 Ops/sec
short parseInt() 5566405.5 Ops/sec
short Number class call 3885307.0 Ops/sec
long Number class call 757643.3 Ops/sec
short JSON.parse 3651837.8 Ops/sec
long JSON.parse 556865.8 Ops/sec
Tests:
  • long eval()

  • long parseInt()

  • short eval()

  • short parseInt()

  • short Number class call

  • long Number class call

  • short JSON.parse

  • long JSON.parse


;