Niklas Hambüchen wrote in message <
50904E6C...@nh2.me>:
> why is it that bup index being run the first time runs in 18s for me,
> but subsequent runs take 36s?
Hi Niklas,
This is not an answer, but if you are providing lot of paths to bup index,
you can try my patch here
https://groups.google.com/forum/?fromgroups=#!topic/bup-list/SxS3-P4Oars
it should improve the speed of bup index.
As the commit says:
The current implementation of bup index go through each path in paths, and
call update_index on it. Each update_index write a temporary index
corresponding to this path, and merge this index to the bupindex. When
passing a lot of paths we get a lot of merges and this is slow.
I modified the code so that update_index now take the list of paths. We
then iterate through the path inside update_index to write in the temporary
index, so that we only have to merge to the bupindex once.
and in my setup (where I use a script to generate the files I want to
save), so I typically call bup index with a lot of files, it gives a hudge
speed-up.