186
186
The real fix is perhaps to use some kind of weave, not so much for
187
187
storage efficiency as for fast annotation and therefore possible
188
annotation-based merge.
b'\\ No newline at end of file'
188
annotation-based merge.
195
Now we have recursive add, add is much faster. Adding all of the
196
linux 2.4.19 kernel tree takes only
198
finished, 5.460u/0.610s cpu, 0.010u/0.000s cum, 6.710 elapsed
201
However, the store code currently flushes to disk after every write,
202
which is probably excessive. So a commit takes
204
finished, 8.740u/3.950s cpu, 0.010u/0.000s cum, 156.420 elapsed
207
Status is now also quite fast, depsite that it still has to read all
210
mbp@hope% bzr status ~/work/linux-2.4.19
211
bzr status 5.51s user 0.79s system 99% cpu 6.337 total
213
strace shows much of this is in write(2), probably because of
214
logging. With more buffering on that file, removing all the explicit
215
flushes, that is reduced to
217
mbp@hope% time bzr status
218
bzr status 5.23s user 0.42s system 97% cpu 5.780 total
220
which is mostly opening, stating and reading files, as it should be.
221
Still a few too many stat calls.
b'\\ No newline at end of file'