-
Notifications
You must be signed in to change notification settings - Fork 143
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
regenerate solutions as part of building the managed tracer #6608
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 (6608) - mean (69ms) : 67, 71
. : milestone, 69,
master - mean (69ms) : 65, 74
. : milestone, 69,
section CallTarget+Inlining+NGEN
This PR (6608) - mean (982ms) : 952, 1012
. : milestone, 982,
master - mean (981ms) : 959, 1003
. : milestone, 981,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6608) - mean (108ms) : 105, 110
. : milestone, 108,
master - mean (108ms) : 106, 111
. : milestone, 108,
section CallTarget+Inlining+NGEN
This PR (6608) - mean (676ms) : 660, 691
. : milestone, 676,
master - mean (676ms) : 660, 691
. : milestone, 676,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6608) - mean (91ms) : 89, 93
. : milestone, 91,
master - mean (91ms) : 89, 93
. : milestone, 91,
section CallTarget+Inlining+NGEN
This PR (6608) - mean (630ms) : 610, 649
. : milestone, 630,
master - mean (637ms) : 614, 660
. : milestone, 637,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6608) - mean (190ms) : 187, 194
. : milestone, 190,
master - mean (190ms) : 185, 195
. : milestone, 190,
section CallTarget+Inlining+NGEN
This PR (6608) - mean (1,093ms) : 1053, 1133
. : milestone, 1093,
master - mean (1,087ms) : 1064, 1110
. : milestone, 1087,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6608) - mean (277ms) : 273, 281
. : milestone, 277,
master - mean (276ms) : 272, 281
. : milestone, 276,
section CallTarget+Inlining+NGEN
This PR (6608) - mean (871ms) : 837, 906
. : milestone, 871,
master - mean (865ms) : 832, 897
. : milestone, 865,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6608) - mean (265ms) : 260, 270
. : milestone, 265,
master - mean (264ms) : 260, 268
. : milestone, 264,
section CallTarget+Inlining+NGEN
This PR (6608) - mean (849ms) : 820, 877
. : milestone, 849,
master - mean (846ms) : 807, 885
. : milestone, 846,
|
Datadog ReportBranch report: ✅ 0 Failed, 246305 Passed, 2088 Skipped, 18h 59m 57.54s Total Time |
Benchmarks Report for tracer 🐌Benchmarks for #6608 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 - Faster 🎉 Same allocations ✔️
|
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch‑net6.0 | 1.211 | 1,354.66 | 1,118.45 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | CallElasticsearch |
net6.0 | 1.35μs | 0.54ns | 2.09ns | 0.0136 | 0 | 0 | 976 B |
master | CallElasticsearch |
netcoreapp3.1 | 1.64μs | 0.932ns | 3.36ns | 0.0132 | 0 | 0 | 976 B |
master | CallElasticsearch |
net472 | 2.57μs | 1.65ns | 6.37ns | 0.157 | 0 | 0 | 995 B |
master | CallElasticsearchAsync |
net6.0 | 1.26μs | 0.981ns | 3.54ns | 0.0132 | 0 | 0 | 952 B |
master | CallElasticsearchAsync |
netcoreapp3.1 | 1.59μs | 0.944ns | 3.4ns | 0.0142 | 0 | 0 | 1.02 KB |
master | CallElasticsearchAsync |
net472 | 2.66μs | 1.12ns | 4.04ns | 0.166 | 0 | 0 | 1.05 KB |
#6608 | CallElasticsearch |
net6.0 | 1.12μs | 0.966ns | 3.61ns | 0.0139 | 0 | 0 | 976 B |
#6608 | CallElasticsearch |
netcoreapp3.1 | 1.58μs | 0.869ns | 3.25ns | 0.0134 | 0 | 0 | 976 B |
#6608 | CallElasticsearch |
net472 | 2.58μs | 2.78ns | 10.7ns | 0.158 | 0 | 0 | 995 B |
#6608 | CallElasticsearchAsync |
net6.0 | 1.24μs | 0.855ns | 3.31ns | 0.013 | 0 | 0 | 952 B |
#6608 | CallElasticsearchAsync |
netcoreapp3.1 | 1.7μs | 1.36ns | 5.28ns | 0.0136 | 0 | 0 | 1.02 KB |
#6608 | CallElasticsearchAsync |
net472 | 2.61μs | 1.87ns | 7.25ns | 0.166 | 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.35μs | 0.872ns | 3.26ns | 0.0135 | 0 | 0 | 952 B |
master | ExecuteAsync |
netcoreapp3.1 | 1.72μs | 2.08ns | 7.8ns | 0.012 | 0 | 0 | 952 B |
master | ExecuteAsync |
net472 | 1.85μs | 0.467ns | 1.81ns | 0.145 | 0 | 0 | 915 B |
#6608 | ExecuteAsync |
net6.0 | 1.22μs | 0.975ns | 3.65ns | 0.013 | 0 | 0 | 952 B |
#6608 | ExecuteAsync |
netcoreapp3.1 | 1.63μs | 0.764ns | 2.86ns | 0.013 | 0 | 0 | 952 B |
#6608 | ExecuteAsync |
net472 | 1.79μs | 5.53ns | 19.9ns | 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.43μs | 1.39ns | 5.01ns | 0.031 | 0 | 0 | 2.31 KB |
master | SendAsync |
netcoreapp3.1 | 5.17μs | 2.98ns | 11.5ns | 0.0386 | 0 | 0 | 2.85 KB |
master | SendAsync |
net472 | 7.36μs | 1.09ns | 4.07ns | 0.494 | 0 | 0 | 3.12 KB |
#6608 | SendAsync |
net6.0 | 4.38μs | 1.38ns | 5.36ns | 0.0329 | 0 | 0 | 2.31 KB |
#6608 | SendAsync |
netcoreapp3.1 | 5.3μs | 2.66ns | 10.3ns | 0.0365 | 0 | 0 | 2.85 KB |
#6608 | SendAsync |
net472 | 7.41μs | 1.68ns | 6.3ns | 0.495 | 0 | 0 | 3.12 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 | 0.879ns | 3.41ns | 0.0231 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
netcoreapp3.1 | 2.06μs | 0.847ns | 3.05ns | 0.0218 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
net472 | 2.65μs | 0.735ns | 2.65ns | 0.249 | 0 | 0 | 1.57 KB |
#6608 | EnrichedLog |
net6.0 | 1.45μs | 0.633ns | 2.37ns | 0.0233 | 0 | 0 | 1.64 KB |
#6608 | EnrichedLog |
netcoreapp3.1 | 2.23μs | 2.5ns | 9.7ns | 0.0223 | 0 | 0 | 1.64 KB |
#6608 | EnrichedLog |
net472 | 2.62μs | 0.336ns | 1.21ns | 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 | 76.3ns | 285ns | 0 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
netcoreapp3.1 | 119μs | 109ns | 379ns | 0 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
net472 | 150μs | 94.2ns | 365ns | 0.679 | 0.226 | 0 | 4.46 KB |
#6608 | EnrichedLog |
net6.0 | 115μs | 107ns | 413ns | 0 | 0 | 0 | 4.28 KB |
#6608 | EnrichedLog |
netcoreapp3.1 | 119μs | 128ns | 478ns | 0 | 0 | 0 | 4.28 KB |
#6608 | EnrichedLog |
net472 | 151μs | 106ns | 412ns | 0.677 | 0.226 | 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.05μs | 2.17ns | 8.13ns | 0.0306 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
netcoreapp3.1 | 4.26μs | 0.929ns | 3.35ns | 0.0297 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
net472 | 4.85μs | 1.77ns | 6.86ns | 0.319 | 0 | 0 | 2.02 KB |
#6608 | EnrichedLog |
net6.0 | 3.16μs | 1.02ns | 3.93ns | 0.03 | 0 | 0 | 2.2 KB |
#6608 | EnrichedLog |
netcoreapp3.1 | 4.18μs | 0.973ns | 3.51ns | 0.0294 | 0 | 0 | 2.2 KB |
#6608 | EnrichedLog |
net472 | 4.77μs | 1.52ns | 5.87ns | 0.319 | 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.34μs | 0.537ns | 1.94ns | 0.0159 | 0 | 0 | 1.14 KB |
master | SendReceive |
netcoreapp3.1 | 1.74μs | 1.94ns | 7.49ns | 0.0156 | 0 | 0 | 1.14 KB |
master | SendReceive |
net472 | 2.14μs | 1.04ns | 4.03ns | 0.183 | 0 | 0 | 1.16 KB |
#6608 | SendReceive |
net6.0 | 1.39μs | 2.38ns | 9.21ns | 0.0158 | 0 | 0 | 1.14 KB |
#6608 | SendReceive |
netcoreapp3.1 | 1.78μs | 1.17ns | 4.52ns | 0.0151 | 0 | 0 | 1.14 KB |
#6608 | SendReceive |
net472 | 2.1μs | 1.35ns | 5.04ns | 0.184 | 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.81μs | 1.08ns | 4.19ns | 0.0225 | 0 | 0 | 1.6 KB |
master | EnrichedLog |
netcoreapp3.1 | 3.85μs | 1.39ns | 5.38ns | 0.0231 | 0 | 0 | 1.65 KB |
master | EnrichedLog |
net472 | 4.47μs | 2.69ns | 10.4ns | 0.323 | 0 | 0 | 2.04 KB |
#6608 | EnrichedLog |
net6.0 | 2.74μs | 0.657ns | 2.37ns | 0.0219 | 0 | 0 | 1.6 KB |
#6608 | EnrichedLog |
netcoreapp3.1 | 3.82μs | 1.13ns | 4.38ns | 0.0229 | 0 | 0 | 1.65 KB |
#6608 | EnrichedLog |
net472 | 4.42μs | 2.84ns | 10.6ns | 0.322 | 0 | 0 | 2.04 KB |
Benchmarks.Trace.SpanBenchmark - Slower ⚠️ Same allocations ✔️
Slower ⚠️ in #6608
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑netcoreapp3.1
1.160
697.07
808.48
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0
1.129
486.69
549.54
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑netcoreapp3.1 | 1.160 | 697.07 | 808.48 | |
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0 | 1.129 | 486.69 | 549.54 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 394ns | 0.68ns | 2.63ns | 0.00797 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 549ns | 0.822ns | 3.18ns | 0.00775 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 633ns | 1.31ns | 5.09ns | 0.0915 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 487ns | 1.12ns | 4.35ns | 0.00976 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 698ns | 1.82ns | 6.8ns | 0.00952 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 827ns | 1.31ns | 5.08ns | 0.104 | 0 | 0 | 658 B |
#6608 | StartFinishSpan |
net6.0 | 408ns | 0.86ns | 3.33ns | 0.00818 | 0 | 0 | 576 B |
#6608 | StartFinishSpan |
netcoreapp3.1 | 549ns | 0.7ns | 2.71ns | 0.00785 | 0 | 0 | 576 B |
#6608 | StartFinishSpan |
net472 | 602ns | 1.26ns | 4.88ns | 0.0918 | 0 | 0 | 578 B |
#6608 | StartFinishScope |
net6.0 | 550ns | 0.772ns | 2.99ns | 0.0096 | 0 | 0 | 696 B |
#6608 | StartFinishScope |
netcoreapp3.1 | 808ns | 0.981ns | 3.8ns | 0.0094 | 0 | 0 | 696 B |
#6608 | StartFinishScope |
net472 | 824ns | 0.553ns | 2.14ns | 0.105 | 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 | 694ns | 0.825ns | 3.2ns | 0.00981 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 903ns | 1.37ns | 5.29ns | 0.00918 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.04μs | 1.37ns | 5.3ns | 0.104 | 0 | 0 | 658 B |
#6608 | RunOnMethodBegin |
net6.0 | 753ns | 1.83ns | 7.1ns | 0.00986 | 0 | 0 | 696 B |
#6608 | RunOnMethodBegin |
netcoreapp3.1 | 906ns | 1.32ns | 5.11ns | 0.00948 | 0 | 0 | 696 B |
#6608 | RunOnMethodBegin |
net472 | 1.03μs | 1ns | 3.87ns | 0.104 | 0 | 0 | 658 B |
## Summary of changes the target `RegenerateSolutions` was not called by anything else. Added it to `BuildManagedTracerHome` so that it'd run on `BuildTracerHome`, which I assume(d) would regenerate everything that needs to
Summary of changes
the target
RegenerateSolutions
was not called by anything else. Added it toBuildManagedTracerHome
so that it'd run onBuildTracerHome
, which I assume(d) would regenerate everything that needs to