Skip to content

Commit 21d9490

Browse files
Adjust ordering on detailed-query page
Previously the base commit was *second* which makes no sense.
1 parent 18f5b87 commit 21d9490

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

site/static/detailed-query.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -158,23 +158,23 @@ <h3 id="title"></h3>
158158
let ff_url = `https://profiler.firefox.com/from-url/${crox_url}/marker-chart/?v=5`;
159159
return `<a href="${ff_url}">Firefox profiler</a>`;
160160
};
161-
txt = `Download/view
162-
${dl_link(state.commit, state.benchmark, state.run_name)},
163-
${processed_link(state.commit, state.benchmark, state.run_name, "flamegraph")},
164-
${processed_link(state.commit, state.benchmark, state.run_name, "crox")}
165-
(${speedscope_link(state.commit, state.benchmark, state.run_name)},
166-
${firefox_profiler_link(state.commit, state.benchmark, state.run_name)})
167-
results for ${state.commit.substring(0, 10)}`;
168161
if (state.base_commit) {
169162
txt += "<br>";
170163
txt += `Download/view
171164
${dl_link(state.base_commit, state.benchmark, state.run_name)},
172165
${processed_link(state.base_commit, state.benchmark, state.run_name, "flamegraph")},
173166
${processed_link(state.base_commit, state.benchmark, state.run_name, "crox")}
174-
(${speedscope_link(state.base_commit, state.benchmark, state.run_name)},
167+
(${speedscope_link(state.base_commit, state.benchmark, state.run_name)},
175168
${firefox_profiler_link(state.base_commit, state.benchmark, state.run_name)})
176-
results for ${state.base_commit.substring(0, 10)}`;
169+
results for ${state.base_commit.substring(0, 10)} (base commit)`;
177170
}
171+
txt = `Download/view
172+
${dl_link(state.commit, state.benchmark, state.run_name)},
173+
${processed_link(state.commit, state.benchmark, state.run_name, "flamegraph")},
174+
${processed_link(state.commit, state.benchmark, state.run_name, "crox")}
175+
(${speedscope_link(state.commit, state.benchmark, state.run_name)},
176+
${firefox_profiler_link(state.commit, state.benchmark, state.run_name)})
177+
results for ${state.commit.substring(0, 10)} (new commit)`;
178178
document.querySelector("#raw-urls").innerHTML = txt;
179179
let sort_idx = state.sort_idx;
180180
if (!data.base_profile_delta) {

0 commit comments

Comments
 (0)