HTML Preparation code:
Script Preparation code:
Tests:
  • _.union

  • Set()

  • Set() convert back to array

  • Concat & Filter

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    _.union
    Set()
    Set() convert back to array
    Concat & Filter

    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: 23 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Chrome 123 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
_.union 4142536.0 Ops/sec
Set() 6545209.0 Ops/sec
Set() convert back to array 4605968.0 Ops/sec
Concat & Filter 5824937.0 Ops/sec