:chart_with_downwards_trend: Continuous Benchmarking GitHub Action

demo

GitHub Repository

CI Status GitHub Action GoDoc demo status

gobenchdata is a tool for inspecting go test -bench data, a GitHub Action for continuous benchmarking, and a web app for performance visualization.

It features:

Setup for the Action is very simple:

name: Benchmark
on:
  push:
    branches: [ master ]

jobs:
  benchmark:
    runs-on: ubuntu-latest
    steps:
    - name: checkout
      uses: actions/checkout@v1
      with:
        fetch-depth: 1
    - name: gobenchdata to gh-pages
      uses: bobheadxi/gobenchdata@v0.3.0
      with:
        PRUNE_COUNT: 30
        GO_TEST_FLAGS: -cpu 1,2
      env:
        GITHUB_TOKEN: $

Then, a user can simply run gobenchdata-web to generate a web app that they can commit to their gh-pages branch, as demonstrated here.

Drop by the repository to learn more!


Robert Lin

Robert Lin

Enthusiastic eater of lunches

rss facebook twitter github youtube tumblr mail spotify lastfm instagram linkedin google google-plus pinterest medium vimeo stackoverflow reddit quora quora