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: one year ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Mobile Safari/537.36
Chrome Mobile 120 on Android
View result in a separate tab
Test name Executions per second
Array.flat 331516.5 Ops/sec
reduce + concat 1050882.2 Ops/sec
reduce + destructure 1678055.4 Ops/sec
reduce + push 2987491.5 Ops/sec
lodash.flatten 1431141.4 Ops/sec
destructuring 1487233.4 Ops/sec