diff options
Diffstat (limited to 'maintenance/benchmarks/bench_if_switch.php')
-rw-r--r-- | maintenance/benchmarks/bench_if_switch.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/maintenance/benchmarks/bench_if_switch.php b/maintenance/benchmarks/bench_if_switch.php index e084661ad3c1..a07af8685cab 100644 --- a/maintenance/benchmarks/bench_if_switch.php +++ b/maintenance/benchmarks/bench_if_switch.php @@ -44,7 +44,9 @@ class BenchIfSwitch extends Benchmarker { ] ); } - // bench function 1 + /** + * bench function 1 + */ protected function doElseIf() { $a = 'z'; if ( $a == 'a' ) { @@ -67,7 +69,9 @@ class BenchIfSwitch extends Benchmarker { } } - // bench function 2 + /** + * bench function 2 + */ protected function doSwitch() { $a = 'z'; switch ( $a ) { |