~bryce/gtg/dbus-service-name

  • Committer: Bryce Harrington
  • Date: 2010-08-03 17:10:36 UTC
  • mfrom: (855.1.2 performance-testing)
  • Revision ID: bryce@canonical.com-20100803171036-6z2oi8y486n8l8na
Add a simple boot performance test.

This adds a -b option to gtg which causes it to exit immediately after
completing the first iteration of the main loop, thus permitting a way
to reliably measure initialization time.

scripts/debug.sh is also updated to also support a -b option, which it
passes to gtg.  This permits doing boot-up time profiling like this:

  scripts/debug.sh -b -p

Of course, that's not interesting since there's only 5 tasks in the
default data set.  But you can use any data set in gtg/test/data/, for
instance, the infamous 'bryce' dataset:

  scripts/debug.sh -b -p -s bryce
Filename Latest Rev Last Changed Committer Comment Size
..
data 390.3.1 14 years ago Bertrand Rousseau Created and added a test data to build up a more r Diff