[Psi-devel] Psi 0.11-RC1
Justin Karneges
justin-psi2 at affinix.com
Sun May 13 10:53:32 PDT 2007
On Sunday 13 May 2007 10:24 am, Remko Tronçon wrote:
> > When I attach Shark (a Mac OS X sampling profiler), I get the
> > profile of http://el-tramo.be/tmp/psi_profile.png . It seems a lot of
> > time is spent in entryList(). Does this
> > make sense? The other 50% spent in Psi is distributed, so nothing weird
> > there.
>
> Disregard that profile, I think i attached the wrong Psi instance. The
> attached profile was a profile of a psi that logs in. (still, the high
> count for entryList might be worth checking out).
qca-gnupg is known to be unoptimized, the main problem being that it queries
your key list at every passphrase prompt.
Querying the key list (by any means, entryList or otherwise) should not be
slower than the equivalent for 0.10. In fact, it should probably be faster,
since it is not querying for the keyring filenames like the 0.10 code. The
0.10 code would query the public keys and secret keys each in two modes, for
a total of 4 executions. This is still planned for qca-gnupg as well, but
until then there are only 2 executions.
> I tried again, and GnuPG encoding is 'slow', but not slower than it
> was in 0.10. All of the time is probably spent in gnupg, looking at
> the profile. I think i was running some kind of debug version before.
> I also might have been running an older version of gnupg. And of
> course, sending and receiving a gnupg message at the same time (when
> you send an encrypted message to yourself) gets you peaks.
So hopefully all is as expected.
-Justin
More information about the psi-devel
mailing list