robbie-microsoft/Continuous Benchmark

Continuous Benchmark using GitHub pages as dash board for keeping performance

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
nameName of the benchmark. This value must be identical among all benchmarksyesBenchmark
toolTool to use get benchmark output. One of "cargo", "go", "benchmarkjs", "pytest", "googlecpp", "catch2", "julia", "benchmarkdotnet", "customBiggerIsBetter", "customSmallerIsBetter"yes
output-file-pathA path to file which contains the benchmark outputyes
gh-pages-branchBranch for gh-pagesyesgh-pages
gh-repositoryUrl to an optional different repository to store benchmark resultsno
benchmark-data-dir-pathPath to directory which contains benchmark files on GitHub pages branchyesdev/bench
github-tokenGitHub API token to pull/push GitHub pages branch and deploy GitHub pages. For public repository, this must be personal access token for now. Please read README.md for more detailsno
refoptional Ref to use when finding commitno
auto-pushPush GitHub Pages branch to remote automatically. This option requires github-token inputnofalse
skip-fetch-gh-pagesSkip pulling GitHub Pages branch before generating an auto commitnofalse
comment-alwaysLeave a comment with benchmark result comparison. To enable this feature, github-token input must be given as wellnofalse
summary-alwaysLeave a job summary with benchmark result comparisonnofalse
save-data-fileSave the benchmark data to external filenotrue
comment-on-alertLeave an alert comment when current benchmark result is worse than previous. Threshold is specified with alert-comment-threshold input. To enable this feature, github-token input must be given as wellnofalse
alert-thresholdThreshold which determines if an alert should happen or not. Percentage value such as "150%". For example, 150% means that an alert happens when current benchmark result is 1.5x worse than previousno200%
fail-on-alertWorkflow fails when alert comment happensnofalse
fail-thresholdThreshold which determines if the current workflow fails. Format is the same as alert-threshold input. If this value is not specified, the same value as alert-threshold is usedno
alert-comment-cc-usersComma separated GitHub user names which start with @ (e.g. "@foo,@bar"). They will be mentioned in commit comment for alert.no
external-data-json-pathJSON data file for storing benchmark results. When this input is set, github-action-benchmark no longer uses Git branch to store data. Instead, it reads and appends benchmark data from/to the file. User must store the file anywhereno
max-items-in-chartMax data points in a benchmark chart to avoid making the chart too busy. Value must be unsigned integer. No limit by defaultno

no outputs