Script Preparation code:
Tests:
  • +

  • Number

  • parseInt

  • parseFloat

  • String()

  • `${}`

  • nothing

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    +
    Number
    parseInt
    parseFloat
    String()
    `${}`
    nothing

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 10 months ago)
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 on Mac OS X 10.15.7
View result in a separate tab
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


;