Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
99 lines (85 sloc) 2.71 KB
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<title>MongoDB Benchmark Results</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
<link rel="stylesheet" href="/static/css/page.css">
<script src="static/jquery-1.3.2.min.js"></script>
<script src="static/jquery.dataTables.min.js"></script>
<script src="static/jquery.flot.min.js"></script>
"bPaginate": false,
"bLengthChange": false,
"bFilter": false,
"bInfo": false,
"bAutoWidth": true
<h1>MongoDB Benchmark Results</h1>
% metric = request.GET.get('metric', 'ops_per_sec')
% versions = request.GET.get('versions', '')
<form action="/">
<label for="metric">Metric</label>
<select name="metric">
%for m in ['ops_per_sec', 'time', 'speedup']:
<option {{"selected" if m == metric else ""}}>{{m}}</option>
<br />
<label for="versions">Versions (space-separated)</label>
<input type="text" name="versions" value="{{versions}}" />
<br />
<input type="submit" value="Go" />
%for k, (outer_result, flot_data) in enumerate(zip(results, flot_results)):
<table class="display">
%for thread in threads:
<th>{{thread}} thread{{'' if thread == 1 else 's'}}</th>
%for i, result in enumerate(outer_result['results']):
%for thread in threads:
<td>{{result.get(str(thread), {metric:'--'})[metric]}}</td>
<br />
<div id="flot_{{k}}" style="width:600px;height:300px;"> </div>
<div style="height:50px"> </div>
var data = {{flot_data}};
$('#flot_{{k}}'), data,
series: { lines: { show: true }, points: { show: true } },
xaxis: {ticks : {{threads}} },
yaxis: {min : 0},
%# vim: set ft=html:
Something went wrong with that request. Please try again.