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

fix benchmark error, with always/never sample and add benchmark setAttribute vs setAttributes #325

Merged
merged 2 commits into from
Nov 20, 2019
Merged

Conversation

paivagustavo
Copy link
Member

I've changed three things with this PR.

  1. The tracer SDK benchmarks was designed to run with 2 configs, first with AlwaysSample and then with NeverSample but it was running the AlwaysSample twice.

  2. There was one failing benchmark, when I've changed the TraceID to byte array that was expecting the wrong TraceID, my bad.

  3. Also, I've added a benchmark with a hot discussion about variadic functions vs singular functions (e.g., setAttribute vs setAttributes) so we can take better discussion about the pros and cons of each alternative. (see Remove Span.SetAttribute #302, Suggestion: Add WithAttribute option #310, and Suggestion re: span start/end option naming #197)

@jmacd
Copy link
Contributor

jmacd commented Nov 20, 2019

This is unobjectionable--merging.

@jmacd jmacd merged commit 2c437c9 into open-telemetry:master Nov 20, 2019
@paivagustavo paivagustavo deleted the fix-benchmarks branch November 22, 2019 03:19
hstan referenced this pull request in hstan/opentelemetry-go Oct 15, 2020
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