Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Chrome 116
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
Array get 7629638.5 Ops/sec
Object get 7650413.0 Ops/sec
Array new and get 7634892.0 Ops/sec
Object set and get 790360960.0 Ops/sec
Script Preparation code:
Tests:
  • Array get

  • Object get

  • Array new and get

  • Object set and get