Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0
Chrome 120
Windows
Desktop
one year ago
Test name Executions per second
long eval() 5722224.5 Ops/sec
long parseInt() 5732453.5 Ops/sec
short eval() 5637142.0 Ops/sec
short parseInt() 11536102.0 Ops/sec
short Number class call 11856379.0 Ops/sec
long Number class call 11726817.0 Ops/sec
short JSON.parse 7175201.0 Ops/sec
long JSON.parse 3607868.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