Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 37 additions & 8 deletions in-depth.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,11 @@

<head>
<meta charset="utf-8" />

<title>JetStream 3 In-Depth Analysis</title>

<link rel="stylesheet" href="resources/JetStream.css">

</head>

<body class="overflow-scroll">
<body class="in-depth overflow-scroll">
<h1 class="logo">
<div id="jetstreams">
<a href="index.html" class="logo-image">JetStream 3</a>
Expand Down Expand Up @@ -143,7 +140,7 @@ <h3>

<p>
The <span style="color: var(--text-color-very-subtle);">greyed-out workloads</span> are not run by default but can be manually enabled on the command-line or via
the <i>testList</i> URL parameter.
the <code>?test=</code> URL parameter.
Comment thread
camillobruni marked this conversation as resolved.
</p>

<dl id="workload-details">
Expand Down Expand Up @@ -885,8 +882,40 @@ <h3>

<p><a href="index.html" class="button">&larr; Return to Tests</a></p>
</article>

</main>
</body>

</html>
<script>
const isInBrowser = true;
</script>
<script src="utils/params.js"></script>
<script src="JetStreamDriver.js"></script>
<script>
(function () {
for (const benchmark of BENCHMARKS) {
let dt = document.getElementById(benchmark.name);
if (!dt) continue;
Comment thread
camillobruni marked this conversation as resolved.
Outdated

if (benchmark.tags.has("disabled"))
dt.classList.add("non-default");
Comment thread
camillobruni marked this conversation as resolved.

const nameLink = document.createElement("a");
nameLink.href = `index.html?test=${benchmark.name}`;
nameLink.className = "workload-link";
nameLink.textContent = dt.textContent;
dt.textContent = "";
dt.appendChild(nameLink);

const tags = Array.from(benchmark.tags).sort();
for (const tag of tags) {
if (tag === "all" || tag === "default") continue;
Comment thread
camillobruni marked this conversation as resolved.
Outdated
const link = document.createElement("a");
link.href = `index.html?tags=${tag}`;
link.textContent = tag;
link.className = "tag-link";
dt.appendChild(link);
}
}
})();
</script>
</body>
</html>
49 changes: 46 additions & 3 deletions resources/JetStream.css
Original file line number Diff line number Diff line change
Expand Up @@ -265,24 +265,67 @@ h6 {
color: var(--text-color-tertiary);
}

.in-depth h2,
.in-depth h3,
.in-depth dl {
margin: 0;
}

dl > dt:first-child {
margin-top: 0;
}

dt {
margin-top: 10px;
margin-top: 0.5rem;
font-weight: bold;
text-align: left;
color: var(--text-color-secondary);
line-height: 2rem;
display: flex;
align-items: center;
flex-wrap: wrap;
}

dt > a.workload-link {
color: inherit;
text-decoration: none;
}

dt > a.workload-link:hover {
color: var(--color-primary);
}

.tag-link {
display: inline-block;
background-color: var(--color-secondary);
color: var(--text-color-secondary) !important;
padding: 0px 4px;
margin-left: 3px;
Comment thread
camillobruni marked this conversation as resolved.
Outdated
border-radius: 3px;
font-size: 1.2rem;
line-height: 1.8rem;
font-weight: normal;
text-decoration: none;
}
.tag-link::before {
content: "#";
}

.tag-link:hover {
background-color: var(--color-primary);
}

dt.non-default {
color: var(--text-color-very-subtle);
}

dt.non-default:after {
dt.non-default > *:first-child:after {
content: " (not run by default)";
}

dd {
text-align: left;
padding: 10px 20px;
padding: 0.5rem 0rem 1.5rem 2rem;
margin: 0;
color: var(--text-color-secondary);
}
Expand Down
Loading