Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Chrome 134
Mac OS X 10.15.7
Desktop
5 days ago
Test name Executions per second
Uint32 84530504.0 Ops/sec
Normal 81118088.0 Ops/sec
Uint32Array 40118.9 Ops/sec
Uint8Array 124868.1 Ops/sec
Uint8Array (maybe faster due to garbage collector) 85072416.0 Ops/sec
Number 83880536.0 Ops/sec
Instantiation Number 83744984.0 Ops/sec
Script Preparation code:
Tests:
  • Uint32

  • Normal

  • Uint32Array

  • Uint8Array

  • Uint8Array (maybe faster due to garbage collector)

  • Number

  • Instantiation Number