Write Float64Array by index vs Write generic array by index vs Write generic array by pushFastest: Write generic array by index (5.3x faster)
16,894 ops/sec
4,638 ops/sec
3,185 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Write Float64Array by index | |
| Write generic array by index | |
| Write generic array by push |
| Test name | Executions per second |
|---|---|
| ✓ Write generic array by index | 4,437 Ops/sec |
| Write Float64Array by index | 2,868 Ops/sec |
| Write generic array by push | 805 Ops/sec |