Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Mobile Safari/537.36
Chrome Mobile 127
Android
Mobile
4 months ago
Test name Executions per second
Object Iteration 1205549.2 Ops/sec
Array Iteration 13058296.0 Ops/sec
Map Iteration 8414139.0 Ops/sec
Map Iteration (keys) 9459163.0 Ops/sec
Map Iteration (values) 9654947.0 Ops/sec
Set Iteration 9555933.0 Ops/sec
Script Preparation code:
Tests:
  • Object Iteration

  • Array Iteration

  • Map Iteration

  • Map Iteration (keys)

  • Map Iteration (values)

  • Set Iteration