Script Preparation code:
Tests:
  • reduce

  • append-with-foreach-arrow

  • append-with-forof

  • append-with-for

  • string-concat

  • array-join

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    reduce
    append-with-foreach-arrow
    append-with-forof
    append-with-for
    string-concat
    array-join

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36
Chrome 112 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
reduce 187992.0 Ops/sec
append-with-foreach-arrow 135443.8 Ops/sec
append-with-forof 119324.6 Ops/sec
append-with-for 8439.1 Ops/sec
string-concat 128181.7 Ops/sec
array-join 69719.4 Ops/sec