Add benchmark tests for OTLP exporter#163
Merged
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #163 +/- ##
=======================================
Coverage 94.11% 94.11%
=======================================
Files 74 74
Lines 1802 1802
=======================================
Hits 1696 1696
Misses 106 106 |
pyohannes
reviewed
Jul 8, 2020
Contributor
pyohannes
left a comment
There was a problem hiding this comment.
Looks good. This will give a good foundation for further optimization work.
Those are results from the CI pipeline, based on an optimized build:
2020-07-08 22:05:13
Running bazel-out/host/bin/exporters/otlp/otlp_exporter_benchmark
Run on (2 X 2394.45 MHz CPU s)
CPU Caches:
L1 Data 32K (x2)
L1 Instruction 32K (x2)
L2 Unified 256K (x2)
L3 Unified 30720K (x1)
Load Average: 2.04, 1.70, 0.86
--------------------------------------------------------------------
Benchmark Time CPU Iterations
--------------------------------------------------------------------
BM_OtlpExporterFullSpans 110022 ns 109842 ns 1323
BM_OtlpExporterEmptySpans 25786 ns 25787 ns 5400
snehilchopra
reviewed
Jul 9, 2020
snehilchopra
reviewed
Jul 9, 2020
IlyaKobelevskiy
approved these changes
Jul 9, 2020
pyohannes
approved these changes
Jul 9, 2020
snehilchopra
reviewed
Jul 9, 2020
|
LGTM :) |
Contributor
Author
|
@reyang Ready to merge! :) |
Member
|
@nadiaciobanu would you rebase? Thanks. |
Closed
GerHobbelt
pushed a commit
to GerHobbelt/opentelemetry-cpp
that referenced
this pull request
Jun 17, 2025
…e-3.x Update dependency rules_apple to v3.17.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Benchmark
Export()for the OTLP exporter using empty, sparse and dense spans. Empty spans are completely empty, sparse spans are minimal spans (containing name, ids, start time and duration) and dense spans also have attributes set.Sample output using optimized build: