X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/a051d6f8301907c0eddb9a444f1661f882791b0e..86b24990fbd85d1e6d19de6bde4982a8c1cc0fd0:/continuous/www/wvperf2html.py diff --git a/continuous/www/wvperf2html.py b/continuous/www/wvperf2html.py index 3c3607b..38bd2ea 100755 --- a/continuous/www/wvperf2html.py +++ b/continuous/www/wvperf2html.py @@ -146,6 +146,9 @@ class Graph: def options_json(self): options = { + 'chart': { + 'borderWidth': 1, + }, 'rangeSelector': { 'selected': 5 # All }, @@ -185,6 +188,7 @@ class Graph: 'x': -3 }, 'title': { 'text': axis.getLabel() }, 'minRange': axis.minrange, + 'tickPixelInterval': 40, } for axis in self.axes_ordered], 'series': [{ 'name': '%s [%s]' % (col.name, col.units), 'yAxis': col.axis.num } @@ -274,17 +278,18 @@ for g in graphs: g.findRanges() g.fixupAxisNumbers() +pagetitle="Linux CAN subsystem performance plots" print(""" - NUL Performance Plots + %(pagetitle)s - + -

Linux CAN subsystem performance plots

+

%(pagetitle)s

The graphs below show performance numbers from various CAN bus related benchmarks run on different Linux kernel versions.

Table of content:

") @@ -349,11 +354,8 @@ $.getJSON('%(dataname)s', function(data) { 'dataname': graph.dataname, 'options': graph.options_json()}) print(graph.getData(), file=open(graph.dataname, 'w')) +print("Generated on "+str(datetime.now())) print(""" """) - -# Local Variables: -# compile-command: "make perf" -# End: