Opened 15 years ago
Last modified 13 years ago
#546 new enhancement
Chart Average instead of Maximum
Reported by: | mpotter@… | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 0.6.1 |
Component: | General | Version: | 0.6b2 |
Keywords: | Cc: | mpotter@… | |
Operating System: |
Description
Currently the Charts appear to be graphing the maximum values for all of the platforms for the current build config. This does not feel like the correct thing to do.
Example Scenario: For Platform1 a value of 90 is generated, for Platform2 10. With the current method, there could be major changes in Platform2's value which would not appear in the graph until it's value exceeds 90. If Total Unit Tests, that means that Platform2 has been improving over time but with no indication of such until it catches up with Platform1. If Unit Test Failures or Lint messages, than means the Platform2 has been degrading over time with no indication of such until it gets as bad as Platform1.
Solutions: Thinking about it I thought of two different approaches: Instead of charting the max, chart the sum or the average. Under a stable configuration both would display the same information, just scaled differently; the average is just the sum divided by the number of platforms. However, in a non-stable configuration the average has a slight advantage over the sum. Examples:
- If a new platform is added the sum would show a sudden jump in value. If there were two platforms each generating a value of about 10, when a new platform is added the graph of the sum would jump from about 20 to about 30, however the graph of the average would stay at about 10.
- If "Build all revisions" is disabled, not all platforms might be built for a given check-in. If there were three platforms each generating a value of about 10, then for a check-in which only built two of the three platforms the sum would show a sudden drop from about 30 to about 20, where as the average would state at about 10.
For both these cases: If the value in question is the same across all platforms then the average will not show any change at all. If the value is not the same, then average charting will still show a change but it will not be as dramatic as in the sum charting.
Why not to add one more line to the existing graph if there are more than one platform?