Skip to content

Commit 8437d77

Browse files
committed
improve assertions
1 parent b4fd4d4 commit 8437d77

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/benchmark/TypeResolverBench.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function setup()
2626
* @Executor(
2727
* "blackfire",
2828
* assertions={
29-
* {"expression"="main.peak_memory < 10mb", "title"="test"},
29+
* {"expression"="main.peak_memory < 11kb", "title"="memory peak"},
3030
* "main.wall_time < 1ms"
3131
* }
3232
* )
@@ -42,7 +42,7 @@ public function benchResolveSingleType() : void
4242
* @Executor(
4343
* "blackfire",
4444
* assertions={
45-
* {"expression"="main.peak_memory < 10mb", "title"="test"},
45+
* {"expression"="main.peak_memory < 11kb", "title"="memory peak"},
4646
* "main.wall_time < 50ms"
4747
* }
4848
* )
@@ -58,7 +58,7 @@ public function benchResolveCompoundType() : void
5858
* @Executor(
5959
* "blackfire",
6060
* assertions={
61-
* {"expression"="main.peak_memory < 10mb", "title"="test"},
61+
* {"expression"="main.peak_memory < 11kb", "title"="memory peak"},
6262
* "main.wall_time < 50ms"
6363
* }
6464
* )
@@ -74,7 +74,7 @@ public function benchResolveArrayType() : void
7474
* @Executor(
7575
* "blackfire",
7676
* assertions={
77-
* {"expression"="main.peak_memory < 10mb", "title"="test"},
77+
* {"expression"="main.peak_memory < 11kb", "title"="memory peak"},
7878
* "main.wall_time < 50ms"
7979
* }
8080
* )
@@ -90,7 +90,7 @@ public function benchResolveCompoundArrayType() : void
9090
* @Executor(
9191
* "blackfire",
9292
* assertions={
93-
* {"expression"="main.peak_memory < 10mb", "title"="test"},
93+
* {"expression"="main.peak_memory < 11kb", "title"="memory peak"},
9494
* "main.wall_time < 50ms"
9595
* }
9696
* )

0 commit comments

Comments
 (0)