Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Chrome 123
Windows
Desktop
9 months ago
Test name Executions per second
bitwise operator on Int32Array 887.6 Ops/sec
boolean operator on Int32Array 871.9 Ops/sec
boolean operator with comparitors on Int32Array 887.7 Ops/sec
bitwise operator on Float32Array 871.1 Ops/sec
bitwise operator on Uint32Array 875.6 Ops/sec
boolean operator on Uint32Array 881.2 Ops/sec
boolean operator on Uint32Array with comparators 868.9 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