Mercurial > public > mercurial-scm > hg-stable
diff mercurial/configitems.py @ 46789:471cd86c8eb4
bundle: optional multithreaded compression, ATM zstd-only
Compression type can be a huge chunk of "hg bundle", especially when
using the higher compression levels. With level=22 and threads=7, the
NetBSD test repository took 28:39 wall time and 157:47 user time.
Before, level=22 would take 129:20 wall time and 129:07 user time.
Differential Revision: https://phab.mercurial-scm.org/D9283
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Sun, 08 Nov 2020 20:17:09 +0100 |
parents | 0732a7264226 |
children | 2b1b8f3e6510 |
line wrap: on
line diff
--- a/mercurial/configitems.py Sat Mar 13 08:59:03 2021 +0100 +++ b/mercurial/configitems.py Sun Nov 08 20:17:09 2020 +0100 @@ -866,6 +866,31 @@ ) coreconfigitem( b'experimental', + b'bundlecompthreads', + default=None, +) +coreconfigitem( + b'experimental', + b'bundlecompthreads.bzip2', + default=None, +) +coreconfigitem( + b'experimental', + b'bundlecompthreads.gzip', + default=None, +) +coreconfigitem( + b'experimental', + b'bundlecompthreads.none', + default=None, +) +coreconfigitem( + b'experimental', + b'bundlecompthreads.zstd', + default=None, +) +coreconfigitem( + b'experimental', b'changegroup3', default=False, )