Mercurial > hg
comparison tests/test-ssh.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 | e96a0a53de20 |
children | cc3ad5c3af3b |
comparison
equal
deleted
inserted
replaced
46873:0abf5eba0042 | 46874:84a93fa7ecfd |
---|---|
62 | 62 |
63 #if no-reposimplestore | 63 #if no-reposimplestore |
64 | 64 |
65 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" --stream ssh://user@dummy/remote local-stream | 65 $ hg clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" --stream ssh://user@dummy/remote local-stream |
66 streaming all changes | 66 streaming all changes |
67 8 files to transfer, 827 bytes of data | 67 8 files to transfer, 827 bytes of data (no-zstd !) |
68 transferred 827 bytes in * seconds (*) (glob) | 68 transferred 827 bytes in * seconds (*) (glob) (no-zstd !) |
69 8 files to transfer, 846 bytes of data (zstd !) | |
70 transferred * bytes in * seconds (* */sec) (glob) (zstd !) | |
69 updating to branch default | 71 updating to branch default |
70 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | 72 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
71 $ cd local-stream | 73 $ cd local-stream |
72 $ hg verify | 74 $ hg verify |
73 checking changesets | 75 checking changesets |