Run details:
Mozilla/5.0 (Linux; Android 9; SM-G950F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
3 years ago
Test name Executions per second
Object random string keys 88.4 Ops/sec
Object random numeric smi keys 82.0 Ops/sec
Object sequential string keys 89.5 Ops/sec
Object sequential numeric smi keys 89.9 Ops/sec
Map random string keys 88.4 Ops/sec
Map random numeric smi keys 81.5 Ops/sec
Map sequential string keys 87.4 Ops/sec
Map sequential numeric smi keys 86.6 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


;