Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36
Chrome 66
Mac OS X 10.13.3
Other
6 years ago
Test name Executions per second
bitwise operator on Int32Array 345.1 Ops/sec
boolean operator on Int32Array 339.0 Ops/sec
boolean operator with comparitors on Int32Array 348.3 Ops/sec
bitwise operator on Float32Array 342.8 Ops/sec
bitwise operator on Uint32Array 345.9 Ops/sec
boolean operator on Uint32Array 347.7 Ops/sec
boolean operator on Uint32Array with comparators 342.1 Ops/sec
Script Preparation code:
Tests:
  • bitwise operator on Int32Array

  • boolean operator on Int32Array

  • boolean operator with comparitors on Int32Array

  • bitwise operator on Float32Array

  • bitwise operator on Uint32Array

  • boolean operator on Uint32Array

  • boolean operator on Uint32Array with comparators