Mercurial > hg
comparison tests/test-remotefilelog-clone.t @ 46874:84a93fa7ecfd
revlog-compression: use zstd by default (if available)
As see in changeset bb271ec2fbfb, zstd is 20% to 50% faster for reading and
writing.
Use take advantage of the new config behavior to try zstd by default, falling
back to zlib is zstd is not available on that plateform.
Differential Revision: https://phab.mercurial-scm.org/D10326
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 06 Apr 2021 18:55:19 +0200 |
parents | db9e33beb0fb |
children | cc3ad5c3af3b |
comparison
equal
deleted
inserted
replaced
46873:0abf5eba0042 | 46874:84a93fa7ecfd |
---|---|
25 $ cat .hg/requires | 25 $ cat .hg/requires |
26 dotencode | 26 dotencode |
27 exp-remotefilelog-repo-req-1 | 27 exp-remotefilelog-repo-req-1 |
28 fncache | 28 fncache |
29 generaldelta | 29 generaldelta |
30 revlog-compression-zstd (zstd !) | |
30 revlogv1 | 31 revlogv1 |
31 sparserevlog | 32 sparserevlog |
32 store | 33 store |
33 | 34 |
34 $ hg update | 35 $ hg update |
59 $ cat .hg/requires | 60 $ cat .hg/requires |
60 dotencode | 61 dotencode |
61 exp-remotefilelog-repo-req-1 | 62 exp-remotefilelog-repo-req-1 |
62 fncache | 63 fncache |
63 generaldelta | 64 generaldelta |
65 revlog-compression-zstd (zstd !) | |
64 revlogv1 | 66 revlogv1 |
65 sparserevlog | 67 sparserevlog |
66 store | 68 store |
67 $ ls .hg/store/data | 69 $ ls .hg/store/data |
68 4a0a19218e082a343a1b17e5333409af9d98f0f5 | 70 4a0a19218e082a343a1b17e5333409af9d98f0f5 |
108 $ cat shallow3/.hg/requires | 110 $ cat shallow3/.hg/requires |
109 dotencode | 111 dotencode |
110 exp-remotefilelog-repo-req-1 | 112 exp-remotefilelog-repo-req-1 |
111 fncache | 113 fncache |
112 generaldelta | 114 generaldelta |
115 revlog-compression-zstd (zstd !) | |
113 revlogv1 | 116 revlogv1 |
114 sparserevlog | 117 sparserevlog |
115 store | 118 store |