Katie Capps Parlante wrote:
> We now have bugs for the 0.6 top use cases:
> http://wiki.osafoundation.org/bin/view/Projects/PerformanceProject

There doesn't seem to be instructions nor times for the startup test. I
have a proposal for a way to test this, although it is not as accurate
as I'd like, so we may want to tweak it.

I added these instructions on the wiki as well:

 Startup

    * Create script file end.py: import sys; sys.exit(1)
    * Create a new repository by starting Chandler with --create
    * Start Chandler 3 times with: time chandler -f end.py
    * Pick the run whose time was in the middle (the "real" time row)

The thing is, it seems to take 1-2 seconds (for me and bear) between the
time the UI comes up and Chandler goes away. The UI is also usable - I
can click buttons etc. A more accurate way might be to add --exit
command line option which would effectively call sys.exit(1) as the last
thing in Chandler startup

Also, the other tests don't have anything about running the tests
multiple times. Performance tests are notorious in that way - you have
to run them several times and get some kind of middle/average value, as
there is otherwise too much noise in the system. On the other hand, if
it is something run by hand you don't want to do it too many times. I
think 3 or 5 times (drop highest, lowest, average rest) would be
generally ok.

-- 
  Heikki Toivonen

Attachment: signature.asc
Description: OpenPGP digital signature

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

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

Reply via email to