4 ms·
I hadn't heard of this! It definitely helps with startup time. $ time hg help > /dev/null real 0m0.232s user 0m0.196s sys 0m0.033s $ time
by jlebar 7y ago
I hadn't heard of this! It definitely helps with startup time.
$ time hg help > /dev/null
real 0m0.232s
user 0m0.196s
sys 0m0.033s
$ time chg help > /dev/null
real 0m0.081s
user 0m0.003s
sys 0m0.000s
But because an empty `hg diff` takes 1.3s for me, taking 150ms off the top isn't a big help.
$ time hg diff
real 0m1.383s
user 0m0.558s
sys 0m0.333s
$ time chg diff
real 0m1.224s
user 0m0.003s
sys 0m0.007s