Skip to content

Commit 9411ff0

Browse files
committed
20 repeats should be enough
1 parent 6b6b5ea commit 9411ff0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmark/benchmark.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function runSymfonyDemo(bool $jit): array {
6464
runPhpCommand([$dir . '/bin/console', 'cache:clear']);
6565
runPhpCommand([$dir . '/bin/console', 'cache:warmup']);
6666

67-
return runValgrindPhpCgiCommand('symfony-demo', [$dir . '/public/index.php'], cwd: $dir, jit: $jit, repeat: 100);
67+
return runValgrindPhpCgiCommand('symfony-demo', [$dir . '/public/index.php'], cwd: $dir, jit: $jit, repeat: 20);
6868
}
6969

7070
function runWordpress(bool $jit): array {
@@ -88,7 +88,7 @@ function runWordpress(bool $jit): array {
8888
// Warmup
8989
runPhpCommand([$dir . '/index.php'], $dir);
9090

91-
return runValgrindPhpCgiCommand('wordpress', [$dir . '/index.php'], cwd: $dir, jit: $jit, repeat: 100);
91+
return runValgrindPhpCgiCommand('wordpress', [$dir . '/index.php'], cwd: $dir, jit: $jit, repeat: 20);
9292
}
9393

9494
function runPhpCommand(array $args, ?string $cwd = null): ProcessResult {

0 commit comments

Comments
 (0)