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
