From 5b3bed33c55c644e16d8eb78ff24ef441c3a68d3 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 10 Jul 2020 16:00:39 -0400 Subject: [PATCH] devblog --- doc/devblog/day_626__performance_week.mdwn | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 doc/devblog/day_626__performance_week.mdwn diff --git a/doc/devblog/day_626__performance_week.mdwn b/doc/devblog/day_626__performance_week.mdwn new file mode 100644 index 0000000000..88baa0f869 --- /dev/null +++ b/doc/devblog/day_626__performance_week.mdwn @@ -0,0 +1,18 @@ +I've spent all week working on performance. It started when Lukey +found a way to use git cat-file --buffer to make --all faster. +Once implemented, that turned out to be a 2x to 16x speedup in seek time. + +I felt that same approach could probably also speed up other parts of +git-annex that use git cat-file, so spent another 4 days finding ways to do +that. Some of the ideas are not implemented yet, but I landed a 2x speedup +today, to all git-annex commands that seek annexed files to work on. + +Oh and also there used to be a git-annex branch read cache, but it got +removed many years ago, and I forgot it had been removed. Which does not +lead to writing the fastest code. Bringing the cache back makes some things +another 20% faster. + +---- + +This work was sponsored by Mark Reidenbach, Jake Vosloo, and Graham Spencer +[on Patreon](https://patreon.com/joeyh).