Run details:
Mozilla/5.0 (Linux; Android 7.0; SM-G920F Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.111 Mobile Safari/537.36 OPR/46.1.2246.127339
Opera Mobile 46
Android 7.0
Samsung SM-G920F
6 years ago
Test name Executions per second
Polymorphism 269367.3 Ops/sec
Switch 408114.6 Ops/sec
Script Preparation code:
Tests:
  • Polymorphism

  • Switch