diff --git a/phpBB/develop/benchmark.php b/phpBB/develop/benchmark.php index bcfbbdb63e..d4ab617d83 100644 --- a/phpBB/develop/benchmark.php +++ b/phpBB/develop/benchmark.php @@ -48,16 +48,22 @@ $u = $users; $starttime = microtime(); +$usercreationcount = 0; while($users > 0) { $name = "testuser_" . substr(md5(uniqid(rand())), 0, 10); if (make_user($name)) { - echo "Created user: $name
\n"; + $usercreationcount++; + $users--; + } + if (($usercreationcount % 500) == 0) + { + echo "status: $usercreationcount
\n"; flush(); } - $users--; + } if ($posts > 0) @@ -134,7 +140,7 @@ function filldb($newposts) if (($i % 1000) == 0) { - echo "ping.pong.
"; + echo "status: $i
"; flush(); }