git-annex/Remote
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
..
Directory improve createDirectoryUnder to allow alternate top directories 2022-08-12 12:52:37 -04:00
External filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
Helper speed up very first tree import by 25% 2023-06-02 13:30:30 -04:00
List auto-init autoenable=yes 2020-05-27 12:40:35 -04:00
Rsync add newtypes for QuickCheck to avoid LANG=C issues 2020-11-09 20:21:18 -04:00
WebDAV Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Adb.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
BitTorrent.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00
Borg.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Bup.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Ddar.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00
Directory.hs fix build warnings on windows 2023-03-21 18:41:23 -04:00
External.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
GCrypt.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
Git.hs Honor --force option when operating on a local git remote 2023-04-19 12:53:58 -04:00
GitLFS.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
Glacier.hs added an optional cost= configuration to all special remotes 2023-01-12 13:42:28 -04:00
Hook.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
HttpAlso.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00
List.hs start borg special remote 2020-12-18 16:03:51 -04:00
P2P.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
Rsync.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
S3.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
Tahoe.hs added an optional cost= configuration to all special remotes 2023-01-12 13:42:28 -04:00
Web.hs Typo: sansative -> sensitive 2023-03-17 15:14:50 -04:00
WebDAV.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00