Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36
Chrome 72
Mac OS X 10.13.6
Desktop
5 years ago
Test name Executions per second
bitwise operator on Int32Array 303.5 Ops/sec
boolean operator on Int32Array 299.7 Ops/sec
boolean operator with comparitors on Int32Array 311.3 Ops/sec
bitwise operator on Float32Array 307.6 Ops/sec
bitwise operator on Uint32Array 325.1 Ops/sec
boolean operator on Uint32Array 329.0 Ops/sec
boolean operator on Uint32Array with comparators 327.0 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