Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
Chrome 95
Windows
Desktop
3 years ago
Test name Executions per second
bitwise operator on Int32Array 271.8 Ops/sec
boolean operator on Int32Array 272.7 Ops/sec
boolean operator with comparitors on Int32Array 272.6 Ops/sec
bitwise operator on Float32Array 270.9 Ops/sec
bitwise operator on Uint32Array 272.9 Ops/sec
boolean operator on Uint32Array 273.6 Ops/sec
boolean operator on Uint32Array with comparators 276.4 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