Script Preparation code:
Tests:
  • while (array.length > 0) { array.pop(); }

  • while (array.pop()) {}

  • array.length = 0;

  • array = [];

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    while (array.length > 0) { array.pop(); }
    while (array.pop()) {}
    array.length = 0;
    array = [];

    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!