HTML Preparation code:
Script Preparation code:
Tests:
  • Array.prototype.filter

  • Destructure filter

  • For loop push

  • Array.from

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.prototype.filter
    Destructure filter
    For loop push
    Array.from

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 8 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
Array.prototype.filter 709619.7 Ops/sec
Destructure filter 441090.3 Ops/sec
For loop push 569542.6 Ops/sec
Array.from 404770.8 Ops/sec