Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/110.0
Firefox 110
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Object Iteration 20534388.0 Ops/sec
Array Iteration 22216926.0 Ops/sec
Map Iteration 4598078.0 Ops/sec
Map Iteration (keys) 5575835.0 Ops/sec
Map Iteration (values) 5566465.0 Ops/sec
Set Iteration 6135464.0 Ops/sec
Script Preparation code:
Tests:
  • Object Iteration

  • Array Iteration

  • Map Iteration

  • Map Iteration (keys)

  • Map Iteration (values)

  • Set Iteration