Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Chrome 109
Linux
Desktop
one year ago
Test name Executions per second
long eval() 3040809.0 Ops/sec
long parseInt() 3733629.5 Ops/sec
short eval() 3011996.5 Ops/sec
short parseInt() 7193679.5 Ops/sec
short Number class call 7468202.5 Ops/sec
long Number class call 7424407.5 Ops/sec
short JSON.parse 3888930.8 Ops/sec
long JSON.parse 2441119.2 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


;