Refactoring span benchmarking as per the spec#2186
Refactoring span benchmarking as per the spec#2186jkwatson merged 2 commits intoopen-telemetry:masterfrom srprash:span_benchmarking
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2186 +/- ##
============================================
+ Coverage 85.02% 85.77% +0.75%
- Complexity 2168 2209 +41
============================================
Files 248 254 +6
Lines 8318 8363 +45
Branches 924 922 -2
============================================
+ Hits 7072 7173 +101
+ Misses 909 860 -49
+ Partials 337 330 -7 Continue to review full report at Codecov.
|
|
The specification you reference also includes testing the export pipeline through the OTLP exporter, which isn't included in this benchmark (intentionally). What are your thoughts about testing the full scenario that is described by the spec? I'm not opposed to changing this benchmark code (although now any older benchmarks become irrelevant, because the scenario has changed), but I wouldn't want to say that the performance testing described in that spec is complete, unfortunately. |
|
Yes. I'm working on adding the benchmark with the OTLP exporter in the SpanPipelineBenchmark. I'll add that here in subsequent commits. That would make the benchmark complete. |
|
@jkwatson When you say "although now any older benchmarks become irrelevant, because the scenario has changed", are the older benchmarks published somewhere? |
Hmm. possibly? Maybe on the original PR that submitted them, if anywhere. As I said...it's not a strong objection, just a thought I had. |
I'd be happy to get this bit in first, if you'd prefer; I just wanted to make sure we didn't think we were done with just this change. :) |
Sure, I'd prefer this to be merged in. And I acknowledge that we need the benchmarks with OTLP exporter as well, which I'll do in a separate PR. |
Making the following changes to span creation according to the span configuration for performance benchmarking:
The benchmark result on a m5.xlarge EC2 instance: