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 1279515.6 Ops/sec
Array Iteration 4167682.8 Ops/sec
Map Iteration 3568399.8 Ops/sec
Map Iteration (keys) 10113424.0 Ops/sec
Map Iteration (values) 10137321.0 Ops/sec
Set Iteration 10405343.0 Ops/sec
Script Preparation code:
Tests:
  • Object Iteration

  • Array Iteration

  • Map Iteration

  • Map Iteration (keys)

  • Map Iteration (values)

  • Set Iteration