Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/114.0
Firefox 114
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
boolean array 192406.3 Ops/sec
typed Array with uInt8 35808.4 Ops/sec
boolean array - Strict 193058.2 Ops/sec
typed Array with uInt8 - Strict 35674.2 Ops/sec
weird boolean - Strict 281976.8 Ops/sec
uint8 .fill() 1750530.1 Ops/sec
weird boolean - .fill 9108515.0 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