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


Attachment: signature.asc
Description: OpenPGP digital signature

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev

Reply via email to