Total Complexity | 4 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class SplEnumBench |
||
17 | { |
||
18 | public function __construct() |
||
19 | { |
||
20 | require __DIR__ . '/../common/Fixtures/Month.php'; |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @Revs(1000) |
||
25 | * @Iterations(5) |
||
26 | * |
||
27 | * @return void |
||
28 | */ |
||
29 | public function benchCreateMonth() |
||
30 | { |
||
31 | new \Month(); |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @Revs(1000) |
||
36 | * @Iterations(5) |
||
37 | * |
||
38 | * @return void |
||
39 | */ |
||
40 | public function benchCreateSeptemberMonth() |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * @Revs(1000) |
||
47 | * @Iterations(5) |
||
48 | * |
||
49 | * @return void |
||
50 | */ |
||
51 | public function benchCreateUnstrictMonth() |
||
54 | } |
||
55 | } |
||
56 |