~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 3641.3.16.

  • Committer: John Arbash Meinel
  • Date: 2008-08-21 19:53:53 UTC
  • mto: This revision was merged to the branch mainline in revision 3644.
  • Revision ID: john@arbash-meinel.com-20080821195353-1q7mrhcjqerr5rhh
Somewhat surprisingly, tracking bytes_out_len makes a
large difference in performance. It drops the three_level test time
from 9.2s => 8.2s. My best guess is that when adding with Z_SYNC_FLUSH
we get a *lot* of small strings, and we loop over it each time
we add another string.
Real world tests show improvement, too.
For mysql, repack=2,nocopy time 59.3=>57.4
For bzr.dev, repack=2,nocopy time 9.6=>9.3

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: