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>
 &lt;<a href="mailto:mbp@canonical.com">mbp@canonical.com</a>&gt; 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>&gt; On 10/30/06, Martin Pool &lt;<a href="mailto:mbp@canonical.com">mbp@canonical.com</a>&gt; wrote: On 29 Oct 2006,<br>&gt; Cheuksan Edward Wang &lt;<a href="mailto:wang02139@gmail.com">wang02139@gmail.com</a>&gt; wrote:
<br>&gt; &gt;<br>&gt; &gt; Replace python's difflib by patiencediff because the worst case<br>&gt; &gt; performance is cubic for difflib (get_matching_blocks) and people<br>&gt; committing<br>&gt; &gt; large data<br>&gt; &gt; files are often hurt by this. The worst case performance of
<br>&gt; patience is<br>&gt; &gt; quadratic. Fix bug 65714.<br>&gt; &gt;<br>&gt; &gt; If there is an easy way to run benchmarks, can someone tell me<br>&gt; how to run them?<br>&gt; &gt; I want to see the change in commit time and size of the knits.
<br>&gt;<br>&gt; As Aaron said, you can do 'bzr selftest --benchmark'.&nbsp;&nbsp;This doesn't<br>&gt; report on the *size* of the knits at the moment (perhaps it should),<br>&gt; but only on the runtime.&nbsp;&nbsp;If you could please run that with and
<br>&gt; without<br>&gt; then we can merge this.<br>&gt;<br>&gt; Sure. I'll do that tonight since it takes a long time to run the<br>&gt; 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>