Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_7_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.3 Mobile/15E148 Safari/604.1
Mobile Safari 15
iOS 15.7.1
Mobile
one year ago
Test name Executions per second
boolean array 56214.5 Ops/sec
typed Array with uInt8 231625.0 Ops/sec
boolean array - Strict 51726.8 Ops/sec
typed Array with uInt8 - Strict 282780.6 Ops/sec
weird boolean - Strict 1754087.0 Ops/sec
uint8 .fill() 1020080.5 Ops/sec
weird boolean - .fill 3869741.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