Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 YaBrowser/22.11.3.838 Yowser/2.5 Safari/537.36
Yandex Browser 22
Linux
Desktop
one year ago
Test name Executions per second
switch case 34074.9 Ops/sec
bounce patttern 34135.1 Ops/sec
ternary 34180.4 Ops/sec
Tests:
  • switch case

  • bounce patttern

  • ternary