##// END OF EJS Templates
convert: when getting file from Perforce concatenate data at the end...
convert: when getting file from Perforce concatenate data at the end As it turned out, even when getting relatively small files, concatenating string data every time when new chunk is received is very inefficient. Maintaining a string list of data chunks and concatenating everything in one go at the end seems much more efficient - in my testing it made getting 40 MB file 7 times faster, whilst converting of a particularly big changelist with some big files went down from 20 hours to 3 hours.

File last commit:

r25522:15c2c580 default
r25882:97a9f760 stable
Show More
progress.py
12 lines | 435 B | text/x-python | PythonLexer
Augie Fackler
Progress bar extension
r10434 # progress.py show progress bars for some actions
#
# Copyright (C) 2010 Augie Fackler <durin42@gmail.com>
#
Augie Fackler
progress: Use the same GPL boilerplate as most hg files
r15772 # This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
Augie Fackler
Progress bar extension
r10434
Pierre-Yves David
progress: deprecate the progress extension...
r25522 """show progress bars for some actions (DEPRECATED)
Augie Fackler
Progress bar extension
r10434
Pierre-Yves David
progress: deprecate the progress extension...
r25522 This extension has been merged into core, you can remove it from your config.
See hg help config.progress for configuration options.
Augie Fackler
Progress bar extension
r10434 """