Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36
Chrome 113
Linux
Desktop
one year ago
Test name Executions per second
long eval() 3364884.5 Ops/sec
long parseInt() 3613737.0 Ops/sec
short eval() 3309284.5 Ops/sec
short parseInt() 7746130.5 Ops/sec
short Number class call 8204778.5 Ops/sec
long Number class call 8146680.0 Ops/sec
short JSON.parse 4401919.0 Ops/sec
long JSON.parse 1979037.4 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


;