Run details:
Mozilla/5.0 (Android 12; Mobile; rv:99.0) Gecko/99.0 Firefox/99.0
Firefox Mobile 99
Android
Mobile
2 years ago
Test name Executions per second
Object random string keys 1819.6 Ops/sec
Object random numeric smi keys 1943.9 Ops/sec
Object sequential string keys 2391.1 Ops/sec
Object sequential numeric smi keys 8006.1 Ops/sec
Map random string keys 1742.2 Ops/sec
Map random numeric smi keys 4685.1 Ops/sec
Map sequential string keys 2098.9 Ops/sec
Map sequential numeric smi keys 5636.5 Ops/sec
Script Preparation code:
Tests:
  • Object random string keys

  • Object random numeric smi keys

  • Object sequential string keys

  • Object sequential numeric smi keys

  • Map random string keys

  • Map random numeric smi keys

  • Map sequential string keys

  • Map sequential numeric smi keys