appsup-dart/Dart and Flutter benchmark_test
Run benchmark_test benchmarks and publish GitHub Pages results.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| sdk | SDK to set up. Supported values are dart and flutter. | no | dart |
| flutter-channel | Flutter channel used when sdk is flutter. | no | stable |
| working-directory | Directory that contains the Dart or Flutter package. | no | . |
| paths | Space-separated benchmark test paths passed to benchmark_test. | no | "" |
| compile | Compile types to run. Use a comma-separated list. | no | jit,aot |
| dart-test-args | Additional benchmark test selection arguments passed after --. | no | "" |
| name | Name of the benchmark suite in github-action-benchmark. | no | Dart Benchmarks |
| github-token | Token used by github-action-benchmark to update GitHub Pages. | yes | — |
| benchmark-data-dir-path | Directory on the GitHub Pages branch that stores benchmark data. | no | dev/bench |
| gh-pages-branch | Branch used by github-action-benchmark for benchmark pages. | no | gh-pages |
| auto-push | Whether github-action-benchmark should push the updated pages branch. | no | true |
| fail-on-alert | Whether github-action-benchmark should fail the job on regression alerts. | no | false |
| comment-on-alert | Whether github-action-benchmark should comment when an alert happens. | no | false |
| alert-threshold | github-action-benchmark alert threshold. | no | 200% |
Outputs
| name | description |
|---|---|
| results-file | Path to the generated custom benchmark JSON file. |