mt-polygon-simplification/benchmarking/public/results.html

137 lines
3.4 KiB
HTML
Raw Permalink Normal View History

2019-08-09 10:45:11 +02:00
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Document</title>
<link rel="stylesheet" href="./style.css" />
<style>
/* Dimensions */
table {
border-collapse: collapse;
width: 100%;
}
table,
td {
border: 1px solid black;
padding: 0;
}
td:first-child {
white-space: nowrap;
2019-08-10 09:34:57 +02:00
padding: 4px 8px;
2019-08-09 10:45:11 +02:00
}
.characteristics {
display: flex;
}
.characteristics > span {
flex: 1;
display: block;
2019-08-10 09:34:57 +02:00
padding: 4px 8px;
2019-08-09 10:45:11 +02:00
text-align: center;
border-left: 1px solid black;
border-right: 1px solid black;
}
.characteristics > span[active] {
2019-08-10 09:34:57 +02:00
background-color: #87d241;
2019-08-09 10:45:11 +02:00
}
/* Charts */
#chartRoot {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
canvas {
2019-08-10 11:51:31 +02:00
max-width: 730px;
2019-08-11 19:08:06 +02:00
margin: 10px 0;
}
#toggle {
width: 100%;
margin-bottom: 10px;
2019-08-09 10:45:11 +02:00
}
</style>
</head>
<body>
<header>
<h1>Results</h1>
2019-08-10 09:34:57 +02:00
<a href="./index.html">Back to benchmark</a>
2019-08-09 10:45:11 +02:00
</header>
<main>
<h2>Select Case</h2>
<ul>
2019-08-10 11:51:31 +02:00
<li>
<a class="case-anchor" href="#set1"
>Case1 - Windows - Simplify.js vs Simplify.wasm</a
>
</li>
<li>
<a class="case-anchor" href="#set2"
>Case2 - Windows - Simplify.wasm runtime analysis</a
>
</li>
<li>
<a class="case-anchor" href="#set3"
>Case3 - MacBook Pro - Testing safari</a
>
</li>
<li>
<a class="case-anchor" href="#set4"
>Case4 - Turf.js runtime analysis</a
>
</li>
<li><a class="case-anchor" href="#set5">Case5 - Mobile testing</a></li>
2019-08-09 10:45:11 +02:00
</ul>
<h2>Dimensions</h2>
<table>
<tr>
2019-08-10 09:34:57 +02:00
<td>Device:</td>
2019-08-09 10:45:11 +02:00
<td>
<div class="characteristics">
<span>Desktop</span><span>Mobile</span>
</div>
</td>
</tr>
<tr>
2019-08-10 09:34:57 +02:00
<td>Browser:</td>
2019-08-09 10:45:11 +02:00
<td>
<div class="characteristics">
<span>Firefox</span>
<span>Chrome</span>
<span>Edge</span>
<span>Safari</span>
</div>
</td>
</tr>
<tr>
2019-08-10 09:34:57 +02:00
<td>Dataset:</td>
2019-08-09 10:45:11 +02:00
<td>
<div class="characteristics">
<span>Simplify.js example</span><span>Bavaria outline</span>
</div>
</td>
</tr>
<tr>
2019-08-10 09:34:57 +02:00
<td>High Quality:</td>
2019-08-09 10:45:11 +02:00
<td>
<div class="characteristics"><span>On</span> <span>Off</span></div>
</td>
</tr>
<tr>
2019-08-10 09:34:57 +02:00
<td>Charts:</td>
2019-08-09 10:45:11 +02:00
<td>
<div class="characteristics">
<span>Simplify.js vs. Simplify.wasm</span>
<span>Simplify.wasm runtime analysis</span>
<span>Turf.js runtime analysis</span>
</div>
</td>
</tr>
</table>
<h2>Charts</h2>
2019-08-11 19:08:06 +02:00
<button id="toggle">Toggle performance measure (ms &lt;-&gt; hz)</button>
2019-08-09 10:45:11 +02:00
<div id="chartRoot">Select a Case to show the charts.</div>
</main>
<script src="./results.js"></script>
</body>
</html>