Skip to content

bench-deploy: Convert between Criterion JSON formats #52

Description

@samuelburnham

After #44

Currently, our gh-pages benchmark JSONs can't be used with criterion-table and our commit-comment benchmarks can't be used in plots. After some testing I've found that reformatting the JSON files is fairly straightforward using jq. This would have several benefits:

  • Run only one benchmark per commit, rather than fiddling with env vars to produce several for use in our various comparison tools. This saves time and UX hassle
  • Cached commit-comment benchmarks could be immediately deployed when a PR is merged, rather than having to re-run the benchmark in the gh-pages format for plotting & deployment. This saves time, runner resources and clutter in gh-pages

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions