clone config.hdf from slow to large_memory
It failed again with my other config.hdf commit already in the tree. Lets try the whole config I guess...
Esse commit está contido em:
@@ -1,3 +1,30 @@
|
||||
Eval {
|
||||
AllowHhas = true
|
||||
}
|
||||
|
||||
Log {
|
||||
AlwaysLogUnhandledExceptions = false
|
||||
RuntimeErrorReportingLevel = 0
|
||||
}
|
||||
|
||||
ErrorHandling {
|
||||
EnableHipHopErrors = false
|
||||
}
|
||||
|
||||
Server {
|
||||
Port = 8080
|
||||
APC.AllowObject = true
|
||||
|
||||
AllowedFiles {
|
||||
0 = string
|
||||
}
|
||||
}
|
||||
|
||||
VirtualHost {
|
||||
default {
|
||||
}
|
||||
}
|
||||
|
||||
Repo {
|
||||
Local.Mode = r-
|
||||
Central.Path = /var/facebook/hhvm/cli.hhbc
|
||||
|
||||
@@ -10,9 +10,7 @@ function main($num) {
|
||||
$start = microtime(true);
|
||||
|
||||
echo "Starting $num procs\n";
|
||||
for ($i = 0;
|
||||
$i < $num;
|
||||
$i++) {
|
||||
for ($i = 0; $i < $num; $i++) {
|
||||
$handles[] = proc_open($cmd." $i", array(), $pipes);
|
||||
}
|
||||
while ($handles) {
|
||||
@@ -27,11 +25,11 @@ function main($num) {
|
||||
echo "Done $num procs\n";
|
||||
return microtime(true) - $start;
|
||||
}
|
||||
|
||||
if (count($argv) > 1) {
|
||||
foobar($argv[1]);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
$x10 = main(10);
|
||||
$x200 = main(200);
|
||||
echo $x10 * 20 < $x200 ? "Failed" : "Passed", "\n";
|
||||
echo $x10 * 20 < $x200 ? "Failed since $x10 * 20 >= $x200" : "Passed", "\n";
|
||||
}
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário