Yicong-Huang opened a new pull request, #5639: URL: https://github.com/apache/texera/pull/5639
### What changes were proposed in this PR? Update the benchmark PR comment workflow to show PR benchmark results next to the latest main baseline published on `gh-pages`. The comment now reads the PR run artifact JSON files and `gh-pages:/dev/bench/data.js`, then renders a `PR | main | change` table. Throughput deltas mark higher values as better; latency deltas mark lower values as better. If the baseline cannot be loaded, the workflow falls back to the existing PR-only CSV table. ### Any related issues, documentation, discussions? Closes #5638 ### How was this PR tested? ```bash ruby -e "require %q(yaml); YAML.load_file(%q(.github/workflows/benchmarks-pr-comment.yml)); puts %q(YAML OK)" ruby -e "require %q(yaml); y=YAML.load_file(%q(.github/workflows/benchmarks-pr-comment.yml)); puts y[%q(jobs)][%q(comment)][%q(steps)][3][%q(with)][%q(script)]" | node --input-type=module --check git diff --check gh run download 27328144601 --repo apache/texera --name bench-results-27328144601 --dir /tmp/texera-bench-compare-test # Locally simulated the comparison table against https://raw.githubusercontent.com/apache/texera/gh-pages/dev/bench/data.js ``` ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Codex (GPT-5) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
