Mercurial > hg
comparison tests/test-setdiscovery.t @ 47024:8fcc0a829f3d
chg: pass --no-profile to disable profiling when starting hg serve
If profiling is enabled via global/user config (as far as I can tell, this
doesn't affect use of the --profile flag, but it probably does affect --config
profiling.enabled=1), then the profiling data can be *cumulative* for the
lifetime of the chg process.
This leads to some "interesting" results where hg claims the walltime is
something like 200s on a command that took only a second or two to run. Worse,
however, is that with at least some profilers (such as the default "stat"
profiler), this can cause a large slowdown while generating the profiler output.
Differential Revision: https://phab.mercurial-scm.org/D10470
author | Kyle Lippincott <spectral@google.com> |
---|---|
date | Fri, 16 Apr 2021 16:21:26 -0700 |
parents | 67a2ecea8bd9 |
children | f054a557aab8 |
comparison
equal
deleted
inserted
replaced
47023:a2bf93ab3014 | 47024:8fcc0a829f3d |
---|---|
1534 > --config blackbox.track='command commandfinish discovery' | 1534 > --config blackbox.track='command commandfinish discovery' |
1535 comparing with r2 | 1535 comparing with r2 |
1536 searching for changes | 1536 searching for changes |
1537 101 102 103 104 105 106 107 108 109 110 (no-eol) | 1537 101 102 103 104 105 106 107 108 109 110 (no-eol) |
1538 $ hg -R r1 --config extensions.blackbox= blackbox --config blackbox.track= | 1538 $ hg -R r1 --config extensions.blackbox= blackbox --config blackbox.track= |
1539 * @5d0b986a083e0d91f116de4691e2aaa54d5bbec0 (*)> serve --cmdserver chgunix * (glob) (chg !) | 1539 * @5d0b986a083e0d91f116de4691e2aaa54d5bbec0 (*)> serve --no-profile --cmdserver chgunix * (glob) (chg !) |
1540 * @5d0b986a083e0d91f116de4691e2aaa54d5bbec0 (*)> -R r1 outgoing r2 *-T{rev} * --config *extensions.blackbox=* (glob) | 1540 * @5d0b986a083e0d91f116de4691e2aaa54d5bbec0 (*)> -R r1 outgoing r2 *-T{rev} * --config *extensions.blackbox=* (glob) |
1541 * @5d0b986a083e0d91f116de4691e2aaa54d5bbec0 (*)> found 101 common and 1 unknown server heads, 1 roundtrips in *.????s (glob) | 1541 * @5d0b986a083e0d91f116de4691e2aaa54d5bbec0 (*)> found 101 common and 1 unknown server heads, 1 roundtrips in *.????s (glob) |
1542 * @5d0b986a083e0d91f116de4691e2aaa54d5bbec0 (*)> -R r1 outgoing r2 *-T{rev} * --config *extensions.blackbox=* exited 0 after *.?? seconds (glob) | 1542 * @5d0b986a083e0d91f116de4691e2aaa54d5bbec0 (*)> -R r1 outgoing r2 *-T{rev} * --config *extensions.blackbox=* exited 0 after *.?? seconds (glob) |
1543 $ cd .. | 1543 $ cd .. |
1544 | 1544 |