Run details:
Mozilla/5.0 (Android 12; Mobile; rv:94.0) Gecko/94.0 Firefox/94.0
Firefox Mobile 94
Android
Mobile
2 years ago
Test name Executions per second
boolean array 34125.2 Ops/sec
typed Array with uInt8 10653.9 Ops/sec
boolean array - Strict 33823.1 Ops/sec
typed Array with uInt8 - Strict 10559.7 Ops/sec
weird boolean - Strict 82732.6 Ops/sec
uint8 .fill() 509730.3 Ops/sec
weird boolean - .fill 3163227.2 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