Int16Array vs Plain JS array293,740 ops/sec
289,851 ops/sec
Fastest: Int16Array (1.4x faster)
18,537,920 ops/sec
13,147,379 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Int16Array | |
| Plain JS array |
| Test name | Executions per second |
|---|---|
| ✓ Int16Array | 8,962,551 Ops/sec |
| Plain JS array | 5,995,764 Ops/sec |