mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
Performance improvements
- Use larger buffer size when writing uncompressed files (was libcurl's default of 16 kb, change it to 128 kb) - Uncompress the next MB of data, while it is hashing/writing to disk in seperate thread.
This commit is contained in:
parent
bd37916527
commit
0264af9b73
7 changed files with 57 additions and 20 deletions
3
config.h
3
config.h
|
@ -22,6 +22,9 @@
|
|||
/* Block size used for writes (currently used when using .zip images only) */
|
||||
#define IMAGEWRITER_BLOCKSIZE 1*1024*1024
|
||||
|
||||
/* Block size used with uncompressed images */
|
||||
#define IMAGEWRITER_UNCOMPRESSED_BLOCKSIZE 128*1024
|
||||
|
||||
/* Block size used when reading during verify stage */
|
||||
#define IMAGEWRITER_VERIFY_BLOCKSIZE 128*1024
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue