merlijnw70/cu-profiler
Profile Solana program compute units in CI — gate on budgets/regressions and comment the report on the PR.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version | cu-profiler CLI version to use (a specific version like "0.1.2" for reproducibility, or "latest"). | no | 0.1.2 |
| repo | Repository that hosts the cu-profiler release binaries. | no | MerlijnW70/cu-profiler |
| config | Path to cu-profiler.toml. | no | cu-profiler.toml |
| logs-dir | Directory holding recorded <scenario>.log files. | no | .cu/logs |
| scenario | Limit to these scenario names (whitespace-separated; default all). | no | "" |
| tag | Limit to scenarios carrying these tags (whitespace-separated). | no | "" |
| baseline | Baseline JSON to compare against (enables regression gating). | no | "" |
| strict | Treat low-confidence measurements as failures. | no | false |
| fail-on-budget | Fail the run when an absolute budget is exceeded. | no | true |
| fail-on-regression | Fail the run on a compute regression versus baseline. | no | true |
| fail-on-low-confidence | Fail the run when a measurement's confidence is low. | no | false |
| comment-on-pr | Post (and update) a sticky report comment on the pull request. | no | true |
| comment-tag | Identifier that makes the PR comment sticky (one comment per tag). | no | default |
| upload-artifact | Upload the rendered report as a build artifact. | no | true |
| working-directory | Directory to run cu-profiler in. | no | . |
| github-token | Token used to post the PR comment. | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| exit-code | The cu-profiler process exit code (0 = pass; see docs for 1-6). |
| outcome | pass or fail. |
| report-path | Path to the rendered Markdown report. |