ES6 Class vs Function float32array vs Function arrayFastest: Function array (195.1x faster)
161,968,944 ops/sec
3,833,414 ops/sec
830,043 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| ES6 Class | |
| Function float32array | |
| Function array |
| Test name | Executions per second |
|---|---|
| ✓ Function array | 170,239,040 Ops/sec |
| Function float32array | 3,845,734 Ops/sec |
| ES6 Class | 848,342 Ops/sec |