Render stats in html.
Simply render stuff in ReST than ask docutils to build an html
doc.
| Method Summary |
| |
__init__(self,
config,
stats,
error,
monitor,
options,
css_file)
|
| |
__call__(self)
Create the html report. |
| |
appendDelays(self,
delay,
delay_low,
delay_high,
stats)
Show percentiles or min, avg and max in chart. |
| |
copyCss(self)
Copy the css to the report dir. |
| |
copyXmlResult(self)
Make a copy of the xml result. |
| |
createAllResponseChart(self)
Create global responses chart. |
| |
createCharts(self)
Create all charts. |
| |
createMonitorChart(self,
host)
Create monitrored server charts. |
| |
createMonitorCharts(self)
Create all montirored server charts. |
| |
createPageChart(self)
Create the page chart. |
| |
createResponseChart(self,
step)
Create responses chart. |
| |
createRstFile(self)
Create the ReST file. |
| |
createTestChart(self)
Create the test chart. |
| |
generateHtml(self)
Ask docutils to convert our rst file into html. |
| |
getChartSize(self,
cvus)
Compute the right size lenght depending on the number of cvus. |
| |
getYTitle(self)
|
| |
prepareReportDirectory(self)
Create a folder to save the report. |
| |
render(self)
Create the html report. |
| Inherited from RenderRst |
| |
__repr__(self)
|
| |
append(self,
text)
Append text to rst output. |
| |
getBestStpsCycle(self)
Return the cycle with the maximum STPS. |
| |
getRepresentativeCycleStat(self)
Return the cycle stat with the maximum number of steps. |
| |
renderConfig(self)
Render bench configuration. |
| |
renderCyclesStat(self,
key,
title,
description)
Render a type of stats for all cycles. |
| |
renderCyclesStepStat(self,
step)
Render a step stats for all cycle. |
| |
renderErrors(self)
Render error list. |
| |
renderMonitor(self,
host)
Render a monitored host. |
| |
renderMonitors(self)
Render all monitored hosts. |
| |
renderPageDetail(self,
cycle_r)
Render a page detail. |
| |
renderSlowestRequests(self,
number)
Render the n slowest requests of the best cycle. |
| |
renderTestContent(self,
test)
Render global information about test content. |