Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
long eval() 1385925.5 Ops/sec
long parseInt() 947492.9 Ops/sec
short eval() 1734631.8 Ops/sec
short parseInt() 46943944.0 Ops/sec
short Number class call 24479088.0 Ops/sec
long Number class call 1065257.0 Ops/sec
short JSON.parse 12128109.0 Ops/sec
long JSON.parse 858543.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