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
10 months ago
Test name Executions per second
long eval() 4350774.0 Ops/sec
long parseInt() 3920122.8 Ops/sec
short eval() 4365803.5 Ops/sec
short parseInt() 8038847.5 Ops/sec
short Number class call 8104490.0 Ops/sec
long Number class call 8077418.0 Ops/sec
short JSON.parse 4960769.0 Ops/sec
long JSON.parse 2736066.5 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


;