Script Preparation code:
Tests:
  • While Loop with cached parent_id

  • While Loop no caching parent_id

  • Using ForEach() instead of While Loop

  • While Loop without cache, using if/else instead of continue

  • While Loop without cache, using spread with assign

  • While Loop without cache, using spread only

  • For Loop version

  • Using ForEach() instead of While Loop, spread only

  • Using ForEach() instead of While Loop, spread only, no push()

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    While Loop with cached parent_id
    While Loop no caching parent_id
    Using ForEach() instead of While Loop
    While Loop without cache, using if/else instead of continue
    While Loop without cache, using spread with assign
    While Loop without cache, using spread only
    For Loop version
    Using ForEach() instead of While Loop, spread only
    Using ForEach() instead of While Loop, spread only, no push()

    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!