HomeSoftware Heritage

loader: Reconstruct repo filesystem incrementally at each revision

Description

loader: Reconstruct repo filesystem incrementally at each revision

Instead of creating a from_disk.Directory instance after each replayed
CVS revision by recursively scanning all directories of the repository,
prefer to have a single one as class member kept synchronized with the
recontructed filesystem after each revision replay.

This should improve loader in terms of performance, especially when
delaing with large repositories.

Details

Provenance
anlambertAuthored on Oct 13 2022, 5:30 PM
anlambertPushed on Oct 17 2022, 7:26 PM
Differential Revision
D8682: Improve CVS loader performances
Parents
rDLDCVS734207ba5847: rlog: Skip rlog entry with missing header in RlogConv.parse_rlog
Branches
Unknown
Tags
Unknown
Build Status
Buildable 32345
Build 50660: test-and-buildJenkins console · Jenkins