Tests:
  • template string

    AخA
     
    const a = 'LET IT';
    const b = ' SNOW';
    `${a}${b}`
  • JSON.stringify array

     
    const a = 'LET IT';
    const b = ' SNOW';
    JSON.stringify([a,b]);
  • JSON.stringify object

     
    const a = 'LET IT';
    const b = ' SNOW';
    JSON.stringify({a,b});
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    template string
    JSON.stringify array
    JSON.stringify object

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 14 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Chrome 135 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
template string 173143984.0 Ops/sec
JSON.stringify array 16702960.0 Ops/sec
JSON.stringify object 13433249.0 Ops/sec