From 1b30aea557d42b0c621717562f81cee26c7a7bd8 Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 11 Mar 2012 00:36:57 +0000 Subject: [PATCH] compressed coverage logs --- core/util.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/util.inc.php b/core/util.inc.php index fdf97a31..a01c52b2 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -1276,7 +1276,7 @@ function _end_coverage() { $n = 0; $t = time(); 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()))); } } ?>