Script Preparation code:
AخA
 
var a = 'aaaaaaaaaaaaaaaaaa'
Tests:
  • using ` to concat string

     
    `aaa ${a}`
  • using + to concat string

     
    'aaa ' + a
  • using concat() to concat string

     
    'aaa '.concat(a)
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    using ` to concat string
    using + to concat string
    using concat() to concat string

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0
Firefox 88 on Windows
View result in a separate tab
Test name Executions per second
using ` to concat string 411882496.0 Ops/sec
using + to concat string 1304556160.0 Ops/sec
using concat() to concat string 50652660.0 Ops/sec