Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Chrome 129
Linux
Desktop
3 months ago
Test name Executions per second
Object Iteration 1339808.5 Ops/sec
Array Iteration 12942405.0 Ops/sec
Map Iteration 8999085.0 Ops/sec
Map Iteration (keys) 10337179.0 Ops/sec
Map Iteration (values) 10284514.0 Ops/sec
Set Iteration 10283693.0 Ops/sec
Script Preparation code:
Tests:
  • Object Iteration

  • Array Iteration

  • Map Iteration

  • Map Iteration (keys)

  • Map Iteration (values)

  • Set Iteration