Fix dotnet install in build#3348
Merged
Merged
Conversation
Member
Author
Benchmarks Report 🐌Benchmarks for #3348 compared to master:
The following thresholds were used for comparing the benchmark speeds:
Allocation changes below 0.5% are ignored. Benchmark detailsBenchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AppSecBodyBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AspNetCoreBenchmark - Unknown 🤷 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 - Faster 🎉 Same allocations ✔️
|
| Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync‑net472 | 1.114 | 2,944.68 | 2,642.60 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | ExecuteAsync |
net472 | 2.94μs | 1.31ns | 5.08ns | 0.23 | 0 | 0 | 1.45 KB |
| master | ExecuteAsync |
netcoreapp3.1 | 1.73μs | 0.653ns | 2.35ns | 0.0182 | 0 | 0 | 1.38 KB |
| #3348 | ExecuteAsync |
net472 | 2.64μs | 1.35ns | 5.24ns | 0.23 | 0 | 0 | 1.45 KB |
| #3348 | ExecuteAsync |
netcoreapp3.1 | 1.75μs | 0.575ns | 2.23ns | 0.0185 | 0 | 0 | 1.38 KB |
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | SendAsync |
net472 | 5.93μs | 1.8ns | 6.72ns | 0.443 | 0 | 0 | 2.8 KB |
| master | SendAsync |
netcoreapp3.1 | 3.78μs | 1.29ns | 4.66ns | 0.0361 | 0 | 0 | 2.63 KB |
| #3348 | SendAsync |
net472 | 5.96μs | 1.52ns | 5.9ns | 0.443 | 0 | 0 | 2.8 KB |
| #3348 | SendAsync |
netcoreapp3.1 | 3.72μs | 1.82ns | 7.06ns | 0.0354 | 0 | 0 | 2.63 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 |
net472 | 3.19μs | 3.1ns | 12ns | 0.298 | 0 | 0 | 1.88 KB |
| master | EnrichedLog |
netcoreapp3.1 | 2.57μs | 0.867ns | 3.24ns | 0.026 | 0 | 0 | 1.91 KB |
| #3348 | EnrichedLog |
net472 | 3.11μs | 3.06ns | 11.5ns | 0.298 | 0 | 0 | 1.88 KB |
| #3348 | EnrichedLog |
netcoreapp3.1 | 2.44μs | 0.868ns | 3.36ns | 0.0259 | 0 | 0 | 1.91 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 |
net472 | 151μs | 84.6ns | 317ns | 0.679 | 0.226 | 0 | 4.72 KB |
| master | EnrichedLog |
netcoreapp3.1 | 115μs | 137ns | 514ns | 0 | 0 | 0 | 4.55 KB |
| #3348 | EnrichedLog |
net472 | 151μs | 82.1ns | 307ns | 0.678 | 0.226 | 0 | 4.72 KB |
| #3348 | EnrichedLog |
netcoreapp3.1 | 120μs | 119ns | 462ns | 0.0596 | 0 | 0 | 4.55 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 |
net472 | 5.66μs | 1.27ns | 4.42ns | 0.578 | 0.00284 | 0 | 3.65 KB |
| master | EnrichedLog |
netcoreapp3.1 | 4.28μs | 2.51ns | 9.38ns | 0.0537 | 0 | 0 | 3.98 KB |
| #3348 | EnrichedLog |
net472 | 5.8μs | 1.23ns | 4.42ns | 0.58 | 0.0029 | 0 | 3.65 KB |
| #3348 | EnrichedLog |
netcoreapp3.1 | 4.49μs | 3.48ns | 13ns | 0.0558 | 0 | 0 | 3.98 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 |
net472 | 2.38μs | 2.29ns | 8.87ns | 0.223 | 0 | 0 | 1.4 KB |
| master | SendReceive |
netcoreapp3.1 | 1.84μs | 0.605ns | 2.26ns | 0.0185 | 0 | 0 | 1.35 KB |
| #3348 | SendReceive |
net472 | 2.27μs | 3.04ns | 11.8ns | 0.222 | 0 | 0 | 1.4 KB |
| #3348 | SendReceive |
netcoreapp3.1 | 1.85μs | 0.432ns | 1.5ns | 0.0175 | 0 | 0 | 1.35 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 |
net472 | 5.18μs | 2.13ns | 7.67ns | 0.363 | 0 | 0 | 2.3 KB |
| master | EnrichedLog |
netcoreapp3.1 | 4.37μs | 2.34ns | 8.77ns | 0.024 | 0 | 0 | 1.86 KB |
| #3348 | EnrichedLog |
net472 | 5.1μs | 2.4ns | 8.98ns | 0.362 | 0 | 0 | 2.3 KB |
| #3348 | EnrichedLog |
netcoreapp3.1 | 4.19μs | 1.33ns | 4.79ns | 0.0251 | 0 | 0 | 1.86 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 |
net472 | 1.16μs | 0.358ns | 1.39ns | 0.133 | 0 | 0 | 842 B |
| master | StartFinishSpan |
netcoreapp3.1 | 968ns | 0.36ns | 1.35ns | 0.0106 | 0 | 0 | 792 B |
| master | StartFinishScope |
net472 | 1.49μs | 0.257ns | 0.928ns | 0.146 | 0 | 0 | 923 B |
| master | StartFinishScope |
netcoreapp3.1 | 1.08μs | 0.372ns | 1.39ns | 0.0124 | 0 | 0 | 912 B |
| #3348 | StartFinishSpan |
net472 | 1.18μs | 0.727ns | 2.82ns | 0.134 | 0 | 0 | 842 B |
| #3348 | StartFinishSpan |
netcoreapp3.1 | 972ns | 0.568ns | 2.2ns | 0.0108 | 0 | 0 | 792 B |
| #3348 | StartFinishScope |
net472 | 1.39μs | 0.462ns | 1.73ns | 0.146 | 0 | 0 | 923 B |
| #3348 | StartFinishScope |
netcoreapp3.1 | 1.14μs | 0.688ns | 2.67ns | 0.0124 | 0 | 0 | 912 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 |
net472 | 1.47μs | 0.201ns | 0.698ns | 0.146 | 0 | 0 | 923 B |
| master | RunOnMethodBegin |
netcoreapp3.1 | 1.17μs | 0.403ns | 1.51ns | 0.0123 | 0 | 0 | 912 B |
| #3348 | RunOnMethodBegin |
net472 | 1.49μs | 0.778ns | 3.01ns | 0.146 | 0 | 0 | 923 B |
| #3348 | RunOnMethodBegin |
netcoreapp3.1 | 1.18μs | 0.463ns | 1.73ns | 0.0124 | 0 | 0 | 912 B |
Member
Author
Code Coverage Report 📊✔️ Merging #3348 into master will not change line coverage
View the full report for further details: Datadog.Trace Breakdown ✔️
The following classes have significant coverage changes.
View the full reports for further details: |
pierotibou
approved these changes
Oct 13, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of changes
Reason for change
In #3324, I changed the way we installed .NET Core 2.1 to resolve the constant build warnings from Azure Devops. Unfortunately, this broke stuff 🤷♂️
Implementation details
dotnetexe) when running the.exedirectly. Running the.dllwithdotnetfixes it. I have no idea why.Test coverage
Ran several full builds, including the exploration tests
Other details
Uncovered some other issues: