Tests:
  • Number plus string

  • String constructor

  • ToString function

  • Template Literal

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Number plus string
    String constructor
    ToString function
    Template Literal

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36 Edg/92.0.902.62
Chrome 92 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Number plus string 4924487.5 Ops/sec
String constructor 2809260.2 Ops/sec
ToString function 4563645.5 Ops/sec
Template Literal 5187863.5 Ops/sec