Skip to content

Commit 14df137

Browse files
committed
Enable doc profile in graph page
1 parent db10e3a commit 14df137

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/static/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ <h3>This may take a while!</h3>
102102

103103
const otherCacheStateColors = ["#8085e9", "#f15c80", "#e4d354", "#2b908f", "#f45b5b", "#91e8e1"];
104104
const interpolatedColor = "#fcb0f1";
105-
const basicProfiles = ["Check", "Debug", "Opt"];
105+
const profiles = ["Check", "Debug", "Opt", "Doc"];
106106

107107
function tooltipPlugin({ onclick, commits, isInterpolated, absoluteMode, shiftX = 10, shiftY = 10 }) {
108108
let tooltipLeftOffset = 0;
@@ -426,7 +426,7 @@ <h3>This may take a while!</h3>
426426
sortedBenchNames.forEach(name => {
427427
benchmarks[name] = {};
428428

429-
for (let profile of basicProfiles) {
429+
for (let profile of profiles) {
430430
if (data.benchmarks[name].hasOwnProperty(profile)) {
431431
benchmarks[name][profile.toLowerCase()] = optInterpolated(data.benchmarks[name][profile]);
432432
}

0 commit comments

Comments
 (0)