-
Notifications
You must be signed in to change notification settings - Fork 140
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
Add support for the "new" dev.azure.com style URLs in SourceLink URL parsing logic #6159
Add support for the "new" dev.azure.com style URLs in SourceLink URL parsing logic #6159
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 371628 Passed, 2103 Skipped, 15h 4m 34.34s Total Time ⌛ Performance Regressions vs Default Branch (1)
|
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.
Thanks! Just a couple of nits (let me know if you'd like me to take care of those!)
tracer/src/Datadog.Trace/PDBs/SourceLink/AzureDevOpsSourceLinkUrlParser.cs
Outdated
Show resolved
Hide resolved
tracer/src/Datadog.Trace/PDBs/SourceLink/AzureDevOpsSourceLinkUrlParser.cs
Outdated
Show resolved
Hide resolved
7f31392
to
cf0c1f9
Compare
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 (6159) - mean (70ms) : 68, 72
. : milestone, 70,
master - mean (70ms) : 66, 74
. : milestone, 70,
section CallTarget+Inlining+NGEN
This PR (6159) - mean (1,113ms) : 1094, 1132
. : milestone, 1113,
master - mean (1,113ms) : 1078, 1148
. : milestone, 1113,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6159) - mean (109ms) : 105, 113
. : milestone, 109,
master - mean (109ms) : 107, 112
. : milestone, 109,
section CallTarget+Inlining+NGEN
This PR (6159) - mean (771ms) : 752, 790
. : milestone, 771,
master - mean (770ms) : 751, 789
. : milestone, 770,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6159) - mean (92ms) : 90, 94
. : milestone, 92,
master - mean (92ms) : 90, 95
. : milestone, 92,
section CallTarget+Inlining+NGEN
This PR (6159) - mean (729ms) : 710, 748
. : milestone, 729,
master - mean (728ms) : 710, 746
. : milestone, 728,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6159) - mean (191ms) : 188, 194
. : milestone, 191,
master - mean (191ms) : 186, 195
. : milestone, 191,
section CallTarget+Inlining+NGEN
This PR (6159) - mean (1,207ms) : 1187, 1227
. : milestone, 1207,
master - mean (1,202ms) : 1183, 1221
. : milestone, 1202,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6159) - mean (277ms) : 273, 281
. : milestone, 277,
master - mean (275ms) : 271, 280
. : milestone, 275,
section CallTarget+Inlining+NGEN
This PR (6159) - mean (947ms) : 927, 967
. : milestone, 947,
master - mean (944ms) : 922, 966
. : milestone, 944,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6159) - mean (265ms) : 261, 268
. : milestone, 265,
master - mean (265ms) : 260, 270
. : milestone, 265,
section CallTarget+Inlining+NGEN
This PR (6159) - mean (929ms) : 911, 948
. : milestone, 929,
master - mean (927ms) : 906, 947
. : milestone, 927,
|
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 (6159) (10.968M) : 0, 10968128
master (11.101M) : 0, 11100941
benchmarks/2.9.0 (11.081M) : 0, 11080577
section Automatic
This PR (6159) (7.427M) : 0, 7427216
master (7.389M) : 0, 7389242
benchmarks/2.9.0 (7.732M) : 0, 7732233
section Trace stats
master (7.528M) : 0, 7528321
section Manual
master (10.986M) : 0, 10986040
section Manual + Automatic
This PR (6159) (6.949M) : 0, 6949417
master (6.820M) : 0, 6819504
section DD_TRACE_ENABLED=0
master (10.304M) : 0, 10304285
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6159) (9.515M) : 0, 9515336
master (9.728M) : 0, 9727588
benchmarks/2.9.0 (9.798M) : 0, 9798067
section Automatic
This PR (6159) (6.679M) : 0, 6679155
master (6.463M) : 0, 6463228
section Trace stats
master (6.591M) : 0, 6591023
section Manual
master (9.627M) : 0, 9627166
section Manual + Automatic
This PR (6159) (6.070M) : 0, 6070293
master (6.028M) : 0, 6027833
section DD_TRACE_ENABLED=0
master (8.762M) : 0, 8761785
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6159) (9.749M) : 0, 9749215
master (9.966M) : 0, 9965554
benchmarks/2.9.0 (10.067M) : 0, 10067315
section Automatic
This PR (6159) (6.401M) : 0, 6401159
master (6.494M) : 0, 6493647
benchmarks/2.9.0 (7.552M) : 0, 7552193
section Trace stats
master (7.096M) : 0, 7096492
section Manual
master (9.850M) : 0, 9850046
section Manual + Automatic
This PR (6159) (6.022M) : 0, 6021713
master (5.952M) : 0, 5952386
section DD_TRACE_ENABLED=0
master (9.119M) : 0, 9118624
|
Benchmarks Report for tracer 🐌Benchmarks for #6159 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 ✔️ Fewer allocations 🎉
|
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑netcoreapp3.1 | 41.95 KB | 41.68 KB | -268 B | -0.64% |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | WriteAndFlushEnrichedTraces |
net6.0 | 571μs | 2.93μs | 13.8μs | 0.553 | 0 | 0 | 41.63 KB |
master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 668μs | 3.2μs | 12.4μs | 0.322 | 0 | 0 | 41.95 KB |
master | WriteAndFlushEnrichedTraces |
net472 | 862μs | 2.99μs | 11.2μs | 8.13 | 2.57 | 0.428 | 53.34 KB |
#6159 | WriteAndFlushEnrichedTraces |
net6.0 | 570μs | 2.93μs | 14μs | 0.573 | 0 | 0 | 41.53 KB |
#6159 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 704μs | 3.84μs | 21.7μs | 0.336 | 0 | 0 | 41.68 KB |
#6159 | WriteAndFlushEnrichedTraces |
net472 | 867μs | 3.89μs | 15.1μs | 8.19 | 2.59 | 0.431 | 53.3 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.2μs | 1.67ns | 6.25ns | 0.0143 | 0 | 0 | 1.02 KB |
master | ExecuteNonQuery |
netcoreapp3.1 | 1.7μs | 1.98ns | 7.68ns | 0.0136 | 0 | 0 | 1.02 KB |
master | ExecuteNonQuery |
net472 | 2.16μs | 1.76ns | 6.6ns | 0.157 | 0 | 0 | 987 B |
#6159 | ExecuteNonQuery |
net6.0 | 1.32μs | 1.16ns | 4.48ns | 0.0146 | 0 | 0 | 1.02 KB |
#6159 | ExecuteNonQuery |
netcoreapp3.1 | 1.76μs | 0.679ns | 2.45ns | 0.0133 | 0 | 0 | 1.02 KB |
#6159 | ExecuteNonQuery |
net472 | 2.08μs | 1.66ns | 5.98ns | 0.156 | 0 | 0 | 987 B |
Benchmarks.Trace.ElasticsearchBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #6159
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync‑net6.0
1.183
1,449.72
1,224.95
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync‑net6.0 | 1.183 | 1,449.72 | 1,224.95 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | CallElasticsearch |
net6.0 | 1.23μs | 0.31ns | 1.16ns | 0.0136 | 0 | 0 | 976 B |
master | CallElasticsearch |
netcoreapp3.1 | 1.5μs | 1.08ns | 4.18ns | 0.0127 | 0 | 0 | 976 B |
master | CallElasticsearch |
net472 | 2.48μs | 1.57ns | 5.86ns | 0.158 | 0 | 0 | 995 B |
master | CallElasticsearchAsync |
net6.0 | 1.45μs | 0.762ns | 2.95ns | 0.0138 | 0 | 0 | 952 B |
master | CallElasticsearchAsync |
netcoreapp3.1 | 1.66μs | 0.56ns | 2.02ns | 0.0141 | 0 | 0 | 1.02 KB |
master | CallElasticsearchAsync |
net472 | 2.55μs | 0.914ns | 3.42ns | 0.167 | 0 | 0 | 1.05 KB |
#6159 | CallElasticsearch |
net6.0 | 1.19μs | 0.925ns | 3.58ns | 0.0139 | 0 | 0 | 976 B |
#6159 | CallElasticsearch |
netcoreapp3.1 | 1.46μs | 0.601ns | 2.25ns | 0.0131 | 0 | 0 | 976 B |
#6159 | CallElasticsearch |
net472 | 2.42μs | 1.27ns | 4.91ns | 0.158 | 0 | 0 | 995 B |
#6159 | CallElasticsearchAsync |
net6.0 | 1.22μs | 1.4ns | 5.41ns | 0.0135 | 0 | 0 | 952 B |
#6159 | CallElasticsearchAsync |
netcoreapp3.1 | 1.63μs | 0.522ns | 2.02ns | 0.0138 | 0 | 0 | 1.02 KB |
#6159 | CallElasticsearchAsync |
net472 | 2.6μs | 1.38ns | 5.17ns | 0.167 | 0 | 0 | 1.05 KB |
Benchmarks.Trace.GraphQLBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #6159
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync‑net6.0
1.169
1,386.86
1,186.86
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync‑net6.0 | 1.169 | 1,386.86 | 1,186.86 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | ExecuteAsync |
net6.0 | 1.39μs | 0.538ns | 2.01ns | 0.0133 | 0 | 0 | 952 B |
master | ExecuteAsync |
netcoreapp3.1 | 1.55μs | 1.95ns | 7.56ns | 0.0125 | 0 | 0 | 952 B |
master | ExecuteAsync |
net472 | 1.87μs | 0.402ns | 1.5ns | 0.145 | 0.000936 | 0 | 915 B |
#6159 | ExecuteAsync |
net6.0 | 1.19μs | 0.824ns | 3.08ns | 0.0136 | 0 | 0 | 952 B |
#6159 | ExecuteAsync |
netcoreapp3.1 | 1.57μs | 1.05ns | 3.92ns | 0.0125 | 0 | 0 | 952 B |
#6159 | ExecuteAsync |
net472 | 1.9μs | 1.67ns | 6.45ns | 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.17μs | 2.03ns | 7.85ns | 0.0312 | 0 | 0 | 2.22 KB |
master | SendAsync |
netcoreapp3.1 | 5.13μs | 1.59ns | 5.73ns | 0.036 | 0 | 0 | 2.76 KB |
master | SendAsync |
net472 | 7.84μs | 2.64ns | 10.2ns | 0.5 | 0 | 0 | 3.15 KB |
#6159 | SendAsync |
net6.0 | 4.27μs | 2.91ns | 10.9ns | 0.03 | 0 | 0 | 2.22 KB |
#6159 | SendAsync |
netcoreapp3.1 | 5.21μs | 3.42ns | 12.8ns | 0.0363 | 0 | 0 | 2.76 KB |
#6159 | SendAsync |
net472 | 7.83μs | 2.36ns | 8.84ns | 0.498 | 0 | 0 | 3.15 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.54μs | 0.751ns | 2.91ns | 0.0231 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
netcoreapp3.1 | 2.41μs | 1.42ns | 5.48ns | 0.0224 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
net472 | 2.65μs | 0.863ns | 3.23ns | 0.249 | 0 | 0 | 1.57 KB |
#6159 | EnrichedLog |
net6.0 | 1.44μs | 0.749ns | 2.8ns | 0.0232 | 0 | 0 | 1.64 KB |
#6159 | EnrichedLog |
netcoreapp3.1 | 2.28μs | 1.1ns | 4.11ns | 0.0216 | 0 | 0 | 1.64 KB |
#6159 | EnrichedLog |
net472 | 2.61μs | 0.787ns | 3.05ns | 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 | 305ns | 1.18μs | 0 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
netcoreapp3.1 | 122μs | 122ns | 457ns | 0.0613 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
net472 | 152μs | 169ns | 653ns | 0.679 | 0.226 | 0 | 4.46 KB |
#6159 | EnrichedLog |
net6.0 | 115μs | 198ns | 767ns | 0.0579 | 0 | 0 | 4.28 KB |
#6159 | EnrichedLog |
netcoreapp3.1 | 123μs | 186ns | 721ns | 0.0608 | 0 | 0 | 4.28 KB |
#6159 | EnrichedLog |
net472 | 152μs | 101ns | 392ns | 0.686 | 0.229 | 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.17μs | 0.983ns | 3.81ns | 0.0316 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
netcoreapp3.1 | 4.2μs | 3.55ns | 13.7ns | 0.0295 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
net472 | 4.85μs | 1.37ns | 5.3ns | 0.319 | 0 | 0 | 2.02 KB |
#6159 | EnrichedLog |
net6.0 | 3.13μs | 0.889ns | 3.33ns | 0.0298 | 0 | 0 | 2.2 KB |
#6159 | EnrichedLog |
netcoreapp3.1 | 4.29μs | 1.51ns | 5.83ns | 0.0279 | 0 | 0 | 2.2 KB |
#6159 | EnrichedLog |
net472 | 5.05μs | 1.78ns | 6.88ns | 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.37μs | 1.12ns | 4.18ns | 0.0163 | 0 | 0 | 1.14 KB |
master | SendReceive |
netcoreapp3.1 | 1.82μs | 0.877ns | 3.28ns | 0.0154 | 0 | 0 | 1.14 KB |
master | SendReceive |
net472 | 2.04μs | 0.944ns | 3.66ns | 0.184 | 0.00102 | 0 | 1.16 KB |
#6159 | SendReceive |
net6.0 | 1.5μs | 1.31ns | 4.91ns | 0.0158 | 0 | 0 | 1.14 KB |
#6159 | SendReceive |
netcoreapp3.1 | 1.82μs | 1.03ns | 3.84ns | 0.0149 | 0 | 0 | 1.14 KB |
#6159 | SendReceive |
net472 | 2.1μs | 1.11ns | 4.29ns | 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.92μs | 1.39ns | 5.38ns | 0.0219 | 0 | 0 | 1.6 KB |
master | EnrichedLog |
netcoreapp3.1 | 3.93μs | 1.16ns | 4.19ns | 0.0217 | 0 | 0 | 1.65 KB |
master | EnrichedLog |
net472 | 4.47μs | 5.69ns | 22ns | 0.322 | 0 | 0 | 2.04 KB |
#6159 | EnrichedLog |
net6.0 | 2.76μs | 1ns | 3.88ns | 0.022 | 0 | 0 | 1.6 KB |
#6159 | EnrichedLog |
netcoreapp3.1 | 3.87μs | 1.35ns | 5.23ns | 0.0213 | 0 | 0 | 1.65 KB |
#6159 | EnrichedLog |
net472 | 4.3μs | 1.27ns | 4.74ns | 0.322 | 0 | 0 | 2.04 KB |
Benchmarks.Trace.SpanBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #6159
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0
1.180
564.30
478.25
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net6.0
1.127
454.03
403.03
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0 | 1.180 | 564.30 | 478.25 | |
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net6.0 | 1.127 | 454.03 | 403.03 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 454ns | 0.274ns | 1.06ns | 0.00811 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 623ns | 0.578ns | 2.16ns | 0.00774 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 715ns | 0.61ns | 2.36ns | 0.0918 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 562ns | 1.85ns | 7.16ns | 0.00965 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 719ns | 1.24ns | 4.63ns | 0.00949 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 890ns | 0.674ns | 2.52ns | 0.105 | 0 | 0 | 658 B |
#6159 | StartFinishSpan |
net6.0 | 403ns | 0.22ns | 0.851ns | 0.008 | 0 | 0 | 576 B |
#6159 | StartFinishSpan |
netcoreapp3.1 | 590ns | 0.404ns | 1.57ns | 0.00784 | 0 | 0 | 576 B |
#6159 | StartFinishSpan |
net472 | 713ns | 0.822ns | 3.18ns | 0.0917 | 0 | 0 | 578 B |
#6159 | StartFinishScope |
net6.0 | 478ns | 0.224ns | 0.807ns | 0.00982 | 0 | 0 | 696 B |
#6159 | StartFinishScope |
netcoreapp3.1 | 730ns | 0.508ns | 1.97ns | 0.0096 | 0 | 0 | 696 B |
#6159 | StartFinishScope |
net472 | 869ns | 0.789ns | 2.85ns | 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 | 667ns | 0.353ns | 1.37ns | 0.00988 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 925ns | 0.469ns | 1.82ns | 0.00934 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.15μs | 1.04ns | 4.02ns | 0.104 | 0 | 0 | 658 B |
#6159 | RunOnMethodBegin |
net6.0 | 675ns | 0.457ns | 1.77ns | 0.00983 | 0 | 0 | 696 B |
#6159 | RunOnMethodBegin |
netcoreapp3.1 | 925ns | 0.394ns | 1.52ns | 0.00944 | 0 | 0 | 696 B |
#6159 | RunOnMethodBegin |
net472 | 1.09μs | 0.642ns | 2.4ns | 0.104 | 0 | 0 | 658 B |
cf0c1f9
to
58527e4
Compare
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 - I left one nit comment
@@ -46,15 +53,15 @@ internal override bool TryParseSourceLinkUrl(Uri uri, [NotNullWhen(true)] out st | |||
return false; | |||
} | |||
|
|||
var segments = uri.AbsolutePath.Split(new[] { '/' }, StringSplitOptions.RemoveEmptyEntries); | |||
var segments = uri.AbsolutePath.Split(new char[] { '/' }, StringSplitOptions.RemoveEmptyEntries); |
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.
Can we remove this split and the following check and do it only in BuildRepositoryUrl(uri)
?
413fb04
to
b4db927
Compare
…parsing logic (#6159 => v2) (#6178) ## Summary of changes Fixes #6146 2.x backport of #6159 ## Reason for change Customer reported an issue where the tracer reports incorrect `git.repository_url` as a result of this bug. ## Test coverage Add a new test case. Co-authored-by: Omer Raviv <omer.raviv@datadoghq.com>
Summary of changes
Fixes #6146
Backported to 2.x in #6178
Reason for change
Customer reported an issue where the tracer reports incorrect
git.repository_url
as a result of this bug.Test coverage
Add a new test case.