note 54412 added to ref.zlib

From: Date: Sun, 03 Jul 2005 16:45:29 +0000
Subject: note 54412 added to ref.zlib
Groups: php.notes 
Request: Send a blank email to php-notes+get-91370@lists.php.net to get a copy of this message
I tested all the compression levels against a 22k page and here are the results I got (in bytes): off = 22549 1 = 4297 2 = 4279 3 = 4264 4 = 4117 5 = 4097 6 = 4063 7 = 4011 8 = 3998 9 = 3996 Looks like the best bets for zlib.output_compression_level is 1 or 5. The default of 6 is probably OK too. Don't know what the CPU usage difference is between them all though. ---- Manual Page -- http://www.php.net/manual/en/ref.zlib.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+54412 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54412&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54412&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54412&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54412&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54412&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54412&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+54412&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#91370) next »