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: 6 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
Chrome 67 on Mac OS X 10.13.3
View result in a separate tab
Test name Executions per second
concat string 12104639.0 Ops/sec
array push 5249951.0 Ops/sec