Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36
Chrome 85
Windows
Desktop
4 years ago
Test name Executions per second
bitwise operator on Int32Array 311.4 Ops/sec
boolean operator on Int32Array 309.7 Ops/sec
boolean operator with comparitors on Int32Array 309.0 Ops/sec
bitwise operator on Float32Array 310.0 Ops/sec
bitwise operator on Uint32Array 310.3 Ops/sec
boolean operator on Uint32Array 308.1 Ops/sec
boolean operator on Uint32Array with comparators 309.3 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