44
55namespace benchmark ;
66
7+ use PhpBench \Benchmark \Metadata \Annotations \Revs ;
8+ use PhpBench \Benchmark \Metadata \Annotations \Warmup ;
79use phpDocumentor \Reflection \TypeResolver ;
810
911/**
@@ -21,13 +23,6 @@ public function setup()
2123 /**
2224 * @Warmup(2)
2325 * @Revs(10000)
24- * @Executor(
25- * "blackfire",
26- * assertions={
27- * {"expression"="main.peak_memory < 11kb", "title"="memory peak"},
28- * "main.wall_time < 300us"
29- * }
30- * )
3126 */
3227 public function benchResolveSingleType () : void
3328 {
@@ -37,13 +32,6 @@ public function benchResolveSingleType() : void
3732 /**
3833 * @Warmup(2)
3934 * @Revs(10000)
40- * @Executor(
41- * "blackfire",
42- * assertions={
43- * {"expression"="main.peak_memory < 11kb", "title"="memory peak"},
44- * "main.wall_time < 0.5ms"
45- * }
46- * )
4735 */
4836 public function benchResolveCompoundType () : void
4937 {
@@ -53,13 +41,6 @@ public function benchResolveCompoundType() : void
5341 /**
5442 * @Warmup(2)
5543 * @Revs(10000)
56- * @Executor(
57- * "blackfire",
58- * assertions={
59- * {"expression"="main.peak_memory < 11kb", "title"="memory peak"},
60- * "main.wall_time < 300us"
61- * }
62- * )
6344 */
6445 public function benchResolveArrayType () : void
6546 {
@@ -69,13 +50,6 @@ public function benchResolveArrayType() : void
6950 /**
7051 * @Warmup(2)
7152 * @Revs(10000)
72- * @Executor(
73- * "blackfire",
74- * assertions={
75- * {"expression"="main.peak_memory < 11kb", "title"="memory peak"},
76- * "main.wall_time < 300us"
77- * }
78- * )
7953 */
8054 public function benchResolveCompoundArrayType () : void
8155 {
@@ -85,13 +59,6 @@ public function benchResolveCompoundArrayType() : void
8559 /**
8660 * @Warmup(2)
8761 * @Revs(10000)
88- * @Executor(
89- * "blackfire",
90- * assertions={
91- * {"expression"="main.peak_memory < 11kb", "title"="memory peak"},
92- * "main.wall_time < 1ms"
93- * }
94- * )
9562 */
9663 public function benchResolveCompoundArrayWithDefinedTypes () : void
9764 {
0 commit comments