diff --git a/site/src/request_handlers/graph.rs b/site/src/request_handlers/graph.rs index 90dced51e..ccd596368 100644 --- a/site/src/request_handlers/graph.rs +++ b/site/src/request_handlers/graph.rs @@ -177,7 +177,7 @@ fn create_summary( let mut summary_benchmark = HashMap::new(); let summary_query_cases = iproduct!( ctxt.summary_scenarios(), - vec![Profile::Check, Profile::Debug, Profile::Opt] + vec![Profile::Check, Profile::Debug, Profile::Opt, Profile::Doc] ); for (scenario, profile) in summary_query_cases { let baseline = match baselines.entry((profile, scenario)) { diff --git a/site/static/index.html b/site/static/index.html index f0a660118..2b5d72f6b 100644 --- a/site/static/index.html +++ b/site/static/index.html @@ -102,7 +102,7 @@

This may take a while!

const otherCacheStateColors = ["#8085e9", "#f15c80", "#e4d354", "#2b908f", "#f45b5b", "#91e8e1"]; const interpolatedColor = "#fcb0f1"; - const basicProfiles = ["Check", "Debug", "Opt"]; + const profiles = ["Check", "Debug", "Opt", "Doc"]; function tooltipPlugin({ onclick, commits, isInterpolated, absoluteMode, shiftX = 10, shiftY = 10 }) { let tooltipLeftOffset = 0; @@ -385,7 +385,7 @@

This may take a while!

let plotOpts = genPlotOpts({ title: benchName + "-" + benchKind, - width: Math.floor(window.innerWidth / 3) - 16, + width: Math.floor(window.innerWidth / 4) - 16, height: 300, yAxisLabel, series: seriesOpts, @@ -426,7 +426,7 @@

This may take a while!

sortedBenchNames.forEach(name => { benchmarks[name] = {}; - for (let profile of basicProfiles) { + for (let profile of profiles) { if (data.benchmarks[name].hasOwnProperty(profile)) { benchmarks[name][profile.toLowerCase()] = optInterpolated(data.benchmarks[name][profile]); }