HTML Preparation code:
Script Preparation code:
Tests:
  • Javascript Set intersection (larger set first)

  • Lodash intersection

  • Javascript Array intersection

  • Javascript Set intersection (new feature) (larger set first)

  • Javascript Set intersection (smaller set first)

  • Javascript Set intersection (new feature) (smaller set first)

  • Javascript Set intersection (new feature) (smaller set first) (with set init time)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Javascript Set intersection (larger set first)
    Lodash intersection
    Javascript Array intersection
    Javascript Set intersection (new feature) (larger set first)
    Javascript Set intersection (smaller set first)
    Javascript Set intersection (new feature) (smaller set first)
    Javascript Set intersection (new feature) (smaller set first) (with set init time)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 9 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Chrome 122 on Windows
View result in a separate tab
Test name Executions per second
Javascript Set intersection (larger set first) 69478.7 Ops/sec
Lodash intersection 201604.9 Ops/sec
Javascript Array intersection 68214.1 Ops/sec
Javascript Set intersection (new feature) (larger set first) 1613541.5 Ops/sec
Javascript Set intersection (smaller set first) 317653.8 Ops/sec
Javascript Set intersection (new feature) (smaller set first) 1720664.9 Ops/sec
Javascript Set intersection (new feature) (smaller set first) (with set init time) 171540.5 Ops/sec


;