[Crashtracking] Keep mangled name in case of error#5952
Conversation
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). |
Datadog ReportBranch report: ✅ 0 Failed, 301627 Passed, 1859 Skipped, 14h 4m 40.53s Total Time New Flaky Tests (1)
|
Benchmarks Report for tracer 🐌Benchmarks for #5952 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 - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.ILoggerBenchmark - Faster 🎉 Same allocations ✔️
|
| Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.ILoggerBenchmark.EnrichedLog‑netcoreapp3.1 | 1.138 | 2,382.62 | 2,093.21 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net6.0 | 1.48μs | 0.708ns | 2.65ns | 0.023 | 0 | 0 | 1.64 KB |
| master | EnrichedLog |
netcoreapp3.1 | 2.38μs | 1.1ns | 4.12ns | 0.0217 | 0 | 0 | 1.64 KB |
| master | EnrichedLog |
net472 | 2.68μs | 1.93ns | 7.24ns | 0.249 | 0 | 0 | 1.57 KB |
| #5952 | EnrichedLog |
net6.0 | 1.64μs | 1.03ns | 4ns | 0.0229 | 0 | 0 | 1.64 KB |
| #5952 | EnrichedLog |
netcoreapp3.1 | 2.09μs | 0.893ns | 3.34ns | 0.0221 | 0 | 0 | 1.64 KB |
| #5952 | EnrichedLog |
net472 | 2.6μs | 2.38ns | 9.22ns | 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 | 116μs | 166ns | 621ns | 0.0578 | 0 | 0 | 4.28 KB |
| master | EnrichedLog |
netcoreapp3.1 | 119μs | 234ns | 905ns | 0 | 0 | 0 | 4.28 KB |
| master | EnrichedLog |
net472 | 148μs | 225ns | 872ns | 0.668 | 0.223 | 0 | 4.46 KB |
| #5952 | EnrichedLog |
net6.0 | 116μs | 199ns | 772ns | 0.0579 | 0 | 0 | 4.28 KB |
| #5952 | EnrichedLog |
netcoreapp3.1 | 120μs | 265ns | 1.03μs | 0.06 | 0 | 0 | 4.28 KB |
| #5952 | EnrichedLog |
net472 | 148μs | 417ns | 1.61μs | 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 | 2.95μs | 1.62ns | 6.26ns | 0.0313 | 0 | 0 | 2.2 KB |
| master | EnrichedLog |
netcoreapp3.1 | 4.09μs | 1.07ns | 4.01ns | 0.0286 | 0 | 0 | 2.2 KB |
| master | EnrichedLog |
net472 | 4.78μs | 2.91ns | 11.3ns | 0.319 | 0 | 0 | 2.02 KB |
| #5952 | EnrichedLog |
net6.0 | 3.14μs | 1.33ns | 4.96ns | 0.03 | 0 | 0 | 2.2 KB |
| #5952 | EnrichedLog |
netcoreapp3.1 | 4.19μs | 5.66ns | 21.9ns | 0.0291 | 0 | 0 | 2.2 KB |
| #5952 | EnrichedLog |
net472 | 4.93μs | 1.89ns | 7.32ns | 0.318 | 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.37μs | 0.604ns | 2.34ns | 0.0164 | 0 | 0 | 1.14 KB |
| master | SendReceive |
netcoreapp3.1 | 1.76μs | 1.38ns | 5.35ns | 0.0149 | 0 | 0 | 1.14 KB |
| master | SendReceive |
net472 | 2.18μs | 1.64ns | 5.9ns | 0.184 | 0.00109 | 0 | 1.16 KB |
| #5952 | SendReceive |
net6.0 | 1.47μs | 0.776ns | 3ns | 0.016 | 0 | 0 | 1.14 KB |
| #5952 | SendReceive |
netcoreapp3.1 | 1.81μs | 1.74ns | 6.75ns | 0.0155 | 0 | 0 | 1.14 KB |
| #5952 | SendReceive |
net472 | 2.2μs | 2.09ns | 8.11ns | 0.184 | 0.0011 | 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.81μs | 0.997ns | 3.86ns | 0.0225 | 0 | 0 | 1.6 KB |
| master | EnrichedLog |
netcoreapp3.1 | 3.92μs | 1.92ns | 7.43ns | 0.0217 | 0 | 0 | 1.65 KB |
| master | EnrichedLog |
net472 | 4.36μs | 2.83ns | 11ns | 0.324 | 0 | 0 | 2.04 KB |
| #5952 | EnrichedLog |
net6.0 | 2.64μs | 1.24ns | 4.47ns | 0.0225 | 0 | 0 | 1.6 KB |
| #5952 | EnrichedLog |
netcoreapp3.1 | 4.06μs | 1.62ns | 6.29ns | 0.0224 | 0 | 0 | 1.65 KB |
| #5952 | EnrichedLog |
net472 | 4.42μs | 3.12ns | 12.1ns | 0.323 | 0 | 0 | 2.04 KB |
Benchmarks.Trace.SpanBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #5952
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0
1.250
605.08
484.18
| Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0 | 1.250 | 605.08 | 484.18 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StartFinishSpan |
net6.0 | 396ns | 0.124ns | 0.463ns | 0.00819 | 0 | 0 | 576 B |
| master | StartFinishSpan |
netcoreapp3.1 | 606ns | 0.414ns | 1.6ns | 0.00788 | 0 | 0 | 576 B |
| master | StartFinishSpan |
net472 | 630ns | 0.601ns | 2.33ns | 0.0918 | 0 | 0 | 578 B |
| master | StartFinishScope |
net6.0 | 605ns | 0.291ns | 1.13ns | 0.0097 | 0 | 0 | 696 B |
| master | StartFinishScope |
netcoreapp3.1 | 717ns | 0.508ns | 1.97ns | 0.00972 | 0 | 0 | 696 B |
| master | StartFinishScope |
net472 | 841ns | 0.845ns | 3.27ns | 0.104 | 0 | 0 | 658 B |
| #5952 | StartFinishSpan |
net6.0 | 390ns | 1.03ns | 4.01ns | 0.00804 | 0 | 0 | 576 B |
| #5952 | StartFinishSpan |
netcoreapp3.1 | 664ns | 0.581ns | 2.25ns | 0.00796 | 0 | 0 | 576 B |
| #5952 | StartFinishSpan |
net472 | 621ns | 1.19ns | 4.59ns | 0.0918 | 0 | 0 | 578 B |
| #5952 | StartFinishScope |
net6.0 | 484ns | 0.451ns | 1.69ns | 0.00986 | 0 | 0 | 696 B |
| #5952 | StartFinishScope |
netcoreapp3.1 | 676ns | 0.504ns | 1.95ns | 0.00946 | 0 | 0 | 696 B |
| #5952 | StartFinishScope |
net472 | 873ns | 0.352ns | 1.36ns | 0.104 | 0 | 0 | 658 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 |
net6.0 | 579ns | 0.354ns | 1.37ns | 0.00966 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
netcoreapp3.1 | 922ns | 1.08ns | 4.02ns | 0.00931 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
net472 | 1.05μs | 0.801ns | 3.1ns | 0.104 | 0 | 0 | 658 B |
| #5952 | RunOnMethodBegin |
net6.0 | 604ns | 0.332ns | 1.28ns | 0.00968 | 0 | 0 | 696 B |
| #5952 | RunOnMethodBegin |
netcoreapp3.1 | 893ns | 0.466ns | 1.8ns | 0.00938 | 0 | 0 | 696 B |
| #5952 | RunOnMethodBegin |
net472 | 1.06μs | 0.332ns | 1.29ns | 0.104 | 0 | 0 | 658 B |
Summary of changes
If libdatadog failed to demangle a symbol name, keep the mangled name.
Reason for change
That was an oversight. It's better to have a mangled name than no name at all.
Implementation details
Moved a boolean around.
Test coverage
There are no tests because I don't know why it would fail to begin with.