Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 OPR/99.0.0.0 (Edition std-1)
Opera 99
Windows
Desktop
one year ago
Test name Executions per second
long eval() 5848877.5 Ops/sec
long parseInt() 6479494.0 Ops/sec
short eval() 5847089.5 Ops/sec
short parseInt() 13323840.0 Ops/sec
short Number class call 13549324.0 Ops/sec
long Number class call 13367661.0 Ops/sec
short JSON.parse 8150109.0 Ops/sec
long JSON.parse 4071775.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


;