Skip to content

Fix flaky test metrics tag values#8099

Merged
NachoEchevarria merged 8 commits intomasterfrom
nacho/FlakyFullNameTests
Feb 3, 2026
Merged

Fix flaky test metrics tag values#8099
NachoEchevarria merged 8 commits intomasterfrom
nacho/FlakyFullNameTests

Conversation

@NachoEchevarria
Copy link
Collaborator

@NachoEchevarria NachoEchevarria commented Jan 23, 2026

Summary of changes

We currently send telemetry metrcis related to flaky tests. These metrics, though, had some issues.

In some tests, the test name already contained the class name. The resulting test name would include repeated class names. For instance: "Datadog.Trace.Tests.Logging.DirectSubmission.Sink.PeriodicBatching.BatchingSinkTests.Datadog.Trace.Tests.Logging.DirectSubmission.Sink.PeriodicBatching.BatchingSinkTests.WhenRunning_AndAnEventIsQueued_ItIsWrittenToABatch"

We are sanitizing tag values by calling TryNormalizeTagName() which is useful for value normalization but adds some unneccessary restrictions. For instance, framewrok values were not being sent because they started with a number, which is fine for tag values but not for tag names. Therefore, TryNormalizeTagName will not be used for framework values.

Sometimes, the test name is not sent because we validate tags before sending them and we don't send tags with a length > 200. Test name has been trucated to 200 to avoid having empty test name tags.

Reason for change

Implementation details

Test coverage

Other details

@github-actions github-actions bot added the area:tests unit tests, integration tests label Jan 23, 2026
@NachoEchevarria NachoEchevarria changed the title Fix test full name in flaky metrics Fix flaky test metrics tag values Jan 23, 2026
@dd-trace-dotnet-ci-bot
Copy link

dd-trace-dotnet-ci-bot bot commented Jan 23, 2026

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8099) and master.

✅ No regressions detected - check the details below

Full Metrics Comparison

