Releases: benchmark-action/github-action-benchmark
Releases · benchmark-action/github-action-benchmark
v1.2.0
- New: Support pytest-benchmark for Python projects which use pytest
- Benchmark value is how long one iteration takes (seconds/iter)
- Improve: Show more extra data in tooltip which are specific to tools
- Go
- Iterations
- Number of CPUs used
- Benchmark.js
- Number of samples
- pytest-benchmark
- Mean time
- Number of rounds
- Go
For reflecting the extra data improvement, please refresh your index.html
. Remove current index.html
in GitHub Pages branch and push the change to remote, then re-run your benchmark workflow.
v1.1.4
- Improve: Title styles in default
index.html
which is generated when noindex.html
is in your GitHub Pages branch. If you want to update yourindex.html
to the latest, please remove it and push to remote at first then re-run your workflow which will invoke github-action-benchmark - Improve: More metadata in
action.yml
. Now icon and its color are set.
v1.1.3
- Fix: Retry failed when no Git user config is provided. Ensure to give bot user info to each
git
command invocations
v1.1.2
- Improve: Added retry for
git push
. When remote GitHub Pages branch is updated after the current workflow had fetched the branch,git push
will fail because the remote branch is not up-to-date. In the case this action will try to rebase onto the latest remote bygit pull --rebase
andgit push
again. This is useful when your multiple workflows may be trying to push GitHub Pages branch at the same timing.auto-push
input must be set totrue
for this. - Fix: Description for
auto-push
was missing inaction.yml
v1.1.1
- Improve: More strict check for
auto-push
input. Now the value must be one oftrue
,false
(default value isfalse
)
v1.1.0
- New: Added
auto-push
input- If this value is set to
true
, this action pushes GitHub Pages branch to remote automatically. You no longer need to push the branch by yourself. - Below
github-token
input must be set for this - This input is optional. You can still push the branch by yourself if you want
- Please read documentation for more details
- If this value is set to
- New: Added
github-token
input- For doing some operations which requires GitHub API token, this input is necessary
- pull from remote branch when your repository is private
- push to remote branch
- deploy and trigger GitHub Pages build
- This input is optional. When you do none of above operations, this input is not necessary
- For doing some operations which requires GitHub API token, this input is necessary
README.md
was updated to avoid the issue on public repository (#1)
e.g.
- name: Store benchmark result
uses: rhysd/github-action-benchmark@v1
with:
name: My Project Go Benchmark
tool: 'go'
output-file-path: output.txt
github-token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
auto-push: true
Note that you need to make a personal access token for deploying GitHub Pages from GitHub Action workflow. Please read RADME.md
for more details.
v1.0.2
First release 🎉
Please read documentation for getting started: