Test case name | Result |
---|---|
Int16Array: for..of | |
Plain JS array: for..of | |
Int16Array: for index | |
Plain JS array: for index | |
Int16Array: Array reduce: Arrow Function | |
Plain JS array: Array reduce: Arrow Function |
Test name | Executions per second |
---|---|
Int16Array: for..of | 3490139.2 Ops/sec |
Plain JS array: for..of | 11216050.0 Ops/sec |
Int16Array: for index | 272903.0 Ops/sec |
Plain JS array: for index | 272229.9 Ops/sec |
Int16Array: Array reduce: Arrow Function | 1861762.2 Ops/sec |
Plain JS array: Array reduce: Arrow Function | 1865037.0 Ops/sec |