FakeDbCommand

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration75.10 ± (75.19 - 75.62) ms78.23 ± (78.08 - 78.47) ms+4.2%✅⬆️
.NET Framework 4.8 - Bailout
duration79.35 ± (79.12 - 79.53) ms82.94 ± (82.86 - 83.26) ms+4.5%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1067.90 ± (1070.79 - 1079.73) ms1106.00 ± (1105.77 - 1112.68) ms+3.6%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.97 ± (22.92 - 23.02) ms24.20 ± (24.14 - 24.26) ms+5.4%✅⬆️
process.time_to_main_ms87.76 ± (87.56 - 87.95) ms93.57 ± (93.34 - 93.79) ms+6.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.89 ± (10.89 - 10.90) MB10.89 ± (10.89 - 10.90) MB+0.0%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.92 ± (22.85 - 22.98) ms24.08 ± (24.02 - 24.14) ms+5.1%✅⬆️
process.time_to_main_ms89.03 ± (88.81 - 89.24) ms94.29 ± (94.04 - 94.53) ms+5.9%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.93 ± (10.93 - 10.93) MB10.93 ± (10.93 - 10.93) MB+0.0%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms233.98 ± (230.15 - 237.82) ms238.74 ± (235.17 - 242.31) ms+2.0%✅⬆️
process.time_to_main_ms508.72 ± (507.90 - 509.54) ms533.73 ± (532.78 - 534.67) ms+4.9%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.52 ± (48.49 - 48.54) MB48.50 ± (48.48 - 48.52) MB-0.0%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%
.NET 6 - Baseline
process.internal_duration_ms21.71 ± (21.67 - 21.75) ms22.68 ± (22.63 - 22.73) ms+4.5%✅⬆️
process.time_to_main_ms76.20 ± (76.00 - 76.39) ms80.37 ± (80.17 - 80.57) ms+5.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.62 ± (10.62 - 10.62) MB10.61 ± (10.61 - 10.61) MB-0.1%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.74 ± (21.68 - 21.80) ms22.54 ± (22.49 - 22.59) ms+3.7%✅⬆️
process.time_to_main_ms77.75 ± (77.55 - 77.95) ms81.28 ± (81.07 - 81.50) ms+4.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.67 ± (10.67 - 10.68) MB10.68 ± (10.67 - 10.68) MB+0.0%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms240.31 ± (236.20 - 244.41) ms238.77 ± (234.58 - 242.96) ms-0.6%
process.time_to_main_ms484.42 ± (483.62 - 485.22) ms504.89 ± (503.98 - 505.80) ms+4.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.18 ± (49.16 - 49.21) MB49.21 ± (49.19 - 49.23) MB+0.0%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.87 ± (19.83 - 19.92) ms20.65 ± (20.60 - 20.70) ms+3.9%✅⬆️
process.time_to_main_ms75.68 ± (75.50 - 75.86) ms78.48 ± (78.31 - 78.65) ms+3.7%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.66 ± (7.65 - 7.66) MB7.66 ± (7.66 - 7.66) MB+0.0%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms20.03 ± (19.98 - 20.07) ms20.64 ± (20.58 - 20.69) ms+3.1%✅⬆️
process.time_to_main_ms77.44 ± (77.23 - 77.65) ms79.80 ± (79.60 - 80.01) ms+3.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.70 ± (7.69 - 7.71) MB7.72 ± (7.71 - 7.73) MB+0.2%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms190.46 ± (189.75 - 191.18) ms197.59 ± (196.77 - 198.41) ms+3.7%✅⬆️
process.time_to_main_ms468.03 ± (467.34 - 468.72) ms481.93 ± (481.16 - 482.71) ms+3.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.84 ± (36.80 - 36.88) MB37.03 ± (37.00 - 37.06) MB+0.5%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.3%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration197.13 ± (196.90 - 197.95) ms205.14 ± (205.04 - 206.36) ms+4.1%✅⬆️
.NET Framework 4.8 - Bailout
duration200.25 ± (199.91 - 200.64) ms209.48 ± (209.38 - 210.32) ms+4.6%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1153.43 ± (1155.31 - 1163.48) ms1206.19 ± (1204.16 - 1214.80) ms+4.6%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms191.03 ± (190.59 - 191.48) ms207.79 ± (206.58 - 209.00) ms+8.8%✅⬆️
process.time_to_main_ms83.29 ± (83.08 - 83.50) ms88.98 ± (88.49 - 89.46) ms+6.8%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.03 ± (16.01 - 16.05) MB15.89 ± (15.87 - 15.91) MB-0.9%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.6%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms189.77 ± (189.36 - 190.18) ms207.58 ± (206.24 - 208.91) ms+9.4%✅⬆️
process.time_to_main_ms83.74 ± (83.55 - 83.93) ms90.34 ± (89.90 - 90.79) ms+7.9%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.13 ± (16.09 - 16.16) MB15.86 ± (15.84 - 15.88) MB-1.6%
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (21 - 21)+1.3%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms434.82 ± (431.87 - 437.78) ms446.84 ± (442.63 - 451.05) ms+2.8%✅⬆️
process.time_to_main_ms489.09 ± (488.34 - 489.85) ms517.91 ± (515.55 - 520.27) ms+5.9%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.92 ± (58.81 - 59.03) MB58.81 ± (58.67 - 58.95) MB-0.2%
runtime.dotnet.threads.count29 ± (29 - 29)30 ± (30 - 30)+0.4%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms196.29 ± (195.88 - 196.69) ms213.17 ± (211.75 - 214.59) ms+8.6%✅⬆️
process.time_to_main_ms72.26 ± (72.02 - 72.50) ms77.63 ± (77.19 - 78.06) ms+7.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.35 ± (16.32 - 16.38) MB16.15 ± (16.13 - 16.17) MB-1.2%
runtime.dotnet.threads.count19 ± (19 - 19)20 ± (19 - 20)+2.0%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms195.23 ± (194.86 - 195.59) ms210.98 ± (209.48 - 212.49) ms+8.1%✅⬆️
process.time_to_main_ms73.11 ± (72.92 - 73.29) ms78.92 ± (78.41 - 79.43) ms+8.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.37 ± (16.34 - 16.41) MB16.18 ± (16.16 - 16.20) MB-1.2%
runtime.dotnet.threads.count20 ± (20 - 20)21 ± (20 - 21)+2.5%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms442.91 ± (438.72 - 447.10) ms454.78 ± (450.99 - 458.58) ms+2.7%✅⬆️
process.time_to_main_ms465.30 ± (464.63 - 465.97) ms484.15 ± (482.83 - 485.46) ms+4.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed58.79 ± (58.65 - 58.93) MB59.08 ± (58.91 - 59.26) MB+0.5%✅⬆️
runtime.dotnet.threads.count29 ± (29 - 29)30 ± (30 - 30)+0.5%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms197.04 ± (196.58 - 197.51) ms209.86 ± (208.87 - 210.84) ms+6.5%✅⬆️
process.time_to_main_ms72.21 ± (72.00 - 72.41) ms75.85 ± (75.37 - 76.33) ms+5.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.71 ± (11.69 - 11.73) MB11.54 ± (11.52 - 11.56) MB-1.4%
runtime.dotnet.threads.count18 ± (18 - 18)19 ± (19 - 19)+2.6%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms195.94 ± (195.47 - 196.40) ms205.04 ± (204.30 - 205.78) ms+4.6%✅⬆️
process.time_to_main_ms72.97 ± (72.80 - 73.13) ms75.62 ± (75.36 - 75.88) ms+3.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.76 ± (11.74 - 11.78) MB11.66 ± (11.64 - 11.67) MB-0.8%
runtime.dotnet.threads.count19 ± (19 - 19)20 ± (20 - 20)+1.7%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms373.52 ± (371.91 - 375.12) ms416.17 ± (408.92 - 423.41) ms+11.4%✅⬆️
process.time_to_main_ms453.73 ± (452.62 - 454.84) ms466.49 ± (465.62 - 467.35) ms+2.8%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed48.37 ± (48.34 - 48.40) MB49.58 ± (49.41 - 49.75) MB+2.5%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 29)29 ± (29 - 29)+0.6%✅⬆️
Comparison explanation

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 highlighted in **red**. The following thresholds were used for comparing the execution times:

  • Welch test with statistical test for significance of 5%
  • Only results indicating a difference greater than 5% and 5 ms are considered.

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).

