Index: branches/wmf/1.16wmf4/includes/memcached-client.php |
— | — | @@ -916,7 +916,9 @@ |
917 | 917 | if ( $this->_have_zlib && $this->_compress_enable && |
918 | 918 | $this->_compress_threshold && $len >= $this->_compress_threshold ) |
919 | 919 | { |
920 | | - $c_val = gzcompress( $val, 9 ); |
| 920 | + wfProfileIn( __METHOD__.'-gzcompress' ); |
| 921 | + $c_val = gzcompress( $val, 3 ); |
| 922 | + wfProfileOut( __METHOD__.'-gzcompress' ); |
921 | 923 | $c_len = strlen( $c_val ); |
922 | 924 | |
923 | 925 | if ( $c_len < $len * ( 1 - self::COMPRESSION_SAVINGS ) ) { |