Script Preparation code:
Tests:
  • Array(n).fill(str)

  • Array.from({ length: n }, _ => str)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array(n).fill(str)
    Array.from({ length: n }, _ => str)

    Fastest: N/A

    Slowest: N/A

Latest run results:

No previous run results

This benchmark does not have any results yet. Be the first one to run it!