Morgen Sagen wrote: > > On Sep 21, 2006, at 2:32 PM, Heikki Toivonen wrote: > >> The sharing test (split into publish and subscribe) slowed down after I >> made the change yesterday to make the functional test work the same way >> as the perf test. This was almost completely just moving code from one >> file to another, so I was puzzled why it got slower. But there is one >> major difference. Before, the performance tests used to delete >> collections from the sidebar with: >> >> collection.delete(recursive=True) >> >> but if you try this as part of the functional tests you will find that >> the next test will experience a mystery failure. The test now uses this >> (copied from TestDeleteCollection): >> >> App_ns.root.Remove() >> >> and things work ok. However, for some mysterious reason subscribe is now >> about twice as slow as it used to be. This is the only change that >> causes it. >> >> I closed the perf regression bug as invalid (because the test is now >> doing the right thing), but it would be nice to know WHY this change >> causes such a slowdown... >> >> -- Heikki Toivonen > > I'm not sure which test we're talking about here. Also, what does > App_ns.root.Remove( ) do?
PerfTestLargeDataSharing.py Remove() deletes the currently selected collection from the sidebar. -- Heikki Toivonen
signature.asc
Description: OpenPGP digital signature
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Open Source Applications Foundation "chandler-dev" mailing list http://lists.osafoundation.org/mailman/listinfo/chandler-dev
