Skip to content

Releases: benchmark-action/github-action-benchmark

v1.2.0

17 Nov 05:37
Compare
Choose a tag to compare
  • 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

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

16 Nov 02:51
Compare
Choose a tag to compare
  • Improve: Title styles in default index.html which is generated when no index.html is in your GitHub Pages branch. If you want to update your index.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

16 Nov 00:40
Compare
Choose a tag to compare
  • Fix: Retry failed when no Git user config is provided. Ensure to give bot user info to each git command invocations

v1.1.2

16 Nov 00:24
Compare
Choose a tag to compare
  • 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 by git pull --rebase and git 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 to true for this.
  • Fix: Description for auto-push was missing in action.yml

v1.1.1

14 Nov 23:23
Compare
Choose a tag to compare
  • Improve: More strict check for auto-push input. Now the value must be one of true, false (default value is false)

v1.1.0

14 Nov 09:24
Compare
Choose a tag to compare
  • 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
  • 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
  • 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

10 Nov 08:53
Compare
Choose a tag to compare

First release 🎉

Please read documentation for getting started:

https://github.com/rhysd/github-action-benchmark#readme