comparison tests/test-pullbundle.t @ 4133:1293625d274d

pullbundle: add an output about the time spent slicing the set This will be useful to monitor overall performance.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 23 Sep 2018 22:58:11 +0200
parents 788798a9a159
children ab77f37fedf3
comparison
equal deleted inserted replaced
4132:afc933d32085 4133:1293625d274d
30 30
31 31
32 $ hg -R client pull server -r 1234 --debug --config devel.bundle2.debug=yes | grep -v 'add changeset' 32 $ hg -R client pull server -r 1234 --debug --config devel.bundle2.debug=yes | grep -v 'add changeset'
33 pulling from server 33 pulling from server
34 query 1; heads 34 query 1; heads
35 pullbundle-cache: "missing" set sliced into 6 subranges in *.* seconds (glob)
35 1024 changesets found 36 1024 changesets found
36 128 changesets found 37 128 changesets found
37 64 changesets found 38 64 changesets found
38 16 changesets found 39 16 changesets found
39 2 changesets found 40 2 changesets found
255 $ hg -R client pull server --debug --config devel.bundle2.debug=yes | grep -v 'add changeset' 256 $ hg -R client pull server --debug --config devel.bundle2.debug=yes | grep -v 'add changeset'
256 pulling from server 257 pulling from server
257 query 1; heads 258 query 1; heads
258 searching for changes 259 searching for changes
259 all local heads known remotely 260 all local heads known remotely
261 pullbundle-cache: "missing" set sliced into 16 subranges in *.* seconds (glob)
260 16 changesets found 262 16 changesets found
261 29 changesets found 263 29 changesets found
262 256 changesets found 264 256 changesets found
263 256 changesets found 265 256 changesets found
264 64 changesets found 266 64 changesets found
682 684
683 685
684 $ hg -R client2 pull server -r 1234 --debug --config devel.bundle2.debug=yes --traceback| grep -v 'add changeset' 686 $ hg -R client2 pull server -r 1234 --debug --config devel.bundle2.debug=yes --traceback| grep -v 'add changeset'
685 pulling from server 687 pulling from server
686 query 1; heads 688 query 1; heads
689 pullbundle-cache: "missing" set sliced into 6 subranges in *.* seconds (glob)
687 1024 changesets found in caches 690 1024 changesets found in caches
688 128 changesets found in caches 691 128 changesets found in caches
689 64 changesets found in caches 692 64 changesets found in caches
690 16 changesets found in caches 693 16 changesets found in caches
691 2 changesets found in caches 694 2 changesets found in caches
895 $ hg -R client2 pull server --debug --config devel.bundle2.debug=yes | grep -v 'add changeset' 898 $ hg -R client2 pull server --debug --config devel.bundle2.debug=yes | grep -v 'add changeset'
896 pulling from server 899 pulling from server
897 query 1; heads 900 query 1; heads
898 searching for changes 901 searching for changes
899 all local heads known remotely 902 all local heads known remotely
903 pullbundle-cache: "missing" set sliced into 16 subranges in *.* seconds (glob)
900 16 changesets found in caches 904 16 changesets found in caches
901 29 changesets found in caches 905 29 changesets found in caches
902 256 changesets found in caches 906 256 changesets found in caches
903 256 changesets found in caches 907 256 changesets found in caches
904 64 changesets found in caches 908 64 changesets found in caches
1303 1307
1304 1308
1305 $ hg -R client3 pull server -r 1789 --debug --config devel.bundle2.debug=yes | grep -v 'add changeset' 1309 $ hg -R client3 pull server -r 1789 --debug --config devel.bundle2.debug=yes | grep -v 'add changeset'
1306 pulling from server 1310 pulling from server
1307 query 1; heads 1311 query 1; heads
1312 pullbundle-cache: "missing" set sliced into 9 subranges in *.* seconds (glob)
1308 1024 changesets found in caches 1313 1024 changesets found in caches
1309 227 changesets found 1314 227 changesets found
1310 29 changesets found in caches 1315 29 changesets found in caches
1311 128 changesets found 1316 128 changesets found
1312 64 changesets found 1317 64 changesets found
1605 $ hg -R client3 pull server --debug --config devel.bundle2.debug=yes | grep -v 'add changeset' 1610 $ hg -R client3 pull server --debug --config devel.bundle2.debug=yes | grep -v 'add changeset'
1606 pulling from server 1611 pulling from server
1607 query 1; heads 1612 query 1; heads
1608 searching for changes 1613 searching for changes
1609 all local heads known remotely 1614 all local heads known remotely
1615 pullbundle-cache: "missing" set sliced into 16 subranges in *.* seconds (glob)
1610 1 changesets found 1616 1 changesets found
1611 4 changesets found 1617 4 changesets found
1612 8 changesets found 1618 8 changesets found
1613 256 changesets found in caches 1619 256 changesets found in caches
1614 64 changesets found in caches 1620 64 changesets found in caches
2023 ---------------------------------------------- 2029 ----------------------------------------------
2024 2030
2025 $ hg -R client4 pull --verbose server | grep -v 'add changeset' 2031 $ hg -R client4 pull --verbose server | grep -v 'add changeset'
2026 pulling from server 2032 pulling from server
2027 requesting all changes 2033 requesting all changes
2034 pullbundle-cache: "missing" set sliced into 15 subranges in *.* seconds (glob)
2028 1024 changesets found in caches 2035 1024 changesets found in caches
2029 512 changesets found 2036 512 changesets found
2030 256 changesets found in caches 2037 256 changesets found in caches
2031 64 changesets found in caches 2038 64 changesets found in caches
2032 8 changesets found in caches 2039 8 changesets found in caches