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
11 months ago
Test name Executions per second
+ 7556912.5 Ops/sec
Number 4914663.0 Ops/sec
parseInt 4113090.8 Ops/sec
parseFloat 4494251.0 Ops/sec
String() 6624634.0 Ops/sec
`${}` 15653598.0 Ops/sec
nothing 17533264.0 Ops/sec
Script Preparation code:
Tests:
  • +

  • Number

  • parseInt

  • parseFloat

  • String()

  • `${}`

  • nothing