Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Chrome 103
Linux
Desktop
2 years ago
Test name Executions per second
long eval() 2453255.8 Ops/sec
long parseInt() 3195938.8 Ops/sec
short eval() 2401286.8 Ops/sec
short parseInt() 6515666.0 Ops/sec
short Number class call 6290403.5 Ops/sec
long Number class call 6118023.0 Ops/sec
short JSON.parse 3765017.2 Ops/sec
long JSON.parse 2086911.1 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


;