-
Notifications
You must be signed in to change notification settings - Fork 141
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
creating toString for json configuration source #6307
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 (6307) - mean (72ms) : 64, 79
. : milestone, 72,
master - mean (72ms) : 64, 79
. : milestone, 72,
section CallTarget+Inlining+NGEN
This PR (6307) - mean (1,110ms) : 1095, 1125
. : milestone, 1110,
master - mean (1,109ms) : 1091, 1126
. : milestone, 1109,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6307) - mean (109ms) : 107, 111
. : milestone, 109,
master - mean (108ms) : 105, 112
. : milestone, 108,
section CallTarget+Inlining+NGEN
This PR (6307) - mean (769ms) : 755, 782
. : milestone, 769,
master - mean (770ms) : 752, 789
. : milestone, 770,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6307) - mean (92ms) : 89, 95
. : milestone, 92,
master - mean (92ms) : 90, 94
. : milestone, 92,
section CallTarget+Inlining+NGEN
This PR (6307) - mean (723ms) : 705, 741
. : milestone, 723,
master - mean (724ms) : 710, 739
. : milestone, 724,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6307) - mean (191ms) : 186, 196
. : milestone, 191,
master - mean (191ms) : 187, 196
. : milestone, 191,
section CallTarget+Inlining+NGEN
This PR (6307) - mean (1,212ms) : 1189, 1235
. : milestone, 1212,
master - mean (1,210ms) : 1187, 1233
. : milestone, 1210,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6307) - mean (277ms) : 273, 281
. : milestone, 277,
master - mean (277ms) : 273, 282
. : milestone, 277,
section CallTarget+Inlining+NGEN
This PR (6307) - mean (946ms) : 926, 967
. : milestone, 946,
master - mean (947ms) : 929, 964
. : milestone, 947,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6307) - mean (267ms) : 263, 270
. : milestone, 267,
master - mean (266ms) : 262, 271
. : milestone, 266,
section CallTarget+Inlining+NGEN
This PR (6307) - mean (933ms) : 918, 948
. : milestone, 933,
master - mean (928ms) : 908, 948
. : milestone, 928,
|
Datadog ReportBranch report: ❌ 29 Failed (0 Known Flaky), 426220 Passed, 2709 Skipped, 19h 18m 56.18s Total Time ❌ Failed Tests (29)
⌛ Performance Regressions vs Default Branch (1)
|
Benchmarks Report for tracer 🐌Benchmarks for #6307 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 - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.Log4netBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.NLogBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.RedisBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.SerilogBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.SpanBenchmark - Slower
|
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0 | 1.151 | 477.12 | 549.01 | |
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net472 | 1.130 | 644.86 | 728.59 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 388ns | 0.528ns | 2.04ns | 0.00809 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 615ns | 1.12ns | 4.34ns | 0.00767 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 643ns | 1.25ns | 4.82ns | 0.0917 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 477ns | 0.672ns | 2.6ns | 0.0099 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 639ns | 1.12ns | 4.18ns | 0.00921 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 847ns | 1.27ns | 4.91ns | 0.105 | 0 | 0 | 658 B |
#6307 | StartFinishSpan |
net6.0 | 391ns | 0.822ns | 3.18ns | 0.00803 | 0 | 0 | 576 B |
#6307 | StartFinishSpan |
netcoreapp3.1 | 568ns | 0.85ns | 3.29ns | 0.00776 | 0 | 0 | 576 B |
#6307 | StartFinishSpan |
net472 | 728ns | 2.14ns | 8.3ns | 0.0916 | 0 | 0 | 578 B |
#6307 | StartFinishScope |
net6.0 | 549ns | 1.05ns | 4.08ns | 0.00968 | 0 | 0 | 696 B |
#6307 | StartFinishScope |
netcoreapp3.1 | 670ns | 1.26ns | 4.87ns | 0.0095 | 0 | 0 | 696 B |
#6307 | StartFinishScope |
net472 | 873ns | 2.69ns | 10.4ns | 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 | 594ns | 0.832ns | 3.22ns | 0.00963 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 857ns | 1.45ns | 5.61ns | 0.00952 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.09μs | 1.86ns | 7.22ns | 0.104 | 0 | 0 | 658 B |
#6307 | RunOnMethodBegin |
net6.0 | 638ns | 1.57ns | 6.07ns | 0.00992 | 0 | 0 | 696 B |
#6307 | RunOnMethodBegin |
netcoreapp3.1 | 886ns | 0.687ns | 2.66ns | 0.00932 | 0 | 0 | 696 B |
#6307 | RunOnMethodBegin |
net472 | 1.08μs | 1.32ns | 5.13ns | 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 (6307) (11.064M) : 0, 11064474
master (11.023M) : 0, 11022833
benchmarks/2.9.0 (11.033M) : 0, 11032866
section Automatic
This PR (6307) (7.297M) : 0, 7297250
master (7.260M) : 0, 7260053
benchmarks/2.9.0 (7.786M) : 0, 7785853
section Trace stats
master (7.629M) : 0, 7628683
section Manual
master (11.013M) : 0, 11013178
section Manual + Automatic
This PR (6307) (6.784M) : 0, 6783532
master (6.716M) : 0, 6715780
section DD_TRACE_ENABLED=0
master (10.359M) : 0, 10358723
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6307) (9.461M) : 0, 9460985
master (9.545M) : 0, 9544523
benchmarks/2.9.0 (9.495M) : 0, 9494821
section Automatic
This PR (6307) (6.302M) : 0, 6301743
master (6.327M) : 0, 6326537
section Trace stats
master (6.647M) : 0, 6647295
section Manual
master (9.451M) : 0, 9450807
section Manual + Automatic
This PR (6307) (5.841M) : 0, 5840573
master (5.878M) : 0, 5878431
section DD_TRACE_ENABLED=0
master (8.854M) : 0, 8854495
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6307) (9.657M) : 0, 9656914
master (10.335M) : 0, 10334663
benchmarks/2.9.0 (10.020M) : 0, 10019592
section Automatic
This PR (6307) (6.052M) : crit ,0, 6051890
master (6.679M) : 0, 6679257
benchmarks/2.9.0 (7.255M) : 0, 7255257
section Trace stats
master (7.478M) : 0, 7478083
section Manual
master (10.372M) : 0, 10371575
section Manual + Automatic
This PR (6307) (5.746M) : crit ,0, 5746132
master (6.184M) : 0, 6184431
section DD_TRACE_ENABLED=0
master (9.494M) : 0, 9493826
|
Summary of changes
added toString() for datadog jsonConfigurationSource for startup logs
Reason for change
https://datadoghq.atlassian.net/browse/APMLP-297
Implementation details
new constructor for JsonConfigurationSource that takes an additional parameter of filename, which is saved and printed. This constructor is only used in conjunction with FromFile.
Test coverage
Other details