[PATCH][LNT] Add sparklines to daily report page

Kristof Beyls kristof.beyls at arm.com
Tue Jun 16 10:08:18 PDT 2015


In the daily report table, performance differences are highlighted as a
single percentage

difference.  Due to the noise in many benchmarks and boards, often the true

performance characteristic cannot be summarized well into a single
percentage

number, and a human has to look at all the samples/data points collected by
the

benchmarking runs to make a further assessment of whether a performance
change

should be categorized as "noise" or "real".

 

To make that assessment, you need to look at the chart of performance data

points over time. By adding mini-charts with spark lines to the daily report

page, that human analysis can be done without having to open many separate

pages - speeding up that analysis massively.

 

The attached patch implements adding such sparklines by adding SVG images
to the daily report page. For email reports this means that, this part
probably
won't show up in most email clients. The only solution I can think of to
also make
it work for email clients is to create images on the server - leading to
more overloading of

the server & probably needing further dependencies on packages like
matplotlib.

I think these sparklines are very useful - so already adding them to the
webui is
worthwhile even if they don't show up in the email report yet.

 

Luckily, all the needed data for the sparklines was already loaded from the
database by the
daily report generator - so adding these spark lines shouldn't add much
server overhead.

 

A screenshot of a part of a daily report page with sparklines is below.

 

Please review!

 

 



 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150616/bb4824fc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 75111 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150616/bb4824fc/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-spark-plots-to-the-daily-report-page.patch
Type: application/octet-stream
Size: 7922 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150616/bb4824fc/attachment.obj>


More information about the llvm-commits mailing list