diff options
author | Jean Delvare <jdelvare@suse.de> | 2014-03-02 16:29:24 +0100 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2014-03-02 16:29:24 +0100 |
commit | e052a2d22569f56a30285716da11b4e0a1eed052 (patch) | |
tree | 943650a35073b98590b841c70b676f9527474946 /test/three.test | |
parent | 6c9a83e0cb98eb6023269c620c528466796e1c25 (diff) | |
download | quilt-e052a2d22569f56a30285716da11b4e0a1eed052.tar.gz |
Boost the speed of the series, applied and unapplied commands
The current implementation of the series, applied and unapplied
commands performs rather poorly, especially on large patch sets. To
make things worse, bash completion makes use of these commands, so
it becomes next to unusable on large patch sets.
Instead of looping over each patch, use the power of printf to print
everything in one go. Performance gains on a 15k patch series are
breathtaking:
series: 189.4 s -> 0.6 s
series -v: 92.9 s -> 0.6 s
applied: 3.5 s -> 0.1 s
unapplied: 3.9 s -> 0.1 s
Diffstat (limited to 'test/three.test')
0 files changed, 0 insertions, 0 deletions