Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0
Firefox 113
Ubuntu
Desktop
one year ago
Test name Executions per second
boolean array 83208.5 Ops/sec
typed Array with uInt8 14090.2 Ops/sec
boolean array - Strict 81314.2 Ops/sec
typed Array with uInt8 - Strict 13992.9 Ops/sec
weird boolean - Strict 111282.1 Ops/sec
uint8 .fill() 1227283.1 Ops/sec
weird boolean - .fill 6227424.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