compressed coverage logs

This commit is contained in:
Shish 2012-03-11 00:36:57 +00:00
parent 2eceb19bcf
commit 1b30aea557

View File

@ -1276,7 +1276,7 @@ function _end_coverage() {
$n = 0; $n = 0;
$t = time(); $t = time();
while(file_exists("$absolute_path/$t.$n.log")) $n++; while(file_exists("$absolute_path/$t.$n.log")) $n++;
file_put_contents("$absolute_path/$t.$n.log", serialize(xdebug_get_code_coverage())); file_put_contents("$absolute_path/$t.$n.log", gzdeflate(serialize(xdebug_get_code_coverage())));
} }
} }
?> ?>