Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Chrome 116
Windows
Desktop
one year ago
Test name Executions per second
Array get 3046843.8 Ops/sec
Object get 3100921.0 Ops/sec
Array new and get 3120158.5 Ops/sec
Object set and get 589026496.0 Ops/sec
Script Preparation code:
Tests:
  • Array get

  • Object get

  • Array new and get

  • Object set and get