sapling/mercurial/help
Gregory Szorc 8720bcb69f hgweb: config option to control zlib compression level
Before this patch, the HTTP transport protocol would always zlib
compress certain responses (notably "getbundle" wire protocol commands)
at zlib compression level 6.

zlib can be a massive CPU resource sink for servers. Some server
operators may wish to reduce server-side CPU requirements while
requiring more bandwidth. This is common on corporate intranets, for
example. Others may wish to use more CPU but reduce bandwidth.

This patch introduces a config option to allow server operators
to control the zlib compression level.

On the "mozilla-unified" generaldelta repository, setting this
value to "0" (disable compression) results in server-side CPU
utilization for a `hg clone` going from ~180s to ~124s CPU time on
my i7-6700K.  A level of "1" (which increases the transfer size from
~1,074 MB at level 6 to ~1,222 MB) utilizes ~132s CPU time.
2016-08-07 18:09:58 -07:00
..
internals help: don't try to render a section on sub-topics 2016-08-06 17:04:22 -07:00
common.txt doc: make man and html from translated documents 2013-07-03 21:49:43 +09:00
config.txt hgweb: config option to control zlib compression level 2016-08-07 18:09:58 -07:00
dates.txt doc: fix internal date sample (issue4072) 2013-10-29 21:54:49 +02:00
diffs.txt help: refer to user configuration file more consistently 2010-08-27 22:36:35 -04:00
environment.txt ui: drop template aliases by HGPLAIN 2016-03-27 21:05:55 +09:00
extensions.txt doc: make it easier to read how to enable extensions 2013-06-06 14:05:03 -04:00
filesets.txt help: use "hg files" instead of "hg locate" in "hg help filesets" 2014-11-01 02:43:08 +09:00
glossary.txt glossary: fixup use of periods at end of entries 2015-08-28 12:18:12 -04:00
hg-ssh.8.txt hg-ssh: copy doc string to man page 2016-05-06 23:03:41 -07:00
hg.1.txt copyright: update to 2016 2016-01-21 21:15:52 +00:00
hgignore.5.txt copyright: update to 2016 2016-01-21 21:15:52 +00:00
hgignore.txt help: add documentation on include: and subinclude: 2015-05-20 14:54:09 -07:00
hgrc.5.txt copyright: update to 2016 2016-01-21 21:15:52 +00:00
hgweb.txt spelling: trivial spell checking 2015-10-17 00:58:46 +02:00
merge-tools.txt filemerge: switch the default name for internal tools from internal:x to :x 2014-09-28 17:15:28 +02:00
multirevs.txt setup: install translation files as package data 2009-12-01 16:06:10 +01:00
patterns.txt help: add documentation on include: and subinclude: 2015-05-20 14:54:09 -07:00
phases.txt phases: mention how to make secret commits in help 2015-12-22 20:10:22 +00:00
revisions.txt help: branch names primarily denote the tipmost unclosed branch head 2013-11-21 15:17:18 -05:00
revsets.txt revsets: add docs for '%' operator 2016-04-27 14:02:18 -07:00
scripting.txt help/scripting: fix HGENCODING indentation 2015-09-03 00:22:17 -04:00
subrepos.txt files: recurse into subrepos automatically with an explicit path 2015-05-17 22:42:47 -04:00
templates.txt templater: add separate() template function 2016-05-03 09:49:54 -07:00
urls.txt help: stop documentation markup appearing in generated help 2013-05-15 22:19:12 +01:00