Tests:
-
Lodash _.intersection()
-
Custom optimized function 1 (Best)
-
Custom optimized function 2
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Chrome 129 on Windows
View result in a separate tab
Custom optimized function 1 (Best)
11K/s
Lodash _.intersection()
9K/s
Custom optimized function 2
5K/s
View exact numbers
| Test name |
Executions per second |
|
✓
Custom optimized function 1 (Best)
|
10,883 Ops/sec |
|
Lodash _.intersection()
|
8,922 Ops/sec |
|
Custom optimized function 2
|
4,526 Ops/sec |
Do you really want to delete benchmark?