-
Notifications
You must be signed in to change notification settings - Fork 147
Expand ownership of Version Bump related files #6877
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
Merged
Merged
Conversation
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
BenchmarksBenchmarks Report for tracer 🐌Benchmarks for #99 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 ✔️ More allocations
|
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.ActivityBenchmark.StartStopWithChild‑net472 | 6.1 KB | 6.14 KB | 44 B | 0.72% |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartStopWithChild |
net6.0 | 10.5μs | 59.2ns | 374ns | 0 | 0 | 0 | 5.57 KB |
master | StartStopWithChild |
netcoreapp3.1 | 13.5μs | 67.4ns | 294ns | 0 | 0 | 0 | 5.76 KB |
master | StartStopWithChild |
net472 | 22.5μs | 125ns | 803ns | 0.867 | 0.217 | 0 | 6.1 KB |
#99 | StartStopWithChild |
net6.0 | 10.2μs | 57.2ns | 366ns | 0 | 0 | 0 | 5.55 KB |
#99 | StartStopWithChild |
netcoreapp3.1 | 13.2μs | 69.5ns | 374ns | 0 | 0 | 0 | 5.76 KB |
#99 | StartStopWithChild |
net472 | 22.2μs | 120ns | 709ns | 1.08 | 0.324 | 0.108 | 6.14 KB |
Benchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Fewer allocations 🎉
Fewer allocations 🎉 in #99
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces‑net472
3.35 KB
3.31 KB
-46 B
-1.37%
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces‑net472 | 3.35 KB | 3.31 KB | -46 B | -1.37% |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | WriteAndFlushEnrichedTraces |
net6.0 | 926μs | 39ns | 151ns | 0 | 0 | 0 | 2.71 KB |
master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 1.01ms | 94.8ns | 355ns | 0 | 0 | 0 | 2.7 KB |
master | WriteAndFlushEnrichedTraces |
net472 | 1.23ms | 341ns | 1.23μs | 0 | 0 | 0 | 3.35 KB |
#99 | WriteAndFlushEnrichedTraces |
net6.0 | 916μs | 60.7ns | 235ns | 0 | 0 | 0 | 2.7 KB |
#99 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 1ms | 72.4ns | 261ns | 0 | 0 | 0 | 2.7 KB |
#99 | WriteAndFlushEnrichedTraces |
net472 | 1.23ms | 33.7ns | 121ns | 0 | 0 | 0 | 3.31 KB |
Benchmarks.Trace.AspNetCoreBenchmark - Unknown 🤷 Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | SendRequest |
net6.0 | 62μs | 287ns | 1.11μs | 0 | 0 | 0 | 14.53 KB |
master | SendRequest |
netcoreapp3.1 | 71μs | 184ns | 690ns | 0 | 0 | 0 | 17.42 KB |
master | SendRequest |
net472 | 0ns | 0ns | 0ns | 0 | 0 | 0 | 0 b |
#99 | SendRequest |
net6.0 | 61.9μs | 71.5ns | 268ns | 0 | 0 | 0 | 14.53 KB |
#99 | SendRequest |
netcoreapp3.1 | 71.6μs | 60.3ns | 225ns | 0 | 0 | 0 | 17.42 KB |
#99 | SendRequest |
net472 | 0ns | 0ns | 0ns | 0 | 0 | 0 | 0 b |
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Slower ⚠️ More allocations ⚠️
Slower ⚠️ in #99
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0
1.138
638,009.77
725,865.62
More allocations ⚠️ in #99
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net472
56.01 KB
56.32 KB
312 B
0.56%
Fewer allocations 🎉 in #99
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0
42.35 KB
41.77 KB
-574 B
-1.36%
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0 | 1.138 | 638,009.77 | 725,865.62 |
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net472 | 56.01 KB | 56.32 KB | 312 B | 0.56% |
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0 | 42.35 KB | 41.77 KB | -574 B | -1.36% |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | WriteAndFlushEnrichedTraces |
net6.0 | 639μs | 1.24μs | 4.47μs | 0 | 0 | 0 | 42.35 KB |
master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 673μs | 3.5μs | 24.3μs | 0 | 0 | 0 | 42.23 KB |
master | WriteAndFlushEnrichedTraces |
net472 | 971μs | 4.6μs | 19.5μs | 4.81 | 0 | 0 | 56.01 KB |
#99 | WriteAndFlushEnrichedTraces |
net6.0 | 726μs | 959ns | 3.71μs | 0 | 0 | 0 | 41.77 KB |
#99 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 698μs | 1.5μs | 7.05μs | 0 | 0 | 0 | 42.25 KB |
#99 | WriteAndFlushEnrichedTraces |
net472 | 913μs | 3.88μs | 14μs | 8.93 | 4.46 | 0 | 56.32 KB |
Benchmarks.Trace.DbCommandBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | ExecuteNonQuery |
net6.0 | 1.93μs | 8.2ns | 31.8ns | 0 | 0 | 0 | 1.03 KB |
master | ExecuteNonQuery |
netcoreapp3.1 | 2.46μs | 10.2ns | 39.5ns | 0 | 0 | 0 | 1.02 KB |
master | ExecuteNonQuery |
net472 | 2.8μs | 4.93ns | 19.1ns | 0.153 | 0.0139 | 0 | 995 B |
#99 | ExecuteNonQuery |
net6.0 | 1.87μs | 7.29ns | 28.2ns | 0 | 0 | 0 | 1.03 KB |
#99 | ExecuteNonQuery |
netcoreapp3.1 | 2.49μs | 8.18ns | 31.7ns | 0 | 0 | 0 | 1.02 KB |
#99 | ExecuteNonQuery |
net472 | 2.9μs | 8.72ns | 33.8ns | 0.156 | 0.0142 | 0 | 995 B |
Benchmarks.Trace.ElasticsearchBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | CallElasticsearch |
net6.0 | 1.83μs | 9.48ns | 46.5ns | 0 | 0 | 0 | 1.04 KB |
master | CallElasticsearch |
netcoreapp3.1 | 2.27μs | 10.9ns | 43.7ns | 0 | 0 | 0 | 1.04 KB |
master | CallElasticsearch |
net472 | 3.54μs | 1.43ns | 5.55ns | 0.159 | 0 | 0 | 1.05 KB |
master | CallElasticsearchAsync |
net6.0 | 1.85μs | 8.88ns | 36.6ns | 0 | 0 | 0 | 1.02 KB |
master | CallElasticsearchAsync |
netcoreapp3.1 | 2.43μs | 8.95ns | 34.7ns | 0 | 0 | 0 | 1.09 KB |
master | CallElasticsearchAsync |
net472 | 3.71μs | 1.43ns | 5.35ns | 0.166 | 0 | 0 | 1.11 KB |
#99 | CallElasticsearch |
net6.0 | 1.92μs | 6.12ns | 23.7ns | 0 | 0 | 0 | 1.04 KB |
#99 | CallElasticsearch |
netcoreapp3.1 | 2.29μs | 7.13ns | 27.6ns | 0 | 0 | 0 | 1.04 KB |
#99 | CallElasticsearch |
net472 | 3.55μs | 4.09ns | 15.9ns | 0.159 | 0 | 0 | 1.05 KB |
#99 | CallElasticsearchAsync |
net6.0 | 1.91μs | 4.42ns | 17.1ns | 0 | 0 | 0 | 1.02 KB |
#99 | CallElasticsearchAsync |
netcoreapp3.1 | 2.34μs | 8.97ns | 32.3ns | 0 | 0 | 0 | 1.09 KB |
#99 | CallElasticsearchAsync |
net472 | 3.72μs | 8.13ns | 31.5ns | 0.167 | 0 | 0 | 1.11 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.83μs | 6.11ns | 23.7ns | 0 | 0 | 0 | 960 B |
master | ExecuteAsync |
netcoreapp3.1 | 2.34μs | 2.84ns | 11ns | 0 | 0 | 0 | 960 B |
master | ExecuteAsync |
net472 | 2.58μs | 1.77ns | 6.63ns | 0.141 | 0 | 0 | 923 B |
#99 | ExecuteAsync |
net6.0 | 1.79μs | 6.99ns | 27.1ns | 0 | 0 | 0 | 960 B |
#99 | ExecuteAsync |
netcoreapp3.1 | 2.27μs | 8.45ns | 32.7ns | 0 | 0 | 0 | 960 B |
#99 | ExecuteAsync |
net472 | 2.61μs | 0.906ns | 3.51ns | 0.144 | 0 | 0 | 923 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 | 6.84μs | 15.4ns | 55.5ns | 0 | 0 | 0 | 2.37 KB |
master | SendAsync |
netcoreapp3.1 | 8.63μs | 15.8ns | 61.2ns | 0 | 0 | 0 | 2.9 KB |
master | SendAsync |
net472 | 12.2μs | 9.74ns | 37.7ns | 0.488 | 0 | 0 | 3.19 KB |
#99 | SendAsync |
net6.0 | 7.33μs | 13.4ns | 51.9ns | 0 | 0 | 0 | 2.37 KB |
#99 | SendAsync |
netcoreapp3.1 | 8.78μs | 14.8ns | 57.3ns | 0 | 0 | 0 | 2.9 KB |
#99 | SendAsync |
net472 | 12.1μs | 6.69ns | 25.9ns | 0.481 | 0 | 0 | 3.19 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 | 2.59μs | 0.676ns | 2.62ns | 0 | 0 | 0 | 1.76 KB |
master | EnrichedLog |
netcoreapp3.1 | 3.47μs | 10.2ns | 39.5ns | 0 | 0 | 0 | 1.76 KB |
master | EnrichedLog |
net472 | 3.93μs | 4.14ns | 15.5ns | 0.255 | 0 | 0 | 1.69 KB |
#99 | EnrichedLog |
net6.0 | 2.61μs | 3.98ns | 15.4ns | 0 | 0 | 0 | 1.76 KB |
#99 | EnrichedLog |
netcoreapp3.1 | 3.49μs | 16.6ns | 64.1ns | 0 | 0 | 0 | 1.76 KB |
#99 | EnrichedLog |
net472 | 3.93μs | 4.81ns | 18.6ns | 0.257 | 0 | 0 | 1.69 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 | 122μs | 88.3ns | 330ns | 0 | 0 | 0 | 4.37 KB |
master | EnrichedLog |
netcoreapp3.1 | 127μs | 62.2ns | 215ns | 0 | 0 | 0 | 4.37 KB |
master | EnrichedLog |
net472 | 171μs | 111ns | 400ns | 0 | 0 | 0 | 4.57 KB |
#99 | EnrichedLog |
net6.0 | 124μs | 74.3ns | 288ns | 0 | 0 | 0 | 4.37 KB |
#99 | EnrichedLog |
netcoreapp3.1 | 126μs | 118ns | 440ns | 0 | 0 | 0 | 4.37 KB |
#99 | EnrichedLog |
net472 | 166μs | 161ns | 625ns | 0 | 0 | 0 | 4.57 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 | 4.88μs | 19.8ns | 74.2ns | 0 | 0 | 0 | 2.32 KB |
master | EnrichedLog |
netcoreapp3.1 | 6.8μs | 18.4ns | 71.3ns | 0 | 0 | 0 | 2.32 KB |
master | EnrichedLog |
net472 | 7.42μs | 8.51ns | 32.9ns | 0.333 | 0 | 0 | 2.14 KB |
#99 | EnrichedLog |
net6.0 | 5μs | 7.7ns | 28.8ns | 0 | 0 | 0 | 2.32 KB |
#99 | EnrichedLog |
netcoreapp3.1 | 6.66μs | 5.13ns | 19.9ns | 0 | 0 | 0 | 2.32 KB |
#99 | EnrichedLog |
net472 | 7.54μs | 5.94ns | 22.2ns | 0.338 | 0 | 0 | 2.14 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 | 2.07μs | 10ns | 41.2ns | 0 | 0 | 0 | 1.21 KB |
master | SendReceive |
netcoreapp3.1 | 2.66μs | 9.63ns | 34.7ns | 0 | 0 | 0 | 1.21 KB |
master | SendReceive |
net472 | 3.09μs | 4.88ns | 18.9ns | 0.186 | 0 | 0 | 1.21 KB |
#99 | SendReceive |
net6.0 | 1.97μs | 10.6ns | 54ns | 0 | 0 | 0 | 1.21 KB |
#99 | SendReceive |
netcoreapp3.1 | 2.64μs | 13.7ns | 62.8ns | 0 | 0 | 0 | 1.21 KB |
#99 | SendReceive |
net472 | 3μs | 1.11ns | 4.32ns | 0.18 | 0 | 0 | 1.21 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 | 4.31μs | 15.6ns | 60.6ns | 0 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
netcoreapp3.1 | 5.78μs | 15.3ns | 57.1ns | 0 | 0 | 0 | 1.69 KB |
master | EnrichedLog |
net472 | 6.6μs | 7.85ns | 30.4ns | 0.331 | 0 | 0 | 2.08 KB |
#99 | EnrichedLog |
net6.0 | 4.14μs | 3.29ns | 12.3ns | 0 | 0 | 0 | 1.64 KB |
#99 | EnrichedLog |
netcoreapp3.1 | 5.76μs | 16.9ns | 63.3ns | 0 | 0 | 0 | 1.69 KB |
#99 | EnrichedLog |
net472 | 6.58μs | 9.95ns | 38.6ns | 0.327 | 0 | 0 | 2.08 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 |
net6.0 | 760ns | 3.95ns | 18.5ns | 0 | 0 | 0 | 584 B |
master | StartFinishSpan |
netcoreapp3.1 | 957ns | 5.04ns | 24.2ns | 0 | 0 | 0 | 584 B |
master | StartFinishSpan |
net472 | 900ns | 0.239ns | 0.924ns | 0.0919 | 0 | 0 | 586 B |
master | StartFinishScope |
net6.0 | 939ns | 4.83ns | 21.6ns | 0 | 0 | 0 | 704 B |
master | StartFinishScope |
netcoreapp3.1 | 1.19μs | 1.74ns | 6.75ns | 0 | 0 | 0 | 704 B |
master | StartFinishScope |
net472 | 1.11μs | 0.142ns | 0.549ns | 0.1 | 0 | 0 | 666 B |
#99 | StartFinishSpan |
net6.0 | 736ns | 3.99ns | 22.6ns | 0 | 0 | 0 | 584 B |
#99 | StartFinishSpan |
netcoreapp3.1 | 943ns | 4.55ns | 18.2ns | 0 | 0 | 0 | 584 B |
#99 | StartFinishSpan |
net472 | 877ns | 0.179ns | 0.668ns | 0.0924 | 0 | 0 | 586 B |
#99 | StartFinishScope |
net6.0 | 890ns | 4.7ns | 24.4ns | 0 | 0 | 0 | 704 B |
#99 | StartFinishScope |
netcoreapp3.1 | 1.12μs | 5.91ns | 30.2ns | 0 | 0 | 0 | 704 B |
#99 | StartFinishScope |
net472 | 1.07μs | 0.449ns | 1.74ns | 0.101 | 0 | 0 | 666 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 | 1.05μs | 1.37ns | 5.32ns | 0 | 0 | 0 | 704 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 1.35μs | 7.37ns | 33.8ns | 0 | 0 | 0 | 704 B |
master | RunOnMethodBegin |
net472 | 1.37μs | 0.658ns | 2.55ns | 0.102 | 0 | 0 | 666 B |
#99 | RunOnMethodBegin |
net6.0 | 1.03μs | 4.96ns | 19.2ns | 0 | 0 | 0 | 704 B |
#99 | RunOnMethodBegin |
netcoreapp3.1 | 1.35μs | 5.97ns | 23.1ns | 0 | 0 | 0 | 704 B |
#99 | RunOnMethodBegin |
net472 | 1.39μs | 1.06ns | 3.97ns | 0.105 | 0 | 0 | 666 B |
lucaspimentel
approved these changes
Apr 21, 2025
andrewlock
reviewed
Apr 22, 2025
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.
Nice idea. Also gross 😂
The other option is to add everyone to the profiling team 😉
andrewlock
approved these changes
Apr 22, 2025
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
Expand the ownership of Version Bump-related files to be reviewable by https://github.com/orgs/DataDog/teams/apm-dotnet
Reason for change
Several of the files require reviews from https://github.com/orgs/DataDog/teams/profiling-dotnet, which has limited coverage.
Implementation details
I reviewed this recent Version Bump PR file-by-file, hovered over the little "shield" icon and added the file to the
CODEOWNERS
if it wasn't already owned by@apm-dotnet
.All of the new entries with JUST
@apm-dotnet
were previously owned by@tracing-dotnet
.All of the new entries with
@DataDog/profiling-dotnet @DataDog/apm-dotnet
were previously owned by JUST@DataDog/profiling-dotnet
Test coverage
Other details
This isn't ideal, but I don't see a better way around it without just force merging.