-
-
Notifications
You must be signed in to change notification settings - Fork 191
Expand file tree
/
Copy pathindex.html
More file actions
63 lines (61 loc) · 2.78 KB
/
Copy pathindex.html
File metadata and controls
63 lines (61 loc) · 2.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes" />
<title>exist-core-jmh Benchmarks — eXist-db</title>
<link rel="stylesheet" href="../style.css" />
</head>
<body>
<div class="layout" style="flex-direction: column; width: 100%;">
<nav class="crumbs">
<a href="../../">eXist-db Benchmarks</a>
<span class="sep">/</span>
<span>exist-core-jmh</span>
<span class="sep">·</span>
<a href="../indexes/">exist-indexes-jmh</a>
<span class="sep">·</span>
<a href="https://github.com/eXist-db/exist" rel="noopener">GitHub</a>
</nav>
<div class="layout" style="flex: 1;">
<aside class="sidebar" id="sidebar"></aside>
<main class="main">
<div class="controlbar">
<h1>exist-core-jmh</h1>
<span class="meta" id="last-update"></span>
<div class="spacer"></div>
<input id="search" type="search" placeholder="Filter benchmarks…" aria-label="Filter benchmarks" />
<button class="btn" id="theme-toggle" type="button"></button>
<button class="btn" id="dl-button" type="button">Download JSON</button>
</div>
<div id="main"></div>
<footer class="page-footer">
<span>Data: <a id="repository-link" rel="noopener"></a></span>
<span>Powered by <a rel="noopener" href="https://github.com/marketplace/actions/continuous-benchmark">github-action-benchmark</a> · rendered by a custom dashboard, see <a href="https://github.com/eXist-db/exist/blob/develop/.github/workflows/ci-benchmarks.yml">ci-benchmarks.yml</a></span>
</footer>
</main>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.4/dist/chart.umd.min.js"></script>
<script src="../dashboard.js"></script>
<script src="data.js"></script>
<script>
(function () {
const data = window.BENCHMARK_DATA;
document.getElementById('last-update').textContent = 'Last update: ' + new Date(data.lastUpdate).toLocaleString();
const repoLink = document.getElementById('repository-link');
repoLink.href = data.repoUrl;
repoLink.textContent = data.repoUrl;
document.getElementById('dl-button').onclick = () => {
const a = document.createElement('a');
a.href = 'data:,' + encodeURIComponent(JSON.stringify(data, null, 2));
a.download = 'exist-core-jmh_benchmark_data.json';
a.click();
};
BenchDashboard.wireTheme(document.getElementById('theme-toggle'));
BenchDashboard.render(document.getElementById('main'), document.getElementById('sidebar'), data, 'exist-core-jmh');
BenchDashboard.wireSearch(document.getElementById('search'));
})();
</script>
</body>
</html>