git-annex/Remote
Joey Hess 067aabdd48
wip RawFilePath 2x git-annex find speedup
Finally builds (oh the agoncy of making it build), but still very
unmergable, only Command.Find is included and lots of stuff is badly
hacked to make it compile.

Benchmarking vs master, this git-annex find is significantly faster!
Specifically:

	num files	old	new	speedup
	48500		4.77	3.73	28%
	12500		1.36	1.02	66%
	20		0.075	0.074	0% (so startup time is unchanged)

That's without really finishing the optimization. Things still to do:

* Eliminate all the fromRawFilePath, toRawFilePath, encodeBS,
  decodeBS conversions.
* Use versions of IO actions like getFileStatus that take a RawFilePath.
* Eliminate some Data.ByteString.Lazy.toStrict, which is a slow copy.
* Use ByteString for parsing git config to speed up startup.

It's likely several of those will speed up git-annex find further.
And other commands will certianly benefit even more.
2019-11-26 16:01:58 -04:00
..
Directory update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
External cache the serialization of a Key 2019-11-22 17:49:16 -04:00
Helper wip RawFilePath 2x git-annex find speedup 2019-11-26 16:01:58 -04:00
Rsync avoid rsync/gcrypt ssh startup delay with -J 2019-06-13 11:16:38 -04:00
WebDAV update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Adb.hs add RemoteStateHandle 2019-10-14 13:51:42 -04:00
BitTorrent.hs cache the serialization of a Key 2019-11-22 17:49:16 -04:00
Bup.hs add RemoteStateHandle 2019-10-14 13:51:42 -04:00
Ddar.hs add RemoteStateHandle 2019-10-14 13:51:42 -04:00
Directory.hs wip RawFilePath 2x git-annex find speedup 2019-11-26 16:01:58 -04:00
External.hs cache the serialization of a Key 2019-11-22 17:49:16 -04:00
GCrypt.hs remove some unncessary uses of warningIO 2019-11-12 10:07:27 -04:00
Git.hs wip RawFilePath 2x git-annex find speedup 2019-11-26 16:01:58 -04:00
GitLFS.hs cache the serialization of a Key 2019-11-22 17:49:16 -04:00
Glacier.hs cache the serialization of a Key 2019-11-22 17:49:16 -04:00
Hook.hs add RemoteStateHandle 2019-10-14 13:51:42 -04:00
List.hs wip RawFilePath 2x git-annex find speedup 2019-11-26 16:01:58 -04:00
P2P.hs add RemoteStateHandle 2019-10-14 13:51:42 -04:00
Rsync.hs wip RawFilePath 2x git-annex find speedup 2019-11-26 16:01:58 -04:00
S3.hs cache the serialization of a Key 2019-11-22 17:49:16 -04:00
Tahoe.hs add RemoteStateHandle 2019-10-14 13:51:42 -04:00
Web.hs cache the serialization of a Key 2019-11-22 17:49:16 -04:00
WebDAV.hs add RemoteStateHandle 2019-10-14 13:51:42 -04:00