Skip to content

ci: publish benchmark results#2005

Open
typfel wants to merge 2 commits intomainfrom
jacob/ci/publish-benchmark-results
Open

ci: publish benchmark results#2005
typfel wants to merge 2 commits intomainfrom
jacob/ci/publish-benchmark-results

Conversation

@typfel
Copy link
Copy Markdown
Member

@typfel typfel commented Apr 1, 2026

What's new in this PR


PR Submission Checklist for internal contributors
  • The PR Title
    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

@typfel typfel requested a review from a team April 1, 2026 14:56
push:
branches:
- main
pull_request:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want this to run on every PR? I thought we'd relegated benchmarks to the overnight runs.

Comment on lines +20 to +23
- uses: actions/setup-go@v4
with:
go-version: "stable"
# Run benchmark with `go test -bench` and stores the output to a file
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see anywhere we use go test -bench, which means we probably don't need to setup go.

Comment on lines +27 to +31
- name: Download previous benchmark data
uses: actions/cache@v4
with:
path: ./cache
key: ${{ runner.os }}-benchmark
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When we were first experimenting with caching our CI pipeline, we determined that using the cache like this is easy but very fragile. Do we care if this has a moderate chance to just fail to retrieve the previous data from cache?

- name: Download previous benchmark data
uses: actions/cache@v4
with:
path: ./cache
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see a step which writes the current benchmark data to the cache anywhere. How is this populated?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is still wip not ready for review

@typfel typfel force-pushed the jacob/ci/publish-benchmark-results branch 2 times, most recently from 86a750b to db6b8a1 Compare April 2, 2026 12:48
@typfel typfel force-pushed the jacob/ci/publish-benchmark-results branch from db6b8a1 to e0d2419 Compare April 2, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants