Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Chrome 128
Linux
Desktop
2 years ago
Benchmark.js
Set() convert back to array
1.0M/s
View exact numbers
| Test name |
Executions per second |
|
✓
Set()
|
2,684,343 Ops/sec |
|
_.union
|
1,753,118 Ops/sec |
|
Set() convert back to array
|
1,019,118 Ops/sec |
Tests:
-
_.union
-
Set()
-
Set() convert back to array