bdelta: add '--all-in-ram' commandline option #1

Merged
merged 1 commit into from Sep 28, 2012

Conversation

Projects
None yet
2 participants
Contributor

trofi commented Sep 26, 2012

$ time ./bdelta /tmp/foo.{old,new} foo-old-to-new.bdt; time ./bdelta --all-in-ram /tmp/foo.{old,new} foo-old-to-new.bdt

real 3m19.176s
user 2m1.324s
sys 1m17.076s

real 1m46.074s
user 1m41.454s
sys 0m3.669s

File sizes are ~80 megabytes each.
The option greatly reduces I/O overhead (sys time) and speeds up delta creation.

Signed-off-by: Sergei Trofimovich slyfox@gentoo.org

@trofi trofi bdelta: add '--all-in-ram' commandline option
$ time ./bdelta /tmp/foo.{old,new} foo-old-to-new.bdt;  time ./bdelta --all-in-ram /tmp/foo.{old,new} foo-old-to-new.bdt

real    3m19.176s
user    2m1.324s
sys     1m17.076s

real    1m46.074s
user    1m41.454s
sys     0m3.669s

File sizes are ~80 megabytes each.
The option greatly reduces I/O overhead (sys time) and speeds up delta creation.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
47d4b35

@jjwhitney jjwhitney added a commit that referenced this pull request Sep 28, 2012

@jjwhitney jjwhitney Merge pull request #1 from trofi/master
bdelta: add '--all-in-ram' commandline option
c739523

@jjwhitney jjwhitney merged commit c739523 into jjwhitney:master Sep 28, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment