-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Fix" timeouts in SSI run #6117
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 371461 Passed, 2727 Skipped, 50h 7m 54.81s 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 (6117) - mean (71ms) : 67, 74
. : milestone, 71,
master - mean (70ms) : 68, 73
. : milestone, 70,
section CallTarget+Inlining+NGEN
This PR (6117) - mean (1,109ms) : 1085, 1134
. : milestone, 1109,
master - mean (1,109ms) : 1085, 1132
. : milestone, 1109,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6117) - mean (111ms) : 107, 115
. : milestone, 111,
master - mean (110ms) : 107, 114
. : milestone, 110,
section CallTarget+Inlining+NGEN
This PR (6117) - mean (771ms) : 754, 788
. : milestone, 771,
master - mean (773ms) : 756, 790
. : milestone, 773,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6117) - mean (93ms) : 90, 96
. : milestone, 93,
master - mean (93ms) : 89, 97
. : milestone, 93,
section CallTarget+Inlining+NGEN
This PR (6117) - mean (728ms) : 712, 744
. : milestone, 728,
master - mean (731ms) : 710, 753
. : milestone, 731,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6117) - mean (191ms) : 188, 194
. : milestone, 191,
master - mean (190ms) : 187, 194
. : milestone, 190,
section CallTarget+Inlining+NGEN
This PR (6117) - mean (1,197ms) : 1174, 1220
. : milestone, 1197,
master - mean (1,200ms) : 1173, 1227
. : milestone, 1200,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6117) - mean (277ms) : 273, 282
. : milestone, 277,
master - mean (276ms) : 272, 281
. : milestone, 276,
section CallTarget+Inlining+NGEN
This PR (6117) - mean (939ms) : 921, 957
. : milestone, 939,
master - mean (940ms) : 923, 957
. : milestone, 940,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6117) - mean (266ms) : 263, 270
. : milestone, 266,
master - mean (265ms) : 262, 269
. : milestone, 265,
section CallTarget+Inlining+NGEN
This PR (6117) - mean (927ms) : 909, 945
. : milestone, 927,
master - mean (924ms) : 904, 944
. : milestone, 924,
|
Benchmarks Report for tracer 🐌Benchmarks for #6117 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 ✔️ Fewer allocations 🎉
|
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0 | 41.63 KB | 41.39 KB | -243 B | -0.58% |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | WriteAndFlushEnrichedTraces |
net6.0 | 568μs | 2.59μs | 9.68μs | 0.587 | 0 | 0 | 41.63 KB |
master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 673μs | 2.36μs | 8.85μs | 0.336 | 0 | 0 | 41.61 KB |
master | WriteAndFlushEnrichedTraces |
net472 | 843μs | 3.65μs | 13.7μs | 8.08 | 2.55 | 0.425 | 53.31 KB |
#6117 | WriteAndFlushEnrichedTraces |
net6.0 | 566μs | 1.64μs | 6.35μs | 0.553 | 0 | 0 | 41.39 KB |
#6117 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 657μs | 2.79μs | 10.8μs | 0.329 | 0 | 0 | 41.75 KB |
#6117 | WriteAndFlushEnrichedTraces |
net472 | 855μs | 4μs | 15.5μs | 8.33 | 2.5 | 0.417 | 53.31 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 |
net6.0 | 1.32μs | 1.21ns | 4.67ns | 0.0139 | 0 | 0 | 1.02 KB |
master | ExecuteNonQuery |
netcoreapp3.1 | 1.74μs | 1.44ns | 5.59ns | 0.0131 | 0 | 0 | 1.02 KB |
master | ExecuteNonQuery |
net472 | 2.08μs | 1.62ns | 6.26ns | 0.156 | 0.00105 | 0 | 987 B |
#6117 | ExecuteNonQuery |
net6.0 | 1.38μs | 1.41ns | 5.44ns | 0.0139 | 0 | 0 | 1.02 KB |
#6117 | ExecuteNonQuery |
netcoreapp3.1 | 1.72μs | 1.74ns | 6.28ns | 0.0138 | 0 | 0 | 1.02 KB |
#6117 | ExecuteNonQuery |
net472 | 1.99μs | 1.81ns | 6.76ns | 0.156 | 0 | 0 | 987 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 |
net6.0 | 1.21μs | 1.05ns | 3.64ns | 0.0134 | 0 | 0 | 976 B |
master | CallElasticsearch |
netcoreapp3.1 | 1.54μs | 1.42ns | 5.33ns | 0.0131 | 0 | 0 | 976 B |
master | CallElasticsearch |
net472 | 2.49μs | 0.918ns | 3.43ns | 0.158 | 0 | 0 | 995 B |
master | CallElasticsearchAsync |
net6.0 | 1.26μs | 0.575ns | 2.15ns | 0.0132 | 0 | 0 | 952 B |
master | CallElasticsearchAsync |
netcoreapp3.1 | 1.68μs | 0.647ns | 2.42ns | 0.0136 | 0 | 0 | 1.02 KB |
master | CallElasticsearchAsync |
net472 | 2.59μs | 1.66ns | 6.42ns | 0.167 | 0 | 0 | 1.05 KB |
#6117 | CallElasticsearch |
net6.0 | 1.18μs | 1.68ns | 6.27ns | 0.0137 | 0 | 0 | 976 B |
#6117 | CallElasticsearch |
netcoreapp3.1 | 1.54μs | 0.573ns | 2.15ns | 0.0131 | 0 | 0 | 976 B |
#6117 | CallElasticsearch |
net472 | 2.52μs | 1.05ns | 4.08ns | 0.158 | 0 | 0 | 995 B |
#6117 | CallElasticsearchAsync |
net6.0 | 1.33μs | 1.38ns | 5.33ns | 0.0134 | 0 | 0 | 952 B |
#6117 | CallElasticsearchAsync |
netcoreapp3.1 | 1.62μs | 0.594ns | 2.3ns | 0.0137 | 0 | 0 | 1.02 KB |
#6117 | CallElasticsearchAsync |
net472 | 2.58μs | 1.96ns | 7.58ns | 0.167 | 0 | 0 | 1.05 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 |
net6.0 | 1.36μs | 0.299ns | 1.08ns | 0.0129 | 0 | 0 | 952 B |
master | ExecuteAsync |
netcoreapp3.1 | 1.69μs | 0.458ns | 1.65ns | 0.0127 | 0 | 0 | 952 B |
master | ExecuteAsync |
net472 | 1.81μs | 1.11ns | 4.3ns | 0.145 | 0 | 0 | 915 B |
#6117 | ExecuteAsync |
net6.0 | 1.22μs | 4.92ns | 19.1ns | 0.0132 | 0 | 0 | 952 B |
#6117 | ExecuteAsync |
netcoreapp3.1 | 1.62μs | 6.72ns | 26ns | 0.0127 | 0 | 0 | 952 B |
#6117 | ExecuteAsync |
net472 | 1.81μs | 0.678ns | 2.62ns | 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.42μs | 2.15ns | 7.75ns | 0.0307 | 0 | 0 | 2.22 KB |
master | SendAsync |
netcoreapp3.1 | 5.05μs | 2.85ns | 10.7ns | 0.0377 | 0 | 0 | 2.76 KB |
master | SendAsync |
net472 | 7.75μs | 1.68ns | 6.52ns | 0.496 | 0 | 0 | 3.15 KB |
#6117 | SendAsync |
net6.0 | 4.29μs | 1.54ns | 5.76ns | 0.0301 | 0 | 0 | 2.22 KB |
#6117 | SendAsync |
netcoreapp3.1 | 4.96μs | 3.72ns | 14.4ns | 0.0374 | 0 | 0 | 2.76 KB |
#6117 | SendAsync |
net472 | 7.71μs | 1.72ns | 6.67ns | 0.497 | 0 | 0 | 3.15 KB |
Benchmarks.Trace.ILoggerBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #6117
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.ILoggerBenchmark.EnrichedLog‑netcoreapp3.1
1.128
2,399.67
2,126.43
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.ILoggerBenchmark.EnrichedLog‑netcoreapp3.1 | 1.128 | 2,399.67 | 2,126.43 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 1.46μs | 0.96ns | 3.46ns | 0.0234 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
netcoreapp3.1 | 2.4μs | 0.769ns | 2.77ns | 0.0227 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
net472 | 2.51μs | 1.53ns | 5.93ns | 0.25 | 0 | 0 | 1.57 KB |
#6117 | EnrichedLog |
net6.0 | 1.6μs | 0.922ns | 3.45ns | 0.023 | 0 | 0 | 1.64 KB |
#6117 | EnrichedLog |
netcoreapp3.1 | 2.13μs | 0.99ns | 3.83ns | 0.0224 | 0 | 0 | 1.64 KB |
#6117 | EnrichedLog |
net472 | 2.45μs | 0.806ns | 3.12ns | 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 | 164ns | 636ns | 0.057 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
netcoreapp3.1 | 120μs | 299ns | 1.16μs | 0.0598 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
net472 | 148μs | 167ns | 648ns | 0.664 | 0.221 | 0 | 4.46 KB |
#6117 | EnrichedLog |
net6.0 | 114μs | 141ns | 546ns | 0.0577 | 0 | 0 | 4.28 KB |
#6117 | EnrichedLog |
netcoreapp3.1 | 119μs | 143ns | 555ns | 0 | 0 | 0 | 4.28 KB |
#6117 | EnrichedLog |
net472 | 146μs | 77ns | 288ns | 0.656 | 0.219 | 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.12μs | 3.23ns | 12.1ns | 0.0305 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
netcoreapp3.1 | 4.62μs | 1.16ns | 4.51ns | 0.0301 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
net472 | 4.81μs | 2.07ns | 8.01ns | 0.319 | 0 | 0 | 2.02 KB |
#6117 | EnrichedLog |
net6.0 | 3.04μs | 0.853ns | 3.08ns | 0.0305 | 0 | 0 | 2.2 KB |
#6117 | EnrichedLog |
netcoreapp3.1 | 4.28μs | 1.39ns | 5.22ns | 0.03 | 0 | 0 | 2.2 KB |
#6117 | EnrichedLog |
net472 | 4.86μs | 1.32ns | 4.93ns | 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.41μs | 0.7ns | 2.71ns | 0.0163 | 0 | 0 | 1.14 KB |
master | SendReceive |
netcoreapp3.1 | 1.8μs | 0.806ns | 3.12ns | 0.0154 | 0 | 0 | 1.14 KB |
master | SendReceive |
net472 | 2.09μs | 0.826ns | 3.2ns | 0.183 | 0.00103 | 0 | 1.16 KB |
#6117 | SendReceive |
net6.0 | 1.4μs | 0.974ns | 3.77ns | 0.016 | 0 | 0 | 1.14 KB |
#6117 | SendReceive |
netcoreapp3.1 | 1.84μs | 1.71ns | 6.61ns | 0.0156 | 0 | 0 | 1.14 KB |
#6117 | SendReceive |
net472 | 1.97μs | 0.977ns | 3.79ns | 0.183 | 0 | 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.73μs | 0.984ns | 3.81ns | 0.0218 | 0 | 0 | 1.6 KB |
master | EnrichedLog |
netcoreapp3.1 | 3.74μs | 0.987ns | 3.56ns | 0.0224 | 0 | 0 | 1.65 KB |
master | EnrichedLog |
net472 | 4.24μs | 2.31ns | 8.95ns | 0.323 | 0 | 0 | 2.04 KB |
#6117 | EnrichedLog |
net6.0 | 2.73μs | 0.663ns | 2.57ns | 0.0217 | 0 | 0 | 1.6 KB |
#6117 | EnrichedLog |
netcoreapp3.1 | 3.76μs | 7.82ns | 30.3ns | 0.0224 | 0 | 0 | 1.65 KB |
#6117 | EnrichedLog |
net472 | 4.23μs | 1.08ns | 4.18ns | 0.322 | 0 | 0 | 2.04 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 |
net6.0 | 407ns | 0.473ns | 1.83ns | 0.00806 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 560ns | 0.913ns | 3.53ns | 0.00777 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 647ns | 0.579ns | 2.24ns | 0.0918 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 556ns | 0.299ns | 1.16ns | 0.00985 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 722ns | 0.622ns | 2.41ns | 0.00937 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 888ns | 3.51ns | 13.6ns | 0.104 | 0 | 0 | 658 B |
#6117 | StartFinishSpan |
net6.0 | 399ns | 0.148ns | 0.533ns | 0.00815 | 0 | 0 | 576 B |
#6117 | StartFinishSpan |
netcoreapp3.1 | 534ns | 0.998ns | 3.87ns | 0.00774 | 0 | 0 | 576 B |
#6117 | StartFinishSpan |
net472 | 705ns | 0.439ns | 1.7ns | 0.0918 | 0 | 0 | 578 B |
#6117 | StartFinishScope |
net6.0 | 507ns | 0.238ns | 0.921ns | 0.00985 | 0 | 0 | 696 B |
#6117 | StartFinishScope |
netcoreapp3.1 | 714ns | 0.611ns | 2.37ns | 0.00965 | 0 | 0 | 696 B |
#6117 | StartFinishScope |
net472 | 879ns | 1.08ns | 3.9ns | 0.104 | 0 | 0 | 658 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #6117
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0
1.221
746.46
611.52
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑netcoreapp3.1
1.147
1,029.03
897.12
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0 | 1.221 | 746.46 | 611.52 | |
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑netcoreapp3.1 | 1.147 | 1,029.03 | 897.12 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | RunOnMethodBegin |
net6.0 | 747ns | 0.383ns | 1.48ns | 0.00978 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 1.03μs | 0.455ns | 1.76ns | 0.00935 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.09μs | 0.189ns | 0.73ns | 0.104 | 0 | 0 | 658 B |
#6117 | RunOnMethodBegin |
net6.0 | 612ns | 0.489ns | 1.89ns | 0.00975 | 0 | 0 | 696 B |
#6117 | RunOnMethodBegin |
netcoreapp3.1 | 896ns | 0.731ns | 2.83ns | 0.00926 | 0 | 0 | 696 B |
#6117 | RunOnMethodBegin |
net472 | 1.08μs | 0.591ns | 2.21ns | 0.104 | 0 | 0 | 658 B |
Throughput/Crank Report ⚡Throughput results for AspNetCoreSimpleController comparing the following branches/commits: Cases where throughput results for the PR are worse than latest master (5% drop or greater), results are shown in red. Note that these results are based on a single point-in-time result for each branch. For full results, see one of the many, many dashboards! gantt
title Throughput Linux x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6117) (11.115M) : 0, 11114827
master (11.067M) : 0, 11067199
benchmarks/2.9.0 (11.081M) : 0, 11080577
section Automatic
This PR (6117) (7.367M) : 0, 7366927
master (7.314M) : 0, 7314309
benchmarks/2.9.0 (7.732M) : 0, 7732233
section Trace stats
master (7.522M) : 0, 7522105
section Manual
master (11.089M) : 0, 11089039
section Manual + Automatic
This PR (6117) (6.826M) : 0, 6826343
master (6.818M) : 0, 6818236
section DD_TRACE_ENABLED=0
master (10.233M) : 0, 10233045
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6117) (9.427M) : 0, 9426881
master (9.628M) : 0, 9628028
benchmarks/2.9.0 (9.798M) : 0, 9798067
section Automatic
This PR (6117) (6.537M) : 0, 6536952
master (6.472M) : 0, 6472350
section Trace stats
master (6.828M) : 0, 6827760
section Manual
master (9.756M) : 0, 9756410
section Manual + Automatic
This PR (6117) (6.101M) : 0, 6100792
master (6.092M) : 0, 6091664
section DD_TRACE_ENABLED=0
master (9.056M) : 0, 9056055
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6117) (10.291M) : 0, 10291462
master (10.362M) : 0, 10362363
benchmarks/2.9.0 (10.067M) : 0, 10067315
section Automatic
This PR (6117) (6.704M) : 0, 6704131
master (6.848M) : 0, 6848211
benchmarks/2.9.0 (7.552M) : 0, 7552193
section Trace stats
master (7.513M) : 0, 7513310
section Manual
master (10.234M) : 0, 10233822
section Manual + Automatic
This PR (6117) (6.082M) : 0, 6081729
master (6.352M) : 0, 6351972
section DD_TRACE_ENABLED=0
master (9.543M) : 0, 9543014
|
## Summary of changes Fix failing .NET Core 2.1 Windows integration tests ## Reason for change The .NET Core 2.1 Windows Integration tests are failing ## Implementation details After merging #6117 (to fix a weird issue in the .NET 6 windows integration tests related to procdump), we started getting failures in .NET Core 2.1. This is almost certainly a bug in the runtime, and as it's a CI-only issue, trivially fixing by not setting the variable ## Test coverage [Ran a full test here and all ok](https://dev.azure.com/datadoghq/dd-trace-dotnet/_build/results?buildId=165403&view=results)
Summary of changes
_NO_DEBUG_HEAP=1
to fix a timeout issue that only happens on .NET 6, on Windows, on the scheduled SSI runReason for change
We have a weird issue. Ever since #5240 was merged, the scheduled SSI run has been failing on .NET 6
WindowsIntegrationTests
. The failure is a timeout, because grabbing a stacktrace becomes crazy expensive - it takes ~10s to callEnvironment.StackTrace
.We (@kevingosse) have looked through multiple dumps, and in all cases we're in the middle of
ConvertPortablePDB
, which is doing a ultimately callingRtlCompareMemoryUlong
.Example stack trace
What is really weird is the fact that this only happens
DD_INJECTION_ENABLED
is set)Testing shows that not attaching procdump solves it.
Even more confusing, I can reproduce locally using the following:
Note that locally I don't even need to enable the SSI variables 😕
No, none of this makes any sense to me, I've been digging into this for days now 🤦♂️
The only thing that 100% causes it is procdump. And setting
_NO_DEBUG_HEAP=1
disables the debug allocate heap, which solves it.I'd love to figure this one out, but given this doesn't seem like it should be a prod issue, taking the easy option right now, until we can work out what it is about #5240 that it doesn't like 🤷♂️
Test coverage
I'll trigger a full SSI run to make sure it is solved
Other details
Note that in the Windows integration tests, the profiler isn't actually available, because we don't download it. But that doesn't seem to make a difference, because locally when the profiler is there I still repro