HomePhabricator

rhg: faster hg cat when many files are requested

Authored by aalekseyev.

Description

rhg: faster hg cat when many files are requested

With this patch I'm seeing a ~39ms improvement (220ms -> 181ms) when
running [hg cat] on ~220 files in a ~260k-file repo.

The timing for [hg cat] on an individual file becomes slightly worse
(losing 5ms: 145ms -> 150ms).
A follow-up commit is intended to improve that.

Differential Revision: https://phab.mercurial-scm.org/D11615

Details

Committed
aalekseyevOct 4 2021, 2:06 PM
Differential Revision
D11615: rhg: faster hg cat when many files are requested
Parents
rHGb4f83c9e7905: dirstate-v2: Add support when Rust is not enabled
Branches
Unknown
Tags
Unknown