Skip to content

Commit

Permalink
tests: Benchmarks revs update.
Browse files Browse the repository at this point in the history
(cherry picked from commit 302ee44f83fa1f023a04891153d316f44e48fde6)
  • Loading branch information
drupol committed Jan 5, 2022
1 parent 8117ebb commit 3033091
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: make install-benchmarks

- name: Run benchmarks baseline
run: "vendor/bin/phpbench run --php-config='opcache.enable_cli: true' --report=benchmark_compare --tag=main_branch --progress=plain --retry-threshold=2 --ansi --group=internal tests/benchmarks"
run: "vendor/bin/phpbench run --php-config='opcache.enable_cli: true' --report=aggregate --tag=main_branch --progress=plain --retry-threshold=2 --ansi --group=internal tests/benchmarks"

- name: Clear vendor files
run: |
Expand Down
2 changes: 1 addition & 1 deletion tests/benchmarks/CachingIteratorsAggregateBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* @Groups({"CachingIteratorsAggregateBench"})
* @Iterations(15)
* @Warmup(10)
* @Revs(100)
* @Revs({10, 50, 100, 150})
*/
class CachingIteratorsAggregateBench
{
Expand Down
4 changes: 2 additions & 2 deletions tests/benchmarks/ClosureIteratorAggregateBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@

/**
* @Groups({"internal"})
* @Iterations(10)
* @Iterations(5)
* @Warmup(5)
* @Revs(100)
* @Revs({10, 50, 100, 150})
*/
final class ClosureIteratorAggregateBench
{
Expand Down
4 changes: 2 additions & 2 deletions tests/benchmarks/ClosureIteratorBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@

/**
* @Groups({"internal"})
* @Iterations(10)
* @Iterations(5)
* @Warmup(5)
* @Revs(100)
* @Revs({10, 50, 100, 150})
*/
final class ClosureIteratorBench
{
Expand Down
4 changes: 2 additions & 2 deletions tests/benchmarks/IterableIteratorAggregateBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

/**
* @Groups({"internal"})
* @Iterations(10)
* @Iterations(5)
* @Warmup(5)
* @Revs(100)
* @Revs({10, 50, 100, 150})
*/
final class IterableIteratorAggregateBench
{
Expand Down
4 changes: 2 additions & 2 deletions tests/benchmarks/IterableIteratorBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

/**
* @Groups({"internal"})
* @Iterations(10)
* @Iterations(5)
* @Warmup(5)
* @Revs(100)
* @Revs({10, 50, 100, 150})
*/
final class IterableIteratorBench
{
Expand Down
4 changes: 2 additions & 2 deletions tests/benchmarks/PackIterableAggregateBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

/**
* @Groups({"internal"})
* @Iterations(10)
* @Iterations(5)
* @Warmup(5)
* @Revs(100)
* @Revs({10, 50, 100, 150})
*/
final class PackIterableAggregateBench
{
Expand Down
4 changes: 2 additions & 2 deletions tests/benchmarks/PausableIteratorAggregateBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

/**
* @Groups({"internal"})
* @Iterations(10)
* @Iterations(5)
* @Warmup(5)
* @Revs(100)
* @Revs({10, 50, 100, 150})
*/
final class PausableIteratorAggregateBench
{
Expand Down
4 changes: 2 additions & 2 deletions tests/benchmarks/RandomIterableAggregateBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

/**
* @Groups({"internal"})
* @Iterations(10)
* @Iterations(5)
* @Warmup(5)
* @Revs(100)
* @Revs({10, 50, 100, 150})
*/
class RandomIterableAggregateBench
{
Expand Down
4 changes: 2 additions & 2 deletions tests/benchmarks/SimpleCachingIteratorsAggregateBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

/**
* @Groups({"internal"})
* @Iterations(10)
* @Iterations(5)
* @Warmup(5)
* @Revs(100)
* @Revs({10, 50, 100, 150})
*/
final class SimpleCachingIteratorsAggregateBench
{
Expand Down
4 changes: 2 additions & 2 deletions tests/benchmarks/UnpackIterableAggregateBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

/**
* @Groups({"internal"})
* @Iterations(10)
* @Iterations(5)
* @Warmup(5)
* @Revs(100)
* @Revs({10, 50, 100, 150})
*/
final class UnpackIterableAggregateBench
{
Expand Down

0 comments on commit 3033091

Please sign in to comment.