[Profiler] Add the profiler deployment script to the bumping process#2705
Merged
Merged
Conversation
andrewlock
approved these changes
Apr 20, 2022
pierotibou
approved these changes
Apr 20, 2022
Member
Code Coverage Report 📊
View the full report for further details: Datadog.Trace Breakdown
|
| master | #2705 | Change | |
|---|---|---|---|
| Lines % | 73% |
72% |
-1% |
| Branches % | 70% |
70% |
-1% |
| Complexity | 12416 |
12624 |
208 ⛔ |
The following classes have significant coverage changes.
| File | Line coverage change | Branch coverage change | Complexity change |
|---|---|---|---|
| Datadog.Trace.TracerManager | -30% ⛔ |
-34% ⛔ |
88 ⛔ |
| Datadog.Trace.TracerManagerFactory | -28% ⛔ |
-37% ⛔ |
60 ⛔ |
| Datadog.Trace.Ci.GitInfo | -17% ⛔ |
-11% ⛔ |
0 ✔️ |
| Datadog.Trace.Configuration.ImmutableTracerSettings | -7% ⛔ |
-5% ⛔ |
21 ⛔ |
| Datadog.Trace.Configuration.TracerSettings | -6% ⛔ |
-8% ⛔ |
37 ⛔ |
| Datadog.Trace.Ci.CIVisibility | 7% ✔️ |
7% ✔️ |
0 ✔️ |
| Datadog.Trace.Telemetry.JsonWebRequestTelemetryTransport | 27% ✔️ |
57% ✔️ |
0 ✔️ |
View the full reports for further details:
Member
Benchmarks Report 🐌Benchmarks for #2705 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 - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AspNetCoreBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.DbCommandBenchmark - Faster 🎉 Same allocations ✔️
|
| Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.DbCommandBenchmark.ExecuteNonQuery‑net472 | 1.301 | 2,239.68 | 1,720.97 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | ExecuteNonQuery |
net472 | 2.24μs | 11.3ns | 49.4ns | 0.0938 | 0 | 0 | 594 B |
| master | ExecuteNonQuery |
netcoreapp3.1 | 1.5μs | 7.03ns | 27.2ns | 0.00888 | 0 | 0 | 632 B |
| #2705 | ExecuteNonQuery |
net472 | 1.73μs | 9.65ns | 62.5ns | 0.0936 | 0.000821 | 0 | 594 B |
| #2705 | ExecuteNonQuery |
netcoreapp3.1 | 1.54μs | 6.97ns | 27ns | 0.00844 | 0 | 0 | 632 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.77μs | 15.9ns | 120ns | 0.125 | 0 | 0 | 802 B |
| master | CallElasticsearch |
netcoreapp3.1 | 1.81μs | 9.39ns | 46ns | 0.0107 | 0 | 0 | 792 B |
| master | CallElasticsearchAsync |
net472 | 2.98μs | 12ns | 45ns | 0.149 | 0.00148 | 0 | 939 B |
| master | CallElasticsearchAsync |
netcoreapp3.1 | 1.84μs | 8.07ns | 31.3ns | 0.0127 | 0 | 0 | 912 B |
| #2705 | CallElasticsearch |
net472 | 2.91μs | 15.2ns | 76ns | 0.126 | 0 | 0 | 803 B |
| #2705 | CallElasticsearch |
netcoreapp3.1 | 1.72μs | 6.53ns | 25.3ns | 0.0107 | 0 | 0 | 792 B |
| #2705 | CallElasticsearchAsync |
net472 | 3.06μs | 16.8ns | 138ns | 0.147 | 0 | 0 | 939 B |
| #2705 | CallElasticsearchAsync |
netcoreapp3.1 | 1.93μs | 8.97ns | 33.6ns | 0.0126 | 0 | 0 | 912 B |
Benchmarks.Trace.GraphQLBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #2705
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync‑net472
1.178
3,818.05
3,240.97
| Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync‑net472 | 1.178 | 3,818.05 | 3,240.97 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | ExecuteAsync |
net472 | 3.81μs | 19.9ns | 93.4ns | 0.167 | 0.00177 | 0 | 1.06 KB |
| master | ExecuteAsync |
netcoreapp3.1 | 2.12μs | 11.6ns | 90.7ns | 0.0138 | 0 | 0 | 1.03 KB |
| #2705 | ExecuteAsync |
net472 | 3.23μs | 16.5ns | 75.5ns | 0.167 | 0.00165 | 0 | 1.06 KB |
| #2705 | ExecuteAsync |
netcoreapp3.1 | 2.15μs | 7.3ns | 28.3ns | 0.0139 | 0 | 0 | 1.03 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 | 7.23μs | 33.9ns | 140ns | 0.361 | 0 | 0 | 2.28 KB |
| master | SendAsync |
netcoreapp3.1 | 4.96μs | 19.8ns | 74.2ns | 0.0293 | 0 | 0 | 2.21 KB |
| #2705 | SendAsync |
net472 | 7.19μs | 36.2ns | 201ns | 0.359 | 0 | 0 | 2.28 KB |
| #2705 | SendAsync |
netcoreapp3.1 | 5.54μs | 26.3ns | 153ns | 0.0304 | 0 | 0 | 2.21 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.43μs | 18.7ns | 106ns | 0.227 | 0 | 0 | 1.45 KB |
| master | EnrichedLog |
netcoreapp3.1 | 3.22μs | 18.2ns | 124ns | 0.0211 | 0 | 0 | 1.53 KB |
| #2705 | EnrichedLog |
net472 | 3.42μs | 17ns | 74.1ns | 0.227 | 0 | 0 | 1.45 KB |
| #2705 | EnrichedLog |
netcoreapp3.1 | 3.25μs | 18ns | 103ns | 0.0208 | 0 | 0 | 1.53 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 | 290μs | 1.56μs | 8.54μs | 0.424 | 0.141 | 0 | 4.33 KB |
| master | EnrichedLog |
netcoreapp3.1 | 232μs | 1.04μs | 4.04μs | 0 | 0 | 0 | 4.21 KB |
| #2705 | EnrichedLog |
net472 | 295μs | 1.63μs | 10.4μs | 0.442 | 0.147 | 0 | 4.33 KB |
| #2705 | EnrichedLog |
netcoreapp3.1 | 242μs | 1.36μs | 8.81μs | 0 | 0 | 0 | 4.21 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 | 7.64μs | 36.1ns | 140ns | 0.507 | 0 | 0 | 3.23 KB |
| master | EnrichedLog |
netcoreapp3.1 | 6.92μs | 37ns | 248ns | 0.0492 | 0 | 0 | 3.6 KB |
| #2705 | EnrichedLog |
net472 | 7.99μs | 45.8ns | 358ns | 0.504 | 0 | 0 | 3.23 KB |
| #2705 | EnrichedLog |
netcoreapp3.1 | 6.45μs | 33.6ns | 158ns | 0.0509 | 0 | 0 | 3.6 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.39μs | 13.4ns | 84.6ns | 0.158 | 0 | 0 | 1.01 KB |
| master | SendReceive |
netcoreapp3.1 | 2.08μs | 7.63ns | 33.3ns | 0.0142 | 0 | 0 | 1.01 KB |
| #2705 | SendReceive |
net472 | 2.54μs | 10.7ns | 41.6ns | 0.16 | 0.00125 | 0 | 1.01 KB |
| #2705 | SendReceive |
netcoreapp3.1 | 2.2μs | 10.2ns | 39.3ns | 0.0138 | 0 | 0 | 1.01 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 | 6.22μs | 25.7ns | 96.3ns | 0.293 | 0 | 0 | 1.87 KB |
| master | EnrichedLog |
netcoreapp3.1 | 5.36μs | 20.5ns | 79.5ns | 0.0184 | 0 | 0 | 1.49 KB |
| #2705 | EnrichedLog |
net472 | 6.17μs | 33.4ns | 177ns | 0.29 | 0 | 0 | 1.87 KB |
| #2705 | EnrichedLog |
netcoreapp3.1 | 5.45μs | 28.2ns | 129ns | 0.0188 | 0 | 0 | 1.49 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 | 908ns | 4.27ns | 16.5ns | 0.0716 | 0 | 0 | 457 B |
| master | StartFinishSpan |
netcoreapp3.1 | 879ns | 3.82ns | 14.8ns | 0.00615 | 0 | 0 | 456 B |
| master | StartFinishScope |
net472 | 1.1μs | 5.92ns | 31.9ns | 0.0846 | 0 | 0 | 538 B |
| master | StartFinishScope |
netcoreapp3.1 | 1.06μs | 5.27ns | 23.6ns | 0.00784 | 0 | 0 | 576 B |
| #2705 | StartFinishSpan |
net472 | 1.01μs | 5.03ns | 22.5ns | 0.0719 | 0 | 0 | 457 B |
| #2705 | StartFinishSpan |
netcoreapp3.1 | 901ns | 4.53ns | 19.2ns | 0.006 | 0 | 0 | 456 B |
| #2705 | StartFinishScope |
net472 | 1.11μs | 6.12ns | 39.2ns | 0.0844 | 0 | 0 | 538 B |
| #2705 | StartFinishScope |
netcoreapp3.1 | 1.1μs | 6.34ns | 50.3ns | 0.00775 | 0 | 0 | 576 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.39μs | 7.63ns | 47.7ns | 0.0838 | 0 | 0 | 538 B |
| master | RunOnMethodBegin |
netcoreapp3.1 | 1.2μs | 6.26ns | 31.3ns | 0.00764 | 0 | 0 | 576 B |
| #2705 | RunOnMethodBegin |
net472 | 1.25μs | 3.18ns | 11ns | 0.0844 | 0 | 0 | 538 B |
| #2705 | RunOnMethodBegin |
netcoreapp3.1 | 1.29μs | 7.23ns | 49.6ns | 0.00801 | 0 | 0 | 576 B |
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.
The previous script was not working correctly. So move to a well-known/working one.