Script Preparation code:
Tests:
  • concat

  • spread

  • reduce spread

  • reduce concat

  • flat

  • concat apply

  • Flatten self-made

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    concat
    spread
    reduce spread
    reduce concat
    flat
    concat apply
    Flatten self-made

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36
Chrome 85 on Windows
View result in a separate tab
Test name Executions per second
concat 354576.9 Ops/sec
spread 47708.6 Ops/sec
reduce spread 45260.7 Ops/sec
reduce concat 338760.9 Ops/sec
flat 40375.2 Ops/sec
concat apply 939680.7 Ops/sec
Flatten self-made 37447.1 Ops/sec

Recommended literature: