Re: [PATCH v2 0/4] extend smudge/clean filters with direct file access
- From
Joey Hess <id@joeyh.name>
- Date
- Jun 17, 2016, 21:05 UTC
- Message-ID
- <20160617210550.GA25887@kitenet.net>
- In-Reply-To
- <1466195481-23209-1-git-send-email-joeyh@joeyh.name>
Doing a quick benchmark of this new interface and git-annex's use of it, git checkout of a 1 gigabyte file with git-annex providing the smudge filter took:
19 seconds using the smudge interface
11 seconds using smudgeToFile
0.1 seconds with smudgeToFile and annex.thin set
(while also saving 1 gb of disk space!)So around 2x speed improvement due to not needing to pipe the file content through the filter, even without git-annex's annex.thin tricks.
-- see shy jo