Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1 Safari/605.1.15
Safari 14
Mac OS X 10.15.7
Desktop
3 years ago
Test name Executions per second
boolean array 219993.0 Ops/sec
typed Array with uInt8 535997.2 Ops/sec
boolean array - Strict 220390.7 Ops/sec
typed Array with uInt8 - Strict 539047.9 Ops/sec
weird boolean - Strict 2600037.2 Ops/sec
uint8 .fill() 465954.0 Ops/sec
weird boolean - .fill 2602131.5 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