Comment 3 for bug 405166

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 405166] Re: bzr diff in 2a to historical revision too slow

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Pool wrote:
> It's not immediately obvious to me what's wrong in this profile, but
> maybe it will be to someone else.
>
> ** Attachment added: "diff.callgrind"
> http://launchpadlibrarian.net/29590051/diff.callgrind
>

My immediate guess is that we don't have an optimized path from WT =>
arbitrary rev. So we have to build 2 inventories and status them, and
*then* have to extract some XXMB of raw text out and then run diff
against all of that.

If the *diff* is 8MB, that would make the raw texts probably 16+MB,
which probably takes a while to extract the right versions, and it would
be a *lot* of data to diff.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkpuZx0ACgkQJdeBCYSNAAPaHQCgoLbcDcgsLE7gyyGlXuHYhUGg
dosAoLjQzQKaq10OHUUvYnKwCtKH1aIx
=oSif
-----END PGP SIGNATURE-----