Skip to content

Support: simplify benchmark workflow and fix case filtering#576

Open
zhusy54 wants to merge 1 commit intohw-native-sys:mainfrom
zhusy54:benchmark
Open

Support: simplify benchmark workflow and fix case filtering#576
zhusy54 wants to merge 1 commit intohw-native-sys:mainfrom
zhusy54:benchmark

Conversation

@zhusy54
Copy link
Copy Markdown
Contributor

@zhusy54 zhusy54 commented Apr 16, 2026

Summary

  • Remove PTO-ISA pinning step from benchmark skill — no longer needed since ISA deps are resolved automatically
  • Add --manual include when --case is specified in benchmark_rounds.sh to ensure only the targeted case runs (without it, auto-discovery may include unintended examples)

Testing

  • Verified benchmark_rounds.sh --case runs only the specified example
  • Benchmark skill workflow tested end-to-end

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request simplifies the benchmark documentation by removing the PTO-ISA pinning step and re-numbering the instructions. It also updates tools/benchmark_rounds.sh to include a --manual include flag when a case name is specified. A review comment identifies that this flag is unsupported by run_example.py, which could cause errors for legacy examples, and suggests applying it conditionally only when a test file is present.

Comment thread tools/benchmark_rounds.sh Outdated
- Restructure benchmark_rounds.sh to prefer test_*.py over run_example.py
- Fix: only pass --manual include to test_*.py; run_example.py does not
  support this flag and would crash when case_name is specified
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant