Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.101 YaBrowser/20.7.0.894 Yowser/2.5 Yptp/1.21 Safari/537.36
Yandex Browser 20
Windows
Desktop
4 years ago
Test name Executions per second
Object 60298.6 Ops/sec
Switch..case 64165.6 Ops/sec
Map 61474.0 Ops/sec
Tests:
  • Object

  • Switch..case

  • Map