Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121
Mac OS X 10.15.7
Desktop
10 months ago
Test name Executions per second
+ 7556856.0 Ops/sec
Number 4853251.5 Ops/sec
parseInt 4015633.0 Ops/sec
parseFloat 4305946.0 Ops/sec
String() 6591342.0 Ops/sec
`${}` 15070124.0 Ops/sec
nothing 17105246.0 Ops/sec
Script Preparation code:
Tests:
  • +

  • Number

  • parseInt

  • parseFloat

  • String()

  • `${}`

  • nothing


;