HTML Preparation code:
Script Preparation code:
Tests:
  • Array.flat

  • reduce + concat

  • reduce + destructure

  • reduce + push

  • lodash.flatten

  • destructuring

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.flat
    reduce + concat
    reduce + destructure
    reduce + push
    lodash.flatten
    destructuring

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 9 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Chrome 123 on Windows
View result in a separate tab
Test name Executions per second
Array.flat 1880545.5 Ops/sec
reduce + concat 906729.4 Ops/sec
reduce + destructure 840495.9 Ops/sec
reduce + push 988102.6 Ops/sec
lodash.flatten 2671974.5 Ops/sec
destructuring 2134282.0 Ops/sec