EcmaScript6 Int16Array vs regular JS array

2021 years ago
User agent: Mozilla/5.0 (Linux; Android 8.1.0; Nexus 6P Build/OPM3.171019.013) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.123 Mobile Safari/537.36
Test name Executions per second
Int16Array 41324.9 Ops/sec
Plain JS array 47834.2 Ops/sec
Script Preparation code:
Tests:
  • Int16Array

  • Plain JS array

Open this result on MeasureThat.net