git-annex/Remote/Helper
Joey Hess fe1b2dfb4b
speed up very first tree import by 25%
Reading from the cidsdb is responsible for about 25% of the runtime of
an import. Since the cidmap is used to store the same information in
ram, the cidsdb is not written to during an import any longer. And so,
if it started off empty (and updateFromLog wasn't needed), those reads
can just be skipped.

This is kind of a cheesy optimisation, since after any import from any
special remote, the database will no longer be empty, so it's a single
use optimisation. But it's probably not uncommon to start by importing a
lot of files, and it can save a lot of time then.

Sponsored-by: Brock Spratlen on Patreon
2023-06-02 13:30:30 -04:00
..
Chunked filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
AWS.hs correct obsolete comment 2023-01-31 14:42:26 -04:00
Chunked.hs Fix ambigous typos 2023-03-17 15:14:47 -04:00
Encryptable.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
ExportImport.hs speed up very first tree import by 25% 2023-06-02 13:30:30 -04:00
Git.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
Hooks.hs avoid annexFileMode special case 2023-04-27 15:58:37 -04:00
Http.hs git-lfs gitlab interoperability fix 2021-11-10 13:51:11 -04:00
Messages.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
P2P.hs remove git-annex-shell compat code 2021-10-11 15:36:51 -04:00
ReadOnly.hs convert renameExport to throw exception 2020-05-15 15:08:09 -04:00
Special.hs incremental verification for retrieval from all export remotes 2022-05-09 13:49:33 -04:00
Ssh.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
ThirdPartyPopulated.hs ImportableContentsChunkable 2021-10-08 13:15:22 -04:00