Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131
Windows
Desktop
2 days ago
Test name Executions per second
Object Iteration 16058442.0 Ops/sec
Array Iteration 11107837.0 Ops/sec
Map Iteration 18591136.0 Ops/sec
Map Iteration (keys) 22501718.0 Ops/sec
Map Iteration (values) 22455852.0 Ops/sec
Set Iteration 25895216.0 Ops/sec
Script Preparation code:
Tests:
  • Object Iteration

  • Array Iteration

  • Map Iteration

  • Map Iteration (keys)

  • Map Iteration (values)

  • Set Iteration