Skip to content

Commit

Permalink
Merge branch 'main' into inline-3
Browse files Browse the repository at this point in the history
  • Loading branch information
yihozhang committed Feb 3, 2025
2 parents 7ccc199 + 8575c6b commit 29f09a6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions infra/nightly-resources/chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const COLORS = {
"llvm-eggcc-O0-O0": "pink",
"llvm-eggcc-sequential-O0-O0": "blue",
"llvm-eggcc-O3-O0": "brown",
"llvm-eggcc-O3-O3": "lightblue",
};

const BASELINE_MODE = "llvm-O0-O0";
Expand Down
1 change: 1 addition & 0 deletions infra/nightly-resources/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ function shouldHaveLlvm(runMethod) {
"llvm-O3-O0",
"llvm-O3-O3",
"llvm-eggcc-O3-O0",
"llvm-eggcc-O3-O3",
].includes(runMethod);
}

Expand Down
5 changes: 4 additions & 1 deletion infra/nightly-resources/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const treatments = [
"llvm-O3-O0",
"llvm-O3-O3",
"llvm-eggcc-O3-O0",
"llvm-eggcc-O3-O3",
];

const GLOBAL_DATA = {
Expand Down Expand Up @@ -42,7 +43,9 @@ function refreshView() {
byBench[benchmark] = getDataForBenchmark(benchmark);
});
const tableData = Object.keys(byBench).map((bench) => ({
name: `<a target="_blank" rel="noopener noreferrer" href="https://github.com/egraphs-good/eggcc/tree/main/${getBrilPathForBenchmark(bench)}">${bench}</a>`,
name: `<a target="_blank" rel="noopener noreferrer" href="https://github.com/egraphs-good/eggcc/tree/main/${getBrilPathForBenchmark(
bench,
)}">${bench}</a>`,
executions: { data: byBench[bench] },
}));
tableData.sort((l, r) => l.name - r.name);
Expand Down
3 changes: 3 additions & 0 deletions infra/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"llvm-O3-O0",
"llvm-O3-O3",
"llvm-eggcc-O3-O0",
"llvm-eggcc-O3-O3",
]

# Where to output files that are needed for nightly report
Expand Down Expand Up @@ -57,6 +58,8 @@ def get_eggcc_options(benchmark):
return (f'optimize', f'--run-mode llvm --optimize-egglog false --optimize-bril-llvm O0_O0')
case "llvm-eggcc-O3-O0":
return (f'optimize', f'--run-mode llvm --optimize-egglog false --optimize-bril-llvm O3_O0')
case "llvm-eggcc-O3-O3":
return (f'optimize', f'--run-mode llvm --optimize-egglog false --optimize-bril-llvm O3_O3')
case _:
raise Exception("Unexpected run mode: " + benchmark.treatment)

Expand Down

0 comments on commit 29f09a6

Please sign in to comment.