Ensure any test artifact has the job attempt number as part of the name.#3173
Merged
Conversation
This comment has been minimized.
This comment has been minimized.
pierotibou
approved these changes
Sep 6, 2022
This comment has been minimized.
This comment has been minimized.
OmerRaviv
approved these changes
Sep 6, 2022
OmerRaviv
left a comment
Collaborator
There was a problem hiding this comment.
Thanks for doing this, much needed change :)!
Member
Benchmarks Report 🐌Benchmarks for #3173 compared to master:
The following thresholds were used for comparing the benchmark speeds:
Allocation changes below 0.5% are ignored. Benchmark detailsBenchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AppSecBodyBenchmark - Slower
|
| Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.AppSecBodyBenchmark.AllCycleSimpleBody‑net472 | 1.115 | 184.10 | 205.30 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | AllCycleSimpleBody |
net472 | 184ns | 0.152ns | 0.57ns | 0.0676 | 0 | 0 | 425 B |
| master | AllCycleSimpleBody |
netcoreapp3.1 | 240ns | 0.257ns | 0.961ns | 0.00574 | 0 | 0 | 424 B |
| master | AllCycleMoreComplexBody |
net472 | 184ns | 0.175ns | 0.655ns | 0.0638 | 0 | 0 | 401 B |
| master | AllCycleMoreComplexBody |
netcoreapp3.1 | 246ns | 0.403ns | 1.56ns | 0.00539 | 0 | 0 | 400 B |
| master | BodyExtractorSimpleBody |
net472 | 257ns | 0.369ns | 1.33ns | 0.0573 | 0 | 0 | 361 B |
| master | BodyExtractorSimpleBody |
netcoreapp3.1 | 227ns | 0.39ns | 1.51ns | 0.00372 | 0 | 0 | 272 B |
| master | BodyExtractorMoreComplexBody |
net472 | 15μs | 11.9ns | 44.6ns | 1.21 | 0.015 | 0 | 7.62 KB |
| master | BodyExtractorMoreComplexBody |
netcoreapp3.1 | 11.8μs | 15.7ns | 61ns | 0.088 | 0 | 0 | 6.75 KB |
| #3173 | AllCycleSimpleBody |
net472 | 205ns | 0.176ns | 0.658ns | 0.0675 | 0 | 0 | 425 B |
| #3173 | AllCycleSimpleBody |
netcoreapp3.1 | 235ns | 0.404ns | 1.56ns | 0.0058 | 0 | 0 | 424 B |
| #3173 | AllCycleMoreComplexBody |
net472 | 207ns | 1.22ns | 12.2ns | 0.0637 | 0 | 0 | 401 B |
| #3173 | AllCycleMoreComplexBody |
netcoreapp3.1 | 233ns | 0.251ns | 0.971ns | 0.00549 | 0 | 0 | 400 B |
| #3173 | BodyExtractorSimpleBody |
net472 | 262ns | 0.254ns | 0.982ns | 0.0573 | 0 | 0 | 361 B |
| #3173 | BodyExtractorSimpleBody |
netcoreapp3.1 | 220ns | 0.217ns | 0.842ns | 0.00363 | 0 | 0 | 272 B |
| #3173 | BodyExtractorMoreComplexBody |
net472 | 14.5μs | 6.89ns | 25.8ns | 1.21 | 0.0148 | 0 | 7.62 KB |
| #3173 | BodyExtractorMoreComplexBody |
netcoreapp3.1 | 11.8μs | 13.6ns | 52.5ns | 0.0939 | 0 | 0 | 6.75 KB |
Benchmarks.Trace.AspNetCoreBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | SendRequest |
net472 | 0ns | 0ns | 0ns | 0 | 0 | 0 | 0 b |
| master | SendRequest |
netcoreapp3.1 | 181μs | 117ns | 451ns | 0.27 | 0 | 0 | 20.57 KB |
| #3173 | SendRequest |
net472 | 0ns | 0ns | 0ns | 0 | 0 | 0 | 0 b |
| #3173 | SendRequest |
netcoreapp3.1 | 184μs | 240ns | 931ns | 0.182 | 0 | 0 | 20.57 KB |
Benchmarks.Trace.DbCommandBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | ExecuteNonQuery |
net472 | 1.87μs | 0.659ns | 2.55ns | 0.15 | 0.000933 | 0 | 947 B |
| master | ExecuteNonQuery |
netcoreapp3.1 | 1.37μs | 0.871ns | 3.26ns | 0.0123 | 0 | 0 | 936 B |
| #3173 | ExecuteNonQuery |
net472 | 1.86μs | 0.536ns | 1.93ns | 0.15 | 0.000923 | 0 | 947 B |
| #3173 | ExecuteNonQuery |
netcoreapp3.1 | 1.42μs | 0.723ns | 2.8ns | 0.0122 | 0 | 0 | 936 B |
Benchmarks.Trace.ElasticsearchBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | CallElasticsearch |
net472 | 2.61μs | 0.914ns | 3.42ns | 0.183 | 0 | 0 | 1.16 KB |
| master | CallElasticsearch |
netcoreapp3.1 | 1.62μs | 0.921ns | 3.45ns | 0.0146 | 0 | 0 | 1.1 KB |
| master | CallElasticsearchAsync |
net472 | 2.65μs | 9.11ns | 37.5ns | 0.204 | 0 | 0 | 1.29 KB |
| master | CallElasticsearchAsync |
netcoreapp3.1 | 1.64μs | 0.577ns | 2.23ns | 0.0167 | 0 | 0 | 1.22 KB |
| #3173 | CallElasticsearch |
net472 | 2.52μs | 0.541ns | 1.95ns | 0.183 | 0 | 0 | 1.16 KB |
| #3173 | CallElasticsearch |
netcoreapp3.1 | 1.55μs | 0.833ns | 3.23ns | 0.0148 | 0 | 0 | 1.1 KB |
| #3173 | CallElasticsearchAsync |
net472 | 2.63μs | 0.833ns | 3ns | 0.205 | 0 | 0 | 1.29 KB |
| #3173 | CallElasticsearchAsync |
netcoreapp3.1 | 1.64μs | 0.529ns | 1.91ns | 0.0165 | 0 | 0 | 1.22 KB |
Benchmarks.Trace.GraphQLBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | ExecuteAsync |
net472 | 2.56μs | 4.41ns | 17.1ns | 0.225 | 0 | 0 | 1.42 KB |
| master | ExecuteAsync |
netcoreapp3.1 | 1.72μs | 4.16ns | 16.1ns | 0.0187 | 0 | 0 | 1.34 KB |
| #3173 | ExecuteAsync |
net472 | 2.56μs | 4.34ns | 16.8ns | 0.225 | 0 | 0 | 1.42 KB |
| #3173 | ExecuteAsync |
netcoreapp3.1 | 1.73μs | 4.8ns | 17.9ns | 0.0183 | 0 | 0 | 1.34 KB |
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | SendAsync |
net472 | 5.66μs | 11.6ns | 45ns | 0.437 | 0 | 0 | 2.77 KB |
| master | SendAsync |
netcoreapp3.1 | 3.57μs | 8.98ns | 33.6ns | 0.0353 | 0 | 0 | 2.6 KB |
| #3173 | SendAsync |
net472 | 5.6μs | 10.5ns | 40.9ns | 0.438 | 0 | 0 | 2.77 KB |
| #3173 | SendAsync |
netcoreapp3.1 | 3.58μs | 9.05ns | 35ns | 0.034 | 0 | 0 | 2.6 KB |
Benchmarks.Trace.ILoggerBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net472 | 3.34μs | 9.1ns | 34ns | 0.288 | 0 | 0 | 1.81 KB |
| master | EnrichedLog |
netcoreapp3.1 | 2.62μs | 1.56ns | 5.82ns | 0.0248 | 0 | 0 | 1.85 KB |
| #3173 | EnrichedLog |
net472 | 3.22μs | 2.69ns | 10.4ns | 0.288 | 0 | 0 | 1.81 KB |
| #3173 | EnrichedLog |
netcoreapp3.1 | 2.51μs | 0.992ns | 3.84ns | 0.025 | 0 | 0 | 1.85 KB |
Benchmarks.Trace.Log4netBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net472 | 150μs | 88.6ns | 332ns | 0.67 | 0.223 | 0 | 4.65 KB |
| master | EnrichedLog |
netcoreapp3.1 | 117μs | 182ns | 706ns | 0.0581 | 0 | 0 | 4.49 KB |
| #3173 | EnrichedLog |
net472 | 151μs | 91.5ns | 343ns | 0.683 | 0.228 | 0 | 4.65 KB |
| #3173 | EnrichedLog |
netcoreapp3.1 | 114μs | 142ns | 549ns | 0.0582 | 0 | 0 | 4.49 KB |
Benchmarks.Trace.NLogBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net472 | 5.54μs | 12.7ns | 49.2ns | 0.568 | 0.00273 | 0 | 3.59 KB |
| master | EnrichedLog |
netcoreapp3.1 | 4.32μs | 9.85ns | 38.1ns | 0.0525 | 0 | 0 | 3.91 KB |
| #3173 | EnrichedLog |
net472 | 5.62μs | 10.6ns | 38.1ns | 0.568 | 0.00284 | 0 | 3.59 KB |
| #3173 | EnrichedLog |
netcoreapp3.1 | 4.36μs | 6.95ns | 26.9ns | 0.0544 | 0 | 0 | 3.91 KB |
Benchmarks.Trace.RedisBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | SendReceive |
net472 | 2.27μs | 0.776ns | 2.9ns | 0.218 | 0 | 0 | 1.37 KB |
| master | SendReceive |
netcoreapp3.1 | 1.79μs | 2.92ns | 10.9ns | 0.0178 | 0 | 0 | 1.32 KB |
| #3173 | SendReceive |
net472 | 2.32μs | 11.8ns | 51.6ns | 0.217 | 0 | 0 | 1.37 KB |
| #3173 | SendReceive |
netcoreapp3.1 | 1.87μs | 0.552ns | 2.14ns | 0.0178 | 0 | 0 | 1.32 KB |
Benchmarks.Trace.SerilogBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net472 | 5μs | 1.79ns | 6.94ns | 0.354 | 0 | 0 | 2.23 KB |
| master | EnrichedLog |
netcoreapp3.1 | 4.36μs | 1.22ns | 4.73ns | 0.024 | 0 | 0 | 1.8 KB |
| #3173 | EnrichedLog |
net472 | 5.01μs | 3.1ns | 12ns | 0.353 | 0 | 0 | 2.23 KB |
| #3173 | EnrichedLog |
netcoreapp3.1 | 4.34μs | 1.68ns | 6.49ns | 0.0238 | 0 | 0 | 1.8 KB |
Benchmarks.Trace.SpanBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StartFinishSpan |
net472 | 1.09μs | 0.485ns | 1.88ns | 0.129 | 0 | 0 | 810 B |
| master | StartFinishSpan |
netcoreapp3.1 | 929ns | 0.334ns | 1.25ns | 0.0102 | 0 | 0 | 760 B |
| master | StartFinishScope |
net472 | 1.35μs | 0.518ns | 1.94ns | 0.141 | 0 | 0 | 891 B |
| master | StartFinishScope |
netcoreapp3.1 | 1.13μs | 0.302ns | 1.13ns | 0.0119 | 0 | 0 | 880 B |
| #3173 | StartFinishSpan |
net472 | 1.12μs | 0.305ns | 1.14ns | 0.128 | 0 | 0 | 810 B |
| #3173 | StartFinishSpan |
netcoreapp3.1 | 919ns | 0.201ns | 0.752ns | 0.0101 | 0 | 0 | 760 B |
| #3173 | StartFinishScope |
net472 | 1.47μs | 0.561ns | 2.17ns | 0.141 | 0 | 0 | 891 B |
| #3173 | StartFinishScope |
netcoreapp3.1 | 1.08μs | 0.3ns | 1.12ns | 0.0122 | 0 | 0 | 880 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | RunOnMethodBegin |
net472 | 1.53μs | 0.587ns | 2.27ns | 0.141 | 0 | 0 | 891 B |
| master | RunOnMethodBegin |
netcoreapp3.1 | 1.21μs | 0.32ns | 1.2ns | 0.012 | 0 | 0 | 880 B |
| #3173 | RunOnMethodBegin |
net472 | 1.5μs | 0.424ns | 1.64ns | 0.141 | 0 | 0 | 891 B |
| #3173 | RunOnMethodBegin |
netcoreapp3.1 | 1.14μs | 1.33ns | 5.17ns | 0.012 | 0 | 0 | 880 B |
Member
Code Coverage Report 📊✔️ Merging #3173 into master will not change line coverage
View the full report for further details: Datadog.Trace Breakdown ✔️
The following classes have significant coverage changes.
5 classes were removed from Datadog.Trace in #3173 View the full reports for further details: |
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.
Upload of a second attempt would fail otherwise.