[Profiler] Bump libdatadog 13.1#6112
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 364946 Passed, 2361 Skipped, 17h 7m 6.8s Total Time |
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing the following branches/commits: Execution-time benchmarks measure the whole time it takes to execute a program. And are intended to measure the one-off costs. Cases where the execution time results for the PR are worse than latest master results are shown in red. The following thresholds were used for comparing the execution times:
Note that these results are based on a single point-in-time result for each branch. For full results, see the dashboard. Graphs show the p99 interval based on the mean and StdDev of the test run, as well as the mean value of the run (shown as a diamond below the graph). gantt
title Execution time (ms) FakeDbCommand (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6112) - mean (70ms) : 68, 73
. : milestone, 70,
master - mean (70ms) : 68, 72
. : milestone, 70,
section CallTarget+Inlining+NGEN
This PR (6112) - mean (1,109ms) : 1080, 1138
. : milestone, 1109,
master - mean (1,105ms) : 1087, 1123
. : milestone, 1105,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6112) - mean (109ms) : 106, 112
. : milestone, 109,
master - mean (109ms) : 106, 112
. : milestone, 109,
section CallTarget+Inlining+NGEN
This PR (6112) - mean (774ms) : 758, 790
. : milestone, 774,
master - mean (772ms) : 756, 787
. : milestone, 772,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6112) - mean (93ms) : 89, 97
. : milestone, 93,
master - mean (93ms) : 90, 96
. : milestone, 93,
section CallTarget+Inlining+NGEN
This PR (6112) - mean (732ms) : 713, 750
. : milestone, 732,
master - mean (727ms) : 709, 744
. : milestone, 727,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6112) - mean (190ms) : 187, 193
. : milestone, 190,
master - mean (191ms) : 187, 194
. : milestone, 191,
section CallTarget+Inlining+NGEN
This PR (6112) - mean (1,200ms) : 1175, 1226
. : milestone, 1200,
master - mean (1,194ms) : 1165, 1223
. : milestone, 1194,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6112) - mean (276ms) : 272, 281
. : milestone, 276,
master - mean (276ms) : 271, 280
. : milestone, 276,
section CallTarget+Inlining+NGEN
This PR (6112) - mean (940ms) : 919, 960
. : milestone, 940,
master - mean (936ms) : 920, 952
. : milestone, 936,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6112) - mean (265ms) : 261, 269
. : milestone, 265,
master - mean (265ms) : 261, 269
. : milestone, 265,
section CallTarget+Inlining+NGEN
This PR (6112) - mean (922ms) : 905, 939
. : milestone, 922,
master - mean (923ms) : 906, 940
. : milestone, 923,
|
Benchmarks Report for tracer 🐌Benchmarks for #6112 compared to master:
The following thresholds were used for comparing the benchmark speeds:
Allocation changes below 0.5% are ignored. Benchmark detailsBenchmarks.Trace.ActivityBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AspNetCoreBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.DbCommandBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.ElasticsearchBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.GraphQLBenchmark - Slower
|
| Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync‑net6.0 | 1.181 | 1,176.20 | 1,388.84 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | ExecuteAsync |
net6.0 | 1.18μs | 1ns | 3.88ns | 0.0136 | 0 | 0 | 952 B |
| master | ExecuteAsync |
netcoreapp3.1 | 1.63μs | 0.98ns | 3.79ns | 0.013 | 0 | 0 | 952 B |
| master | ExecuteAsync |
net472 | 1.8μs | 0.934ns | 3.62ns | 0.145 | 0 | 0 | 915 B |
| #6112 | ExecuteAsync |
net6.0 | 1.39μs | 1.03ns | 4ns | 0.0133 | 0 | 0 | 952 B |
| #6112 | ExecuteAsync |
netcoreapp3.1 | 1.58μs | 2.56ns | 9.59ns | 0.0126 | 0 | 0 | 952 B |
| #6112 | ExecuteAsync |
net472 | 1.76μs | 0.883ns | 3.42ns | 0.145 | 0 | 0 | 915 B |
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | SendAsync |
net6.0 | 4.15μs | 1.11ns | 4.16ns | 0.0312 | 0 | 0 | 2.22 KB |
| master | SendAsync |
netcoreapp3.1 | 5.16μs | 3.65ns | 14.2ns | 0.0363 | 0 | 0 | 2.76 KB |
| master | SendAsync |
net472 | 7.71μs | 1ns | 3.75ns | 0.498 | 0 | 0 | 3.15 KB |
| #6112 | SendAsync |
net6.0 | 4.07μs | 1.09ns | 4.22ns | 0.0307 | 0 | 0 | 2.22 KB |
| #6112 | SendAsync |
netcoreapp3.1 | 5.07μs | 2.17ns | 8.11ns | 0.0359 | 0 | 0 | 2.76 KB |
| #6112 | SendAsync |
net472 | 7.79μs | 1.68ns | 6.49ns | 0.498 | 0 | 0 | 3.15 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 |
net6.0 | 1.45μs | 1.04ns | 4.03ns | 0.0231 | 0 | 0 | 1.64 KB |
| master | EnrichedLog |
netcoreapp3.1 | 2.33μs | 0.69ns | 2.49ns | 0.0222 | 0 | 0 | 1.64 KB |
| master | EnrichedLog |
net472 | 2.64μs | 0.792ns | 3.07ns | 0.249 | 0 | 0 | 1.57 KB |
| #6112 | EnrichedLog |
net6.0 | 1.59μs | 0.816ns | 3.16ns | 0.023 | 0 | 0 | 1.64 KB |
| #6112 | EnrichedLog |
netcoreapp3.1 | 2.11μs | 1.26ns | 4.86ns | 0.0222 | 0 | 0 | 1.64 KB |
| #6112 | EnrichedLog |
net472 | 2.47μs | 1.29ns | 5.01ns | 0.249 | 0 | 0 | 1.57 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 |
net6.0 | 114μs | 183ns | 710ns | 0.0571 | 0 | 0 | 4.28 KB |
| master | EnrichedLog |
netcoreapp3.1 | 118μs | 187ns | 725ns | 0.0587 | 0 | 0 | 4.28 KB |
| master | EnrichedLog |
net472 | 145μs | 92.6ns | 346ns | 0.655 | 0.218 | 0 | 4.46 KB |
| #6112 | EnrichedLog |
net6.0 | 115μs | 438ns | 1.7μs | 0.0576 | 0 | 0 | 4.28 KB |
| #6112 | EnrichedLog |
netcoreapp3.1 | 118μs | 103ns | 386ns | 0.0588 | 0 | 0 | 4.28 KB |
| #6112 | EnrichedLog |
net472 | 146μs | 137ns | 531ns | 0.655 | 0.218 | 0 | 4.46 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 |
net6.0 | 3μs | 1.18ns | 4.57ns | 0.0304 | 0 | 0 | 2.2 KB |
| master | EnrichedLog |
netcoreapp3.1 | 4.27μs | 1.47ns | 5.68ns | 0.0299 | 0 | 0 | 2.2 KB |
| master | EnrichedLog |
net472 | 5.14μs | 1.32ns | 4.92ns | 0.321 | 0 | 0 | 2.02 KB |
| #6112 | EnrichedLog |
net6.0 | 3.13μs | 0.7ns | 2.62ns | 0.0316 | 0 | 0 | 2.2 KB |
| #6112 | EnrichedLog |
netcoreapp3.1 | 4.26μs | 1.44ns | 5.58ns | 0.0278 | 0 | 0 | 2.2 KB |
| #6112 | EnrichedLog |
net472 | 4.87μs | 1.61ns | 6.25ns | 0.32 | 0 | 0 | 2.02 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 |
net6.0 | 1.25μs | 0.623ns | 2.33ns | 0.0161 | 0 | 0 | 1.14 KB |
| master | SendReceive |
netcoreapp3.1 | 1.81μs | 0.797ns | 2.98ns | 0.0151 | 0 | 0 | 1.14 KB |
| master | SendReceive |
net472 | 2.13μs | 2.36ns | 8.83ns | 0.183 | 0.00105 | 0 | 1.16 KB |
| #6112 | SendReceive |
net6.0 | 1.36μs | 0.492ns | 1.71ns | 0.0162 | 0 | 0 | 1.14 KB |
| #6112 | SendReceive |
netcoreapp3.1 | 1.73μs | 1.12ns | 4.34ns | 0.0157 | 0 | 0 | 1.14 KB |
| #6112 | SendReceive |
net472 | 2.02μs | 0.94ns | 3.64ns | 0.183 | 0.00101 | 0 | 1.16 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 |
net6.0 | 2.69μs | 1.31ns | 5.06ns | 0.023 | 0 | 0 | 1.6 KB |
| master | EnrichedLog |
netcoreapp3.1 | 3.93μs | 1.14ns | 4.4ns | 0.0216 | 0 | 0 | 1.65 KB |
| master | EnrichedLog |
net472 | 4.37μs | 2.39ns | 9.26ns | 0.322 | 0 | 0 | 2.04 KB |
| #6112 | EnrichedLog |
net6.0 | 2.76μs | 1.06ns | 4.12ns | 0.0221 | 0 | 0 | 1.6 KB |
| #6112 | EnrichedLog |
netcoreapp3.1 | 3.82μs | 1.79ns | 6.93ns | 0.0211 | 0 | 0 | 1.65 KB |
| #6112 | EnrichedLog |
net472 | 4.44μs | 2.14ns | 8.3ns | 0.322 | 0 | 0 | 2.04 KB |
Benchmarks.Trace.SpanBenchmark - Slower ⚠️ Same allocations ✔️
Slower ⚠️ in #6112
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑netcoreapp3.1
1.125
547.27
615.47
Faster 🎉 in #6112
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net6.0
1.133
452.12
399.03
| Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑netcoreapp3.1 | 1.125 | 547.27 | 615.47 |
| Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net6.0 | 1.133 | 452.12 | 399.03 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StartFinishSpan |
net6.0 | 452ns | 0.439ns | 1.7ns | 0.00798 | 0 | 0 | 576 B |
| master | StartFinishSpan |
netcoreapp3.1 | 547ns | 0.379ns | 1.47ns | 0.00794 | 0 | 0 | 576 B |
| master | StartFinishSpan |
net472 | 660ns | 0.378ns | 1.46ns | 0.0917 | 0 | 0 | 578 B |
| master | StartFinishScope |
net6.0 | 482ns | 0.408ns | 1.58ns | 0.00983 | 0 | 0 | 696 B |
| master | StartFinishScope |
netcoreapp3.1 | 677ns | 1.07ns | 4.16ns | 0.00943 | 0 | 0 | 696 B |
| master | StartFinishScope |
net472 | 844ns | 1.36ns | 5.26ns | 0.104 | 0 | 0 | 658 B |
| #6112 | StartFinishSpan |
net6.0 | 398ns | 0.496ns | 1.92ns | 0.00818 | 0 | 0 | 576 B |
| #6112 | StartFinishSpan |
netcoreapp3.1 | 614ns | 0.906ns | 3.51ns | 0.00795 | 0 | 0 | 576 B |
| #6112 | StartFinishSpan |
net472 | 637ns | 0.501ns | 1.94ns | 0.0918 | 0 | 0 | 578 B |
| #6112 | StartFinishScope |
net6.0 | 478ns | 1.33ns | 4.99ns | 0.00975 | 0 | 0 | 696 B |
| #6112 | StartFinishScope |
netcoreapp3.1 | 666ns | 0.535ns | 2.07ns | 0.00931 | 0 | 0 | 696 B |
| #6112 | StartFinishScope |
net472 | 892ns | 0.933ns | 3.61ns | 0.105 | 0 | 0 | 658 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Slower ⚠️ Same allocations ✔️
Slower ⚠️ in #6112
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0
1.126
657.71
740.47
| Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0 | 1.126 | 657.71 | 740.47 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | RunOnMethodBegin |
net6.0 | 658ns | 0.387ns | 1.5ns | 0.00982 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
netcoreapp3.1 | 916ns | 0.802ns | 3.11ns | 0.00933 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
net472 | 1.1μs | 1.28ns | 4.97ns | 0.104 | 0 | 0 | 658 B |
| #6112 | RunOnMethodBegin |
net6.0 | 741ns | 0.328ns | 1.27ns | 0.00964 | 0 | 0 | 696 B |
| #6112 | RunOnMethodBegin |
netcoreapp3.1 | 850ns | 0.875ns | 3.39ns | 0.00917 | 0 | 0 | 696 B |
| #6112 | RunOnMethodBegin |
net472 | 1.11μs | 0.784ns | 3.04ns | 0.105 | 0 | 0 | 658 B |
Summary of changes
Bump libdatadog to v13.1
Reason for change
Benefit from support for PDB in libdatadog.
Implementation details
Test coverage
Other details