Script Preparation code:
Tests:
  • Default For

  • forEach

  • For with length caching

  • toArray (Array.prototype.slice) and for with caching

  • toArray (Array.prototype.slice) and for-of

  • toArray (Array.from) and for

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Default For
    forEach
    For with length caching
    toArray (Array.prototype.slice) and for with caching
    toArray (Array.prototype.slice) and for-of
    toArray (Array.from) and for

    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!