Duration charts
FakeDbCommand (.NET Framework 4.8)
gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8099) - mean (78ms)  : 75, 81
    master - mean (75ms)  : 72, 79

    section Bailout
    This PR (8099) - mean (83ms)  : 81, 85
    master - mean (79ms)  : 77, 82

    section CallTarget+Inlining+NGEN
    This PR (8099) - mean (1,109ms)  : 1058, 1160
    master - mean (1,075ms)  : 1008, 1142

Loading
FakeDbCommand (.NET Core 3.1)
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8099) - mean (125ms)  : 121, 130
    master - mean (118ms)  : 114, 122

    section Bailout
    This PR (8099) - mean (126ms)  : 122, 129
    master - mean (119ms)  : 117, 122

    section CallTarget+Inlining+NGEN
    This PR (8099) - mean (809ms)  : 763, 855
    master - mean (783ms)  : 723, 843

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8099) - mean (110ms)  : 106, 114
    master - mean (105ms)  : 101, 108

    section Bailout
    This PR (8099) - mean (111ms)  : 106, 115
    master - mean (106ms)  : 104, 109

    section CallTarget+Inlining+NGEN
    This PR (8099) - mean (778ms)  : 701, 854
    master - mean (758ms)  : 683, 833

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8099) - mean (107ms)  : 104, 111
    master - mean (103ms)  : 100, 107

    section Bailout
    This PR (8099) - mean (108ms)  : 105, 112
    master - mean (105ms)  : 102, 109

    section CallTarget+Inlining+NGEN
    This PR (8099) - mean (721ms)  : 696, 746
    master - mean (693ms)  : 666, 719

Loading
HttpMessageHandler (.NET Framework 4.8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8099) - mean (206ms)  : 196, 216
    master - mean (197ms)  : 192, 203

    section Bailout
    This PR (8099) - mean (210ms)  : 204, 216
    master - mean (200ms)  : 197, 204

    section CallTarget+Inlining+NGEN
    This PR (8099) - mean (1,209ms)  : 1129, 1290
    master - mean (1,159ms)  : 1097, 1222

Loading
HttpMessageHandler (.NET Core 3.1)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8099) - mean (307ms)  : 282, 333
    master - mean (283ms)  : 276, 291

    section Bailout
    This PR (8099) - mean (308ms)  : crit, 283, 334
    master - mean (282ms)  : 277, 287

    section CallTarget+Inlining+NGEN
    This PR (8099) - mean (1,019ms)  : 903, 1135
    master - mean (962ms)  : 919, 1005

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8099) - mean (300ms)  : 272, 328
    master - mean (277ms)  : 270, 284

    section Bailout
    This PR (8099) - mean (299ms)  : crit, 269, 330
    master - mean (277ms)  : 272, 282

    section CallTarget+Inlining+NGEN
    This PR (8099) - mean (969ms)  : 892, 1045
    master - mean (941ms)  : 878, 1004

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8099) - mean (297ms)  : 275, 319
    master - mean (280ms)  : 269, 291

    section Bailout
    This PR (8099) - mean (291ms)  : 276, 306
    master - mean (279ms)  : 271, 288

    section CallTarget+Inlining+NGEN
    This PR (8099) - mean (919ms)  : crit, 806, 1033
    master - mean (860ms)  : 833, 887

