@@ 48-50 (lines=3) @@ | ||
45 | $time = $this->benchHooks(); |
|
46 | $this->output( 'Loaded (one) hook: ' . $time . "\n" ); |
|
47 | ||
48 | for ( $i = 0; $i < 9; $i++ ) { |
|
49 | $wgHooks['Test'][] = [ $this, 'test' ]; |
|
50 | } |
|
51 | $time = $this->benchHooks(); |
|
52 | $this->output( 'Loaded (ten) hook: ' . $time . "\n" ); |
|
53 | ||
@@ 54-56 (lines=3) @@ | ||
51 | $time = $this->benchHooks(); |
|
52 | $this->output( 'Loaded (ten) hook: ' . $time . "\n" ); |
|
53 | ||
54 | for ( $i = 0; $i < 90; $i++ ) { |
|
55 | $wgHooks['Test'][] = [ $this, 'test' ]; |
|
56 | } |
|
57 | $time = $this->benchHooks(); |
|
58 | $this->output( 'Loaded (one hundred) hook: ' . $time . "\n" ); |
|
59 | $this->output( "\n" ); |