Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0
Firefox 91
Windows
Desktop
3 years ago
Test name Executions per second
Object random string keys 1855.3 Ops/sec
Object random numeric smi keys 2278.4 Ops/sec
Object sequential string keys 2000.1 Ops/sec
Object sequential numeric smi keys 18084.4 Ops/sec
Map random string keys 1140.4 Ops/sec
Map random numeric smi keys 1511.4 Ops/sec
Map sequential string keys 1387.8 Ops/sec
Map sequential numeric smi keys 1419.8 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


;