Loading

@NachoEchevarria NachoEchevarria marked this pull request as ready for review January 27, 2026 12:16
@NachoEchevarria NachoEchevarria requested a review from a team as a code owner January 27, 2026 12:16
@pr-commenter
Copy link

pr-commenter bot commented Jan 27, 2026

Benchmarks

Benchmark execution time: 2026-02-02 14:22:11

Comparing candidate commit dafc31b in PR branch nacho/FlakyFullNameTests with baseline commit 22b8edf in branch master.

Found 6 performance improvements and 15 performance regressions! Performance is the same for 157 metrics, 14 unstable metrics.

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net6.0

  • 🟩 execution_time [-20.222ms; -20.078ms] or [-16.736%; -16.617%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • 🟥 execution_time [+87.132ms; +87.241ms] or [+78.913%; +79.012%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net472

  • 🟥 throughput [-63933.772op/s; -59872.719op/s] or [-6.417%; -6.010%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net6.0

  • 🟥 execution_time [+18.979ms; +25.460ms] or [+9.386%; +12.591%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net6.0

  • 🟥 execution_time [+20.817ms; +26.625ms] or [+10.551%; +13.495%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody netcoreapp3.1

  • 🟥 execution_time [+20.241ms; +24.538ms] or [+10.297%; +12.483%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs net6.0

  • 🟥 execution_time [+28.142ms; +28.622ms] or [+16.201%; +16.477%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net6.0

  • 🟩 execution_time [-40.787ms; -36.562ms] or [-19.990%; -17.919%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • 🟩 execution_time [-83.106ms; -78.664ms] or [-36.711%; -34.749%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice netcoreapp3.1

  • 🟩 execution_time [-753.772µs; -492.162µs] or [-27.537%; -17.980%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net6.0

  • 🟥 execution_time [+73.469µs; +78.638µs] or [+7.137%; +7.639%]
  • 🟥 throughput [-69.067op/s; -64.577op/s] or [-7.110%; -6.648%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net6.0

  • 🟥 execution_time [+65.884µs; +109.904µs] or [+13.919%; +23.218%]
  • 🟥 throughput [-422.109op/s; -262.468op/s] or [-19.857%; -12.347%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark netcoreapp3.1

  • 🟥 throughput [-353.178op/s; -148.177op/s] or [-17.073%; -7.163%]

scenario:Benchmarks.Trace.NLogBenchmark.EnrichedLog net472

  • 🟥 throughput [-8353.335op/s; -7741.872op/s] or [-6.071%; -5.627%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net6.0

  • 🟩 throughput [+25504.436op/s; +41149.168op/s] or [+5.042%; +8.135%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore netcoreapp3.1

  • 🟥 throughput [-15652544.246op/s; -14472777.701op/s] or [-6.495%; -6.006%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472

  • 🟥 throughput [-87982.080op/s; -81402.027op/s] or [-7.831%; -7.246%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net6.0

  • 🟥 execution_time [+15.246ms; +18.289ms] or [+7.657%; +9.185%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1

  • 🟩 execution_time [-18.895ms; -13.777ms] or [-8.808%; -6.423%]

testCase.DisplayName :
$"{TestMethod.TestClass.Class.Name}.{testCase.DisplayName}").Trim();

if (testFullName.Length > 200)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For readability in the future can we just extract 200 to some variable to note that it is the maximum name length? var maxTestNameLength = 200

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea! Done!

NachoEchevarria and others added 2 commits January 29, 2026 10:06
Copy link
Member

@andrewlock andrewlock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NachoEchevarria NachoEchevarria requested a review from a team as a code owner February 2, 2026 13:39
@NachoEchevarria
Copy link
Collaborator Author

Thanks! I think we have very-similar code copy-pasted in a bunch of places, we should probably fix those cases too?

e.g.:

Thanks!

Nice catch, thanks!
Done!

Copy link
Member

@andrewlock andrewlock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@NachoEchevarria NachoEchevarria merged commit 886954d into master Feb 3, 2026
142 checks passed
@NachoEchevarria NachoEchevarria deleted the nacho/FlakyFullNameTests branch February 3, 2026 10:03
@github-actions github-actions bot added this to the vNext-v3 milestone Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:tests unit tests, integration tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants