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 937167.6 Ops/sec
Array Iteration 9698607.0 Ops/sec
Map Iteration 6461911.0 Ops/sec
Map Iteration (keys) 7477680.0 Ops/sec
Map Iteration (values) 7331904.0 Ops/sec
Set Iteration 7342077.5 Ops/sec
Script Preparation code:
Tests:
  • Object Iteration

  • Array Iteration

  • Map Iteration

  • Map Iteration (keys)

  • Map Iteration (values)

  • Set Iteration