Script Preparation code:
AخA
 
var arr = [];
var mxname = 'mxname';
Tests:
  • concat string

     
    'test string' + ' ' + mxname;
  • array push

     
    arr.push(mxname);
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    concat string
    array push

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0
Firefox 118 on Ubuntu
View result in a separate tab
Test name Executions per second
concat string 1126659328.0 Ops/sec
array push 25360742.0 Ops/sec