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)
7K/s
Lodash _.intersection()
5K/s
Custom optimized function 2
4K/s
View exact numbers
| Test name |
Executions per second |
|
✓
Custom optimized function 1 (Best)
|
6,959 Ops/sec |
|
Lodash _.intersection()
|
5,089 Ops/sec |
|
Custom optimized function 2
|
3,813 Ops/sec |
Do you really want to delete benchmark?