diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2016-10-24 13:26:58 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2016-10-26 22:54:48 +0200 |
commit | 6dea5ec823c861de0a1490b2c6f9573e329e7e44 (patch) | |
tree | eb484e2e67aac5190a1534cc42b7e3695ad298d6 /org.eclipse.jgit.http.test | |
parent | d1bc809ccec210b82b0795fa9a7a0f988e330d81 (diff) | |
download | jgit-6dea5ec823c861de0a1490b2c6f9573e329e7e44.tar.gz jgit-6dea5ec823c861de0a1490b2c6f9573e329e7e44.zip |
Speedup CleanFilter by transferring data in chunks of 8k
Transferring data byte per byte is slow, running add with CleanFilter on
a 2.9MB file takes 20 seconds. Using a buffer of 8k shrinks this time to
70ms.
Change-Id: I3bc2d8c11fe6cfaffcc99dc2a00643e01ac4e9cc
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.http.test')
0 files changed, 0 insertions, 0 deletions