From 2a2fa1ca8d68f81898b836976b3ccbbf2f9d5580 Mon Sep 17 00:00:00 2001 From: Felix Becker Date: Sun, 11 Nov 2018 02:52:10 +0100 Subject: [PATCH] chore: log progress in parsing benchmark --- benchmarks/parsing.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/parsing.php b/benchmarks/parsing.php index 0617c75..516de40 100644 --- a/benchmarks/parsing.php +++ b/benchmarks/parsing.php @@ -45,8 +45,8 @@ foreach($frameworks as $framework) { if (filesize($testCaseFile) > 10000) { continue; } - if ($idx % 1000 === 0) { - echo "$idx\n"; + if ($idx % 500 === 0) { + echo $idx . '/' . count($testProviderArray) . PHP_EOL; } $fileContents = file_get_contents($testCaseFile);