Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: extract multiple metrics from golang benchmarks #177

Merged
merged 2 commits into from
Jul 7, 2023

Conversation

ningziwen
Copy link
Member

Address the comments of this PR: #119

allows go benchmarks to work with extra metrics
@ningziwen ningziwen requested a review from ktrz July 4, 2023 20:55
@ningziwen ningziwen force-pushed the multiple branch 7 times, most recently from 9b25b77 to a669384 Compare July 5, 2023 00:35
@ningziwen ningziwen force-pushed the multiple branch 3 times, most recently from 847788b to 31e8e92 Compare July 7, 2023 00:16
@@ -174,41 +174,65 @@ describe('extractResult()', function () {
tool: 'go',
expected: [
{
name: 'BenchmarkFib10',
name: 'BenchmarkFib10 - ns/op',
Copy link
Member

Choose a reason for hiding this comment

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

I think this would be a breaking change for all the existing users. I suppose we need to treat the single metric differently and not append anything to the name

Copy link
Member Author

Choose a reason for hiding this comment

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

Makes sense. Fixed. @ktrz

Signed-off-by: Ziwen Ning <ningziwe@amazon.com>
Copy link
Member

@ktrz ktrz left a comment

Choose a reason for hiding this comment

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

Thanks for addressing all my comments! LGTM!

@ktrz ktrz merged commit 0c70f15 into benchmark-action:master Jul 7, 2023
21 checks passed
@gaby gaby mentioned this pull request Feb 1, 2024
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.

3 participants