Delete by Splice vs Delete by copyWithin vs Delete by FilterFastest: Delete by Splice (2.7x faster)
1,001,151 ops/sec
983,796 ops/sec
374,498 ops/sec
Fastest: Delete by copyWithin (5.2x faster)
658,528 ops/sec
650,997 ops/sec
126,087 ops/sec
Fastest: Delete by copyWithin (4.6x faster)
545,286 ops/sec
532,590 ops/sec
117,398 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Delete by Splice | |
| Delete by copyWithin | |
| Delete by Filter |
| Test name | Executions per second |
|---|---|
| ✓ Delete by Splice | 1,038,770 Ops/sec |
| Delete by copyWithin | 1,011,795 Ops/sec |
| Delete by Filter | 357,995 Ops/sec |