Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130
Linux
Desktop
2 months ago
Test name Executions per second
long eval() 7459305.5 Ops/sec
long parseInt() 8167827.0 Ops/sec
short eval() 6316419.0 Ops/sec
short parseInt() 18481586.0 Ops/sec
short Number class call 18573480.0 Ops/sec
long Number class call 18391758.0 Ops/sec
short JSON.parse 14003752.0 Ops/sec
long JSON.parse 5838591.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