perf101 / rage

Results And Graphing Engine
Other
8 stars 8 forks source link

Add % difference to the tooltips diff list #47

Closed mcintyre94 closed 7 years ago

mcintyre94 commented 7 years ago

Add a percentage difference column to the list of differences shown in the tooltip when genrating a tooltip with a previous selection. For numeric values this is calculated as (newval - prevval)/prevval*100, and rounded to 2 decimal places. If either value is non-numeric (eg. text fields) an empty string is used. This is useful for quickly comparing eg. the y results on a graph.

Signed-off-by: Callum McIntyre callum.mcintyre@citrix.com