typo
authorJoey Hess <joeyh@joeyh.name>
Fri, 22 Nov 2019 23:48:34 +0000 (19:48 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 22 Nov 2019 23:48:34 +0000 (19:48 -0400)
CHANGELOG
doc/devblog/day_609__optimisation.mdwn [new file with mode: 0644]

index f9ec532956ee05e91dd75c13e6f0678536a2c9c8..c762e7ec652d3aeee2485b159bd25df6b0bcc3f7 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,6 @@
 git-annex (7.20191115) UNRELEASED; urgency=medium
 
-  * Sped up many git-annex commands that operare on many files, by 
+  * Sped up many git-annex commands that operate on many files, by 
     avoiding reserialization of keys.
     find is 7% faster; whereis is 3% faster; and git-annex get when
     all files are already present is 5% faster
diff --git a/doc/devblog/day_609__optimisation.mdwn b/doc/devblog/day_609__optimisation.mdwn
new file mode 100644 (file)
index 0000000..d89fd66
--- /dev/null
@@ -0,0 +1,11 @@
+Today, sped up many git-annex commands by around 5%. Often git-annex
+traverses the work tree and deserializes keys to its Key data type, only to
+turn around and do something with a Key that needs it to be serialized
+again. So caching the original serialization of a key avoids that work. I
+had started on this in January but had to throw my first attempt away.
+
+The big bytestring conversion in January only yielded a 5-15% speedup,
+so an extra 5% is a nice bonus for so relativly little work today.
+It also feels like this optimisation approach is nearly paid out though;
+only converting all filepath operations to bytestrings seems likely to
+yield a similar widespread improvement.