Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
Firefox 61
Windows
Desktop
6 years ago
Test name Executions per second
bitwise operator on Int32Array 5039.3 Ops/sec
boolean operator on Int32Array 5225.8 Ops/sec
boolean operator with comparitors on Int32Array 5189.6 Ops/sec
bitwise operator on Float32Array 4807.9 Ops/sec
bitwise operator on Uint32Array 5241.7 Ops/sec
boolean operator on Uint32Array 5148.6 Ops/sec
boolean operator on Uint32Array with comparators 5124.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