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 34235.9 Ops/sec
bounce patttern 34211.5 Ops/sec
ternary 34117.0 Ops/sec
Tests:
  • switch case

  • bounce patttern

  • ternary