Test case name | Result |
---|---|
Lodash intersection | |
Javascript includes | |
Javascript indexOf | |
Javascript Set intersection |
Test name | Executions per second |
---|---|
Lodash intersection | 6104147.0 Ops/sec |
Javascript includes | 25087220.0 Ops/sec |
Javascript indexOf | 23883730.0 Ops/sec |
Javascript Set intersection | 5819657.0 Ops/sec |