blob: 01a975567a2f8648f2849054d65d684112471379 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>Performance Result Comparison</title>
</head>
<body>
<div>
<form action="/search">
<input type="text" name="q" value="{{.Q}}" size="120">
<input type="submit" value="Search">
</form>
</div>
<div>
{{.Benchstat}}
</div>
<table>
<tr>
<th>label</th>
{{range $index, $group := .Groups}}
<th>
#{{$index}}
</th>
{{end}}
</tr>
{{range $label, $exists := .Labels}}
<tr>
<th>{{$label}}</th>
{{range $.Groups}}
<td>
{{with index .LabelValues $label}}
[
{{range $value, $exists := .}}
{{printf "%q" $value}}
{{end}}
]
{{end}}
</td>
{{end}}
</tr>
{{end}}
</table>
</body>
</html>