Array vs typed array from Buffer vs typed Array no bufferFastest: typed Array no buffer (5.0x faster)
1,265 ops/sec
870 ops/sec
254 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Array | |
| typed array from Buffer | |
| typed Array no buffer |
| Test name | Executions per second |
|---|---|
| ✓ Array | 70 Ops/sec |
| typed array from Buffer | 69 Ops/sec |
| typed Array no buffer | 68 Ops/sec |