Script Preparation code:
Tests:
  • Array.from (100 elements)

  • spreading (100 elements)

  • Array.from (1000 elements)

  • spreading (1000 elements)

  • Array.from (10000 elements)

  • spreading (10000 elements)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.from (100 elements)
    spreading (100 elements)
    Array.from (1000 elements)
    spreading (1000 elements)
    Array.from (10000 elements)
    spreading (10000 elements)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Chrome 122 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Array.from (100 elements) 6528417.0 Ops/sec
spreading (100 elements) 13146886.0 Ops/sec
Array.from (1000 elements) 2918782.8 Ops/sec
spreading (1000 elements) 3790140.0 Ops/sec
Array.from (10000 elements) 556983.9 Ops/sec
spreading (10000 elements) 566108.1 Ops/sec


;