DescriptionBreak metadata into smaller chunks (number of chunks=10) for faster delta generation.
Here are some data for comparison.
Without any metadata processing:
Run Time:
real 2m22.331s
user 1m56.040s
sys 0m6.170s
Payload Size:
756162 bytes
With metadata processing (number of chunks=4):
Run Time:
real 13m48.292s
user 13m10.120s
sys 0m6.920s
Payload Size:
749713 bytes
With metadata processing (number of chunks=10):
Run Time:
real 3m46.242s
user 3m17.880s
sys 0m6.640s
Payload Size:
748464 bytes
BUG=chromium-os:10669
TEST=Unit tests and generated delta payloads between two images that do
not have their metadata preserved. Ran the delta generator with and
without metadata processing and also used different number of chunks for
comparison purposes.
Change-Id: I15ff831b95f43cbebbcca6ecc6a3fbc404b6f065
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=f650219
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|