Mercurial > hg
view contrib/chg/chg.1 @ 51597:b4a6a1ff8fce
tags-cache: skip the filternode step if we are not going to use it
When warming the hgtagsfnodescache, we don't need the actual result, so we can
simply skip the part that "filter" fnode we read from the cache. So provide a
quite visible speed up to the top level `hg debugupdatecache` function.
### data-env-vars.name = mozilla-try-2023-03-22-zstd-sparse-revlog
# benchmark.name = hg.debug.debug-update-cache
# bin-env-vars.hg.flavor = default
# bin-env-vars.hg.py-re2-module = default
# benchmark.variants.pre-state = warm
before: 19.947581
after: 18.916804 (-5.17%, -1.03)
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 13 Mar 2024 11:38:28 +0100 |
parents | 283828850c56 |
children |
line wrap: on
line source
.\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH CHG 1 "March 3, 2013" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp <n> insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME chg \- a fast client for Mercurial command server .SH SYNOPSIS .B chg .IR command " [" options "] [" arguments "]..." .br .SH DESCRIPTION The .B chg command is the wrapper for .B hg command. It uses the Mercurial command server to reduce start-up overhead. .SH OPTIONS This program accepts the same command line syntax as the .B hg command. Additionally it accepts the following options. .TP .B \-\-kill\-chg\-daemon Terminate the background command servers. .SH SEE ALSO .BR hg (1) .SH AUTHOR Written by Yuya Nishihara <yuya@tcha.org>.