Mercurial > public > mercurial-scm > hg
diff tests/test-bundle-type.t @ 46776: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 | 8d72e29ad1e0 |
children | 1fd7520e4961 |
line wrap: on
line diff
--- a/tests/test-bundle-type.t Sat Mar 13 08:59:03 2021 +0100 +++ b/tests/test-bundle-type.t Sun Nov 08 20:17:09 2020 +0100 @@ -201,6 +201,15 @@ (see 'hg help bundlespec' for supported values for --type) [10] +zstd supports threading + + $ hg init test-compthreads + $ cd test-compthreads + $ hg debugbuilddag +3 + $ hg --config experimental.bundlecompthreads=1 bundle -a -t zstd-v2 zstd-v2-threaded.hg + 3 changesets found + $ cd .. + #else zstd is a valid engine but isn't available