With my patch, the entire benchmark runs about 4% faster. I think my patch is a win.<br><br>Thanks<br><br>Cheuksan Edward Wang<br><br><br><div><span class="gmail_quote">On 10/31/06, <b class="gmail_sendername">Martin Pool</b>
<<a href="mailto:mbp@canonical.com">mbp@canonical.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 30/10/2006, at 22:05 , Cheuksan Edward Wang wrote:
<br><br>> On 10/30/06, Martin Pool <<a href="mailto:mbp@canonical.com">mbp@canonical.com</a>> wrote: On 29 Oct 2006,<br>> Cheuksan Edward Wang <<a href="mailto:wang02139@gmail.com">wang02139@gmail.com</a>> wrote:
<br>> ><br>> > Replace python's difflib by patiencediff because the worst case<br>> > performance is cubic for difflib (get_matching_blocks) and people<br>> committing<br>> > large data<br>> > files are often hurt by this. The worst case performance of
<br>> patience is<br>> > quadratic. Fix bug 65714.<br>> ><br>> > If there is an easy way to run benchmarks, can someone tell me<br>> how to run them?<br>> > I want to see the change in commit time and size of the knits.
<br>><br>> As Aaron said, you can do 'bzr selftest --benchmark'. This doesn't<br>> report on the *size* of the knits at the moment (perhaps it should),<br>> but only on the runtime. If you could please run that with and
<br>> without<br>> then we can merge this.<br>><br>> Sure. I'll do that tonight since it takes a long time to run the<br>> benchmarks.<br><br>If you merge the most recent bzr.dev it should be substantially faster.
<br><br>--<br>Martin<br><br><br><br></blockquote></div><br>