Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0
Firefox 112
Windows
Desktop
one year ago
Test name Executions per second
long eval() 1532531.5 Ops/sec
long parseInt() 1369590528.0 Ops/sec
short eval() 1932927.2 Ops/sec
short parseInt() 1311304064.0 Ops/sec
short Number class call 1192492928.0 Ops/sec
long Number class call 1322177280.0 Ops/sec
short JSON.parse 12483372.0 Ops/sec
long JSON.parse 1907634.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