-
Notifications
You must be signed in to change notification settings - Fork 152
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
Conversation
allows go benchmarks to work with extra metrics
9b25b77
to
a669384
Compare
847788b
to
31e8e92
Compare
test/extract.spec.ts
Outdated
@@ -174,41 +174,65 @@ describe('extractResult()', function () { | |||
tool: 'go', | |||
expected: [ | |||
{ | |||
name: 'BenchmarkFib10', | |||
name: 'BenchmarkFib10 - ns/op', |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 <[email protected]>
There was a problem hiding this 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!
Address the comments of this PR: #119