-
Notifications
You must be signed in to change notification settings - Fork 145
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
[Dynamic Instrumentation] DEBUG-3364 Add redaction excluded identifiers evironment variable #6581
base: master
Are you sure you want to change the base?
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). gantt
title Execution time (ms) FakeDbCommand (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6581) - mean (69ms) : 66, 71
. : milestone, 69,
master - mean (69ms) : 67, 71
. : milestone, 69,
section CallTarget+Inlining+NGEN
This PR (6581) - mean (984ms) : 957, 1010
. : milestone, 984,
master - mean (983ms) : 958, 1007
. : milestone, 983,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6581) - mean (108ms) : 106, 110
. : milestone, 108,
master - mean (108ms) : 106, 110
. : milestone, 108,
section CallTarget+Inlining+NGEN
This PR (6581) - mean (684ms) : 669, 698
. : milestone, 684,
master - mean (683ms) : 665, 700
. : milestone, 683,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6581) - mean (91ms) : 89, 93
. : milestone, 91,
master - mean (91ms) : 89, 93
. : milestone, 91,
section CallTarget+Inlining+NGEN
This PR (6581) - mean (637ms) : 625, 649
. : milestone, 637,
master - mean (637ms) : 619, 656
. : milestone, 637,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6581) - mean (189ms) : 185, 194
. : milestone, 189,
master - mean (190ms) : 185, 195
. : milestone, 190,
section CallTarget+Inlining+NGEN
This PR (6581) - mean (1,087ms) : 1058, 1116
. : milestone, 1087,
master - mean (1,089ms) : 1052, 1126
. : milestone, 1089,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6581) - mean (276ms) : 271, 280
. : milestone, 276,
master - mean (276ms) : 271, 282
. : milestone, 276,
section CallTarget+Inlining+NGEN
This PR (6581) - mean (872ms) : 842, 903
. : milestone, 872,
master - mean (873ms) : 843, 903
. : milestone, 873,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6581) - mean (264ms) : 259, 269
. : milestone, 264,
master - mean (264ms) : 259, 269
. : milestone, 264,
section CallTarget+Inlining+NGEN
This PR (6581) - mean (847ms) : 809, 884
. : milestone, 847,
master - mean (849ms) : 821, 876
. : milestone, 849,
|
Benchmarks Report for tracer 🐌Benchmarks for #6581 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.139 | 2,408.40 | 2,114.41 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 1.45μs | 0.621ns | 2.24ns | 0.0233 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
netcoreapp3.1 | 2.41μs | 1.28ns | 4.96ns | 0.0216 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
net472 | 2.5μs | 1.26ns | 4.88ns | 0.25 | 0 | 0 | 1.57 KB |
#6581 | EnrichedLog |
net6.0 | 1.5μs | 0.463ns | 1.79ns | 0.0231 | 0 | 0 | 1.64 KB |
#6581 | EnrichedLog |
netcoreapp3.1 | 2.11μs | 3.5ns | 13.5ns | 0.0222 | 0 | 0 | 1.64 KB |
#6581 | EnrichedLog |
net472 | 2.69μs | 0.931ns | 3.6ns | 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 | 129ns | 499ns | 0 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
netcoreapp3.1 | 120μs | 123ns | 461ns | 0.0601 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
net472 | 152μs | 189ns | 733ns | 0.682 | 0.227 | 0 | 4.46 KB |
#6581 | EnrichedLog |
net6.0 | 116μs | 139ns | 501ns | 0.0578 | 0 | 0 | 4.28 KB |
#6581 | EnrichedLog |
netcoreapp3.1 | 119μs | 104ns | 404ns | 0 | 0 | 0 | 4.28 KB |
#6581 | EnrichedLog |
net472 | 152μs | 143ns | 555ns | 0.68 | 0.227 | 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.08μs | 0.764ns | 2.86ns | 0.0308 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
netcoreapp3.1 | 4.26μs | 2.26ns | 8.76ns | 0.0297 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
net472 | 4.79μs | 1.86ns | 7.22ns | 0.32 | 0 | 0 | 2.02 KB |
#6581 | EnrichedLog |
net6.0 | 3.13μs | 1.33ns | 5.13ns | 0.0297 | 0 | 0 | 2.2 KB |
#6581 | EnrichedLog |
netcoreapp3.1 | 4.19μs | 1.32ns | 4.95ns | 0.0292 | 0 | 0 | 2.2 KB |
#6581 | EnrichedLog |
net472 | 4.91μs | 1.3ns | 4.86ns | 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.36μs | 0.575ns | 2.23ns | 0.0163 | 0 | 0 | 1.14 KB |
master | SendReceive |
netcoreapp3.1 | 1.81μs | 3.43ns | 12.8ns | 0.015 | 0 | 0 | 1.14 KB |
master | SendReceive |
net472 | 2.06μs | 0.783ns | 2.82ns | 0.183 | 0 | 0 | 1.16 KB |
#6581 | SendReceive |
net6.0 | 1.49μs | 0.823ns | 3.19ns | 0.0164 | 0 | 0 | 1.14 KB |
#6581 | SendReceive |
netcoreapp3.1 | 1.84μs | 1.33ns | 4.98ns | 0.0148 | 0 | 0 | 1.14 KB |
#6581 | SendReceive |
net472 | 2.03μs | 1.31ns | 5.08ns | 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.78μs | 3.01ns | 11.3ns | 0.0223 | 0 | 0 | 1.6 KB |
master | EnrichedLog |
netcoreapp3.1 | 3.86μs | 6.13ns | 23.7ns | 0.0211 | 0 | 0 | 1.65 KB |
master | EnrichedLog |
net472 | 4.35μs | 2.39ns | 9.24ns | 0.323 | 0 | 0 | 2.04 KB |
#6581 | EnrichedLog |
net6.0 | 2.79μs | 1.05ns | 4.06ns | 0.0223 | 0 | 0 | 1.6 KB |
#6581 | EnrichedLog |
netcoreapp3.1 | 3.87μs | 2.7ns | 10.4ns | 0.0215 | 0 | 0 | 1.65 KB |
#6581 | EnrichedLog |
net472 | 4.49μs | 2.19ns | 8.47ns | 0.323 | 0 | 0 | 2.04 KB |
Benchmarks.Trace.SpanBenchmark - Slower ⚠️ Same allocations ✔️
Slower ⚠️ in #6581
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑netcoreapp3.1
1.141
614.57
701.25
Faster 🎉 in #6581
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net6.0
1.155
466.99
404.14
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑netcoreapp3.1 | 1.141 | 614.57 | 701.25 |
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net6.0 | 1.155 | 466.99 | 404.14 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 467ns | 0.582ns | 2.25ns | 0.00817 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 613ns | 1.03ns | 4.01ns | 0.0077 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 647ns | 1.09ns | 4.22ns | 0.0916 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 489ns | 0.485ns | 1.88ns | 0.00966 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 697ns | 1.31ns | 5.06ns | 0.00946 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 868ns | 1.64ns | 6.34ns | 0.104 | 0 | 0 | 658 B |
#6581 | StartFinishSpan |
net6.0 | 406ns | 1.82ns | 7.06ns | 0.00804 | 0 | 0 | 576 B |
#6581 | StartFinishSpan |
netcoreapp3.1 | 700ns | 0.597ns | 2.23ns | 0.00777 | 0 | 0 | 576 B |
#6581 | StartFinishSpan |
net472 | 637ns | 0.909ns | 3.52ns | 0.0917 | 0 | 0 | 578 B |
#6581 | StartFinishScope |
net6.0 | 520ns | 0.786ns | 3.04ns | 0.00974 | 0 | 0 | 696 B |
#6581 | StartFinishScope |
netcoreapp3.1 | 759ns | 1.09ns | 4.24ns | 0.00943 | 0 | 0 | 696 B |
#6581 | StartFinishScope |
net472 | 860ns | 1.51ns | 5.86ns | 0.104 | 0 | 0 | 658 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #6581
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0
1.114
690.10
619.29
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0 | 1.114 | 690.10 | 619.29 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | RunOnMethodBegin |
net6.0 | 693ns | 1.63ns | 6.31ns | 0.00976 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 910ns | 1.74ns | 6.73ns | 0.00905 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.04μs | 3.03ns | 11.7ns | 0.104 | 0 | 0 | 658 B |
#6581 | RunOnMethodBegin |
net6.0 | 619ns | 0.44ns | 1.7ns | 0.00966 | 0 | 0 | 696 B |
#6581 | RunOnMethodBegin |
netcoreapp3.1 | 966ns | 0.366ns | 1.42ns | 0.0095 | 0 | 0 | 696 B |
#6581 | RunOnMethodBegin |
net472 | 1.09μs | 0.147ns | 0.569ns | 0.104 | 0 | 0 | 658 B |
Datadog ReportBranch report: ❌ 15 Failed (0 Known Flaky), 234513 Passed, 2827 Skipped, 32h 35m 18.97s Total Time ❌ Failed Tests (15)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, left couple of comments
2b26bc0
to
82e3c4d
Compare
82e3c4d
to
0f9fe5f
Compare
Datadog ReportBranch report: ❌ 70 Failed (0 Known Flaky), 252685 Passed, 2925 Skipped, 32h 36m 28.94s Total Time ❌ Failed Tests (70)
|
Summary of changes
Now user can add identifiers keywords to exclude them from redaction