r1 - 28 Dec 2004 - 21:42:37 - MikeTYou are here: OSAF >  Journal Web  >  TWikiUsers > MikeT > MikeTaylorNotes > MikeTaylor20041228

Performance Data Collection - part 2

Ok, with an assist from Morgen, I was able to apply the changes to the Tinderbox processmail_builds script - thanks Morgen!

Next we need to get some data generated and my first thought is to modify the existing tools.timing module. Currently it prints out results data as

    Operation                       Count  Total    Avg
    ------------------------------ ------ ------ ------
    Assigning widgets                 730  3.170  0.004
    Creating widgets                  730  5.259  0.007
    ------------------------------ ------ ------ ------
    Totals:                          1460  8.429  0.006

A simple, but kinda ugly, change would be to print out the result data as

             Operation                        Count   Total     Avg
             ------------------------------  ------  ------  ------
    OSAF_QA: Assigning widgets              |   730 | 3.170 | 0.004
    OSAF_QA: Creating widgets               |   730 | 5.259 | 0.007
             ------------------------------  ------  ------  ------
             Totals:                           1460   8.429   0.006

That allows for the script to pick up the values and also keeps it human readable.

Note, the astute reader will spot the change needed to the output lines that I talked about in my previous journal entry smile

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.