[Chandler-dev] Sharing tests switched to Chandler Hub Sharing
morgen at osafoundation.org
Wed Apr 11 21:13:11 PDT 2007
On Apr 11, 2007, at 8:16 PM, Heikki Toivonen wrote:
> We switched functional and performance tests to use Chandler Hub
> (morse code) today. When do we plan on making this the default in the
> accounts dialog?
When the bugs and Cosmo-interop issues are worked out and when
osaf.us is running Cosmo 0.6.1.
> It seems Chandler Hub Sharing is about twice as slow as the old
> code. Looking more closely, Chandler spends a lot of time in the
> progress dialog where the status reads "Checking for local changes"
> - it
> seems like almost all of the additional time is spent at this point.
> This is the slow code:
> for change in rv.mapHistory(version):
> changedUuid = change
> if changedUuid in self.share.contents:
Quite similar code *is* run in the old style syncing; it's in
utility.py:localChanges( ). It's simply asking the repository for
what items have changed since an earlier version.
> How come we do this with Chandler Hub Sharing, but not with the old
> sharing code?
> Why is this code slow, and can it be made faster?
I've only just started profiling this, and I'm still mostly focused
on Cosmo interop issues. Yesterday I started a wiki page for
...linked to from the Sharing project page:
More information about the chandler-dev