Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
Firefox 61
Windows 7
Desktop
6 years ago
Test name Executions per second
boolean array 19335.1 Ops/sec
typed Array with uInt8 217656.4 Ops/sec
boolean array - Strict 18892.4 Ops/sec
typed Array with uInt8 - Strict 279576.3 Ops/sec
weird boolean - Strict 243956.4 Ops/sec
Script Preparation code:
Tests:
  • boolean array

  • typed Array with uInt8

  • boolean array - Strict

  • typed Array with uInt8 - Strict

  • weird boolean - Strict

  • uint8 .fill()

  • weird boolean - .fill