Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Chrome 117
Windows
Desktop
one year ago
Test name Executions per second
long eval() 53197.7 Ops/sec
long parseInt() 4304952.5 Ops/sec
short eval() 56178.1 Ops/sec
short parseInt() 10020862.0 Ops/sec
short Number class call 10179789.0 Ops/sec
long Number class call 9953543.0 Ops/sec
short JSON.parse 5208616.0 Ops/sec
long JSON.parse 2915898.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


;