Skip to content

fix(openfeature): compute correct reason and fix enum string format#8373

Draft
leoromanovsky wants to merge 3 commits intomasterfrom
leo.romanovsky/fix-openfeature-reason
Draft

fix(openfeature): compute correct reason and fix enum string format#8373
leoromanovsky wants to merge 3 commits intomasterfrom
leo.romanovsky/fix-openfeature-reason

Conversation

@leoromanovsky
Copy link
Copy Markdown
Contributor

Motivation

FeatureFlagsEvaluator hardcodes EvaluationReason.TargetingMatch for all successful evaluations. Additionally, FeatureFlagsSdk.cs uses .ToString() on the enum which produces "Static" instead of the OpenFeature spec "STATIC" (COMPAT-01).

Changes

Evaluator Fix

  • FeatureFlagsEvaluator.cs: Three-way reason computation based on allocation.Rules and split.Shards — replaces hardcoded TargetingMatch

COMPAT-01: String Format

  • FeatureFlagsSdk.cs: Added ToReasonString() switch expression mapping each EvaluationReason enum to the correct OpenFeature spec uppercase string ("STATIC", "SPLIT", "TARGETING_MATCH", etc.)

Test Updates

  • Added "reason" field to all 21 JSON fixture files (211 occurrences)
  • Made reason assertion unconditional in FeatureFlagsEvaluatorTests.Bundle.cs
  • Updated unit test expected values in FeatureFlagsEvaluatorTests.cs

Decisions

  • Reason computed inline at evaluation site — mirrors Go's canonical algorithm
  • ToReasonString() uses explicit switch expression (not reflection or attributes) for clarity
  • Fixture reason values use PascalCase enum names ("Static", "TargetingMatch") for C# deserialization; the OpenFeature string conversion happens at the SDK boundary

…ing mapping

- Replace hardcoded EvaluationReason.TargetingMatch with three-way reason computation
- Add ToReasonString mapping for OpenFeature spec uppercase strings in FeatureFlagsSdk
- Add reason field to all 21 fixture JSON files with correct PascalCase values
- Add unconditional reason assertion in bundle test runner
- Update unit test assertions: Split for simple flags, Static for exposure/time-based flags
- Rename EvaluateSimpleStringFlagReturnsTargetingMatch to ReturnsSplit
@dd-trace-dotnet-ci-bot
Copy link
Copy Markdown

dd-trace-dotnet-ci-bot bot commented Mar 26, 2026

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8373) 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
duration72.56 ± (72.63 - 73.02) ms72.05 ± (72.11 - 72.43) ms-0.7%
.NET Framework 4.8 - Bailout
duration76.19 ± (76.05 - 76.35) ms75.83 ± (75.73 - 76.06) ms-0.5%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1075.19 ± (1077.10 - 1083.89) ms1077.92 ± (1075.83 - 1082.35) ms+0.3%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.41 ± (22.37 - 22.45) ms22.31 ± (22.26 - 22.35) ms-0.5%
process.time_to_main_ms84.13 ± (83.92 - 84.33) ms83.71 ± (83.55 - 83.87) ms-0.5%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.90 ± (10.89 - 10.90) MB10.95 ± (10.94 - 10.95) MB+0.4%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.26 ± (22.22 - 22.29) ms22.10 ± (22.06 - 22.13) ms-0.7%
process.time_to_main_ms84.67 ± (84.47 - 84.87) ms84.69 ± (84.49 - 84.89) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.93 ± (10.93 - 10.94) MB10.97 ± (10.96 - 10.97) MB+0.3%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms224.96 ± (223.74 - 226.17) ms223.93 ± (222.95 - 224.92) ms-0.5%
process.time_to_main_ms536.75 ± (535.53 - 537.96) ms533.56 ± (532.17 - 534.95) ms-0.6%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.10 ± (48.07 - 48.14) MB48.23 ± (48.19 - 48.26) MB+0.3%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.0%
.NET 6 - Baseline
process.internal_duration_ms21.08 ± (21.04 - 21.11) ms21.09 ± (21.06 - 21.13) ms+0.1%✅⬆️
process.time_to_main_ms72.31 ± (72.15 - 72.46) ms72.05 ± (71.89 - 72.20) ms-0.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.63 ± (10.62 - 10.63) MB10.64 ± (10.64 - 10.65) MB+0.2%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms20.96 ± (20.93 - 20.99) ms20.95 ± (20.92 - 20.98) ms-0.0%
process.time_to_main_ms73.34 ± (73.18 - 73.50) ms73.17 ± (72.99 - 73.34) ms-0.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.74 ± (10.74 - 10.74) MB10.75 ± (10.75 - 10.75) MB+0.1%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms213.08 ± (211.82 - 214.34) ms217.13 ± (215.73 - 218.53) ms+1.9%✅⬆️
process.time_to_main_ms533.30 ± (531.92 - 534.67) ms532.63 ± (531.23 - 534.03) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed50.09 ± (50.05 - 50.12) MB50.13 ± (50.11 - 50.16) MB+0.1%✅⬆️
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 29)+0.1%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.19 ± (19.16 - 19.22) ms19.23 ± (19.20 - 19.27) ms+0.2%✅⬆️
process.time_to_main_ms71.60 ± (71.44 - 71.75) ms71.75 ± (71.58 - 71.92) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.68 ± (7.67 - 7.68) MB7.69 ± (7.68 - 7.69) MB+0.1%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.15 ± (19.12 - 19.18) ms19.36 ± (19.32 - 19.41) ms+1.1%✅⬆️
process.time_to_main_ms72.24 ± (72.14 - 72.35) ms73.11 ± (72.94 - 73.28) ms+1.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.73 ± (7.73 - 7.74) MB7.74 ± (7.73 - 7.74) MB+0.0%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms159.45 ± (158.71 - 160.19) ms160.49 ± (159.81 - 161.18) ms+0.7%✅⬆️
process.time_to_main_ms491.21 ± (490.28 - 492.14) ms491.17 ± (490.29 - 492.04) ms-0.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.97 ± (36.95 - 36.99) MB36.98 ± (36.96 - 37.00) MB+0.0%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.3%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration215.20 ± (214.98 - 216.05) ms194.45 ± (194.54 - 195.48) ms-9.6%
.NET Framework 4.8 - Bailout
duration220.43 ± (220.27 - 221.33) ms197.25 ± (196.97 - 197.53) ms-10.5%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1249.02 ± (1247.78 - 1253.68) ms1166.23 ± (1172.43 - 1183.26) ms-6.6%
.NET Core 3.1 - Baseline
process.internal_duration_ms212.12 ± (211.48 - 212.76) ms188.34 ± (188.01 - 188.67) ms-11.2%
process.time_to_main_ms90.75 ± (90.48 - 91.02) ms81.00 ± (80.79 - 81.20) ms-10.7%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed15.86 ± (15.84 - 15.87) MB16.11 ± (16.07 - 16.14) MB+1.6%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-1.3%
.NET Core 3.1 - Bailout
process.internal_duration_ms210.85 ± (210.23 - 211.46) ms187.94 ± (187.58 - 188.30) ms-10.9%
process.time_to_main_ms92.05 ± (91.79 - 92.31) ms82.52 ± (82.32 - 82.71) ms-10.4%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed15.98 ± (15.97 - 16.00) MB16.25 ± (16.22 - 16.28) MB+1.6%✅⬆️
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)-1.5%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms424.16 ± (422.69 - 425.63) ms396.29 ± (395.20 - 397.39) ms-6.6%
process.time_to_main_ms568.33 ± (566.99 - 569.67) ms524.65 ± (523.80 - 525.49) ms-7.7%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed59.11 ± (59.07 - 59.15) MB58.92 ± (58.79 - 59.06) MB-0.3%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.4%
.NET 6 - Baseline
process.internal_duration_ms219.26 ± (218.37 - 220.14) ms192.45 ± (192.11 - 192.79) ms-12.2%
process.time_to_main_ms79.55 ± (79.33 - 79.76) ms70.30 ± (70.12 - 70.49) ms-11.6%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.15 ± (16.13 - 16.16) MB16.01 ± (15.86 - 16.17) MB-0.8%
runtime.dotnet.threads.count20 ± (19 - 20)18 ± (18 - 18)-7.6%
.NET 6 - Bailout
process.internal_duration_ms218.28 ± (217.57 - 218.98) ms192.05 ± (191.68 - 192.42) ms-12.0%
process.time_to_main_ms80.72 ± (80.51 - 80.92) ms71.14 ± (71.03 - 71.26) ms-11.9%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.13 ± (16.12 - 16.15) MB16.08 ± (15.93 - 16.23) MB-0.3%
runtime.dotnet.threads.count21 ± (21 - 21)19 ± (19 - 19)-6.5%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms452.55 ± (450.78 - 454.32) ms419.41 ± (418.01 - 420.81) ms-7.3%
process.time_to_main_ms575.04 ± (573.66 - 576.42) ms526.23 ± (525.10 - 527.37) ms-8.5%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed60.60 ± (60.52 - 60.68) MB60.89 ± (60.85 - 60.92) MB+0.5%✅⬆️
runtime.dotnet.threads.count31 ± (31 - 31)30 ± (30 - 31)-1.6%
.NET 8 - Baseline
process.internal_duration_ms221.30 ± (220.22 - 222.38) ms191.29 ± (190.82 - 191.77) ms-13.6%
process.time_to_main_ms78.81 ± (78.57 - 79.05) ms70.16 ± (69.99 - 70.33) ms-11.0%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.47 ± (11.45 - 11.48) MB11.75 ± (11.72 - 11.77) MB+2.4%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)18 ± (18 - 18)-4.1%
.NET 8 - Bailout
process.internal_duration_ms221.14 ± (220.01 - 222.28) ms189.62 ± (189.31 - 189.94) ms-14.3%
process.time_to_main_ms80.19 ± (79.95 - 80.42) ms70.76 ± (70.63 - 70.89) ms-11.8%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.51 ± (11.49 - 11.53) MB11.75 ± (11.69 - 11.82) MB+2.1%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)19 ± (19 - 19)-4.3%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms465.05 ± (460.41 - 469.70) ms341.38 ± (340.01 - 342.74) ms-26.6%
process.time_to_main_ms531.15 ± (530.11 - 532.20) ms484.32 ± (483.32 - 485.33) ms-8.8%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.63 ± (50.53 - 50.72) MB48.71 ± (48.67 - 48.75) MB-3.8%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-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 (8373) - mean (72ms)  : 70, 75
    master - mean (73ms)  : 70, 76

    section Bailout
    This PR (8373) - mean (76ms)  : 74, 77
    master - mean (76ms)  : 75, 78

    section CallTarget+Inlining+NGEN
    This PR (8373) - mean (1,079ms)  : 1032, 1126
    master - mean (1,080ms)  : 1032, 1129

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 (8373) - mean (113ms)  : 110, 116
    master - mean (113ms)  : 109, 118

    section Bailout
    This PR (8373) - mean (113ms)  : 111, 116
    master - mean (113ms)  : 110, 117

    section CallTarget+Inlining+NGEN
    This PR (8373) - mean (796ms)  : 778, 815
    master - mean (800ms)  : 782, 817

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8373) - mean (99ms)  : 96, 102
    master - mean (99ms)  : 96, 103

    section Bailout
    This PR (8373) - mean (100ms)  : 97, 104
    master - mean (100ms)  : 97, 103

    section CallTarget+Inlining+NGEN
    This PR (8373) - mean (786ms)  : 766, 806
    master - mean (784ms)  : 765, 802

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8373) - mean (99ms)  : 96, 102
    master - mean (99ms)  : 96, 101

    section Bailout
    This PR (8373) - mean (100ms)  : 97, 103
    master - mean (99ms)  : 97, 101

    section CallTarget+Inlining+NGEN
    This PR (8373) - mean (688ms)  : 664, 711
    master - mean (692ms)  : 668, 715

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 (8373) - mean (195ms)  : 191, 199
    master - mean (216ms)  : 208, 223

    section Bailout
    This PR (8373) - mean (197ms)  : 195, 200
    master - mean (221ms)  : 213, 229

    section CallTarget+Inlining+NGEN
    This PR (8373) - mean (1,178ms)  : 1100, 1256
    master - mean (1,251ms)  : 1208, 1294

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 (8373) - mean (278ms)  : 274, 282
    master - mean (312ms)  : 298, 326

    section Bailout
    This PR (8373) - mean (279ms)  : 274, 284
    master - mean (313ms)  : 301, 324

    section CallTarget+Inlining+NGEN
    This PR (8373) - mean (953ms)  : 928, 978
    master - mean (1,033ms)  : 1004, 1062

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8373) - mean (271ms)  : 266, 276
    master - mean (309ms)  : 291, 326

    section Bailout
    This PR (8373) - mean (271ms)  : 267, 275
    master - mean (309ms)  : 295, 323

    section CallTarget+Inlining+NGEN
    This PR (8373) - mean (973ms)  : 949, 998
    master - mean (1,068ms)  : 1020, 1116

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8373) - mean (271ms)  : 265, 277
    master - mean (312ms)  : 293, 330

    section Bailout
    This PR (8373) - mean (270ms)  : 266, 274
    master - mean (312ms)  : 292, 332

    section CallTarget+Inlining+NGEN
    This PR (8373) - mean (857ms)  : 835, 878
    master - mean (1,034ms)  : 955, 1114

Loading

@pr-commenter
Copy link
Copy Markdown

pr-commenter bot commented Mar 26, 2026

Benchmarks

Benchmark execution time: 2026-03-26 04:42:48

Comparing candidate commit f865797 in PR branch leo.romanovsky/fix-openfeature-reason with baseline commit da0f277 in branch master.

Found 6 performance improvements and 5 performance regressions! Performance is the same for 257 metrics, 20 unstable metrics.

Explanation

This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:

  • 🟩 = significantly better candidate vs. baseline
  • 🟥 = significantly worse candidate vs. baseline

We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.

If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.

Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.

More details about the CI and significant changes

You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.

CIs of the difference of means are often centered around 0%, because often changes are not that big:

---------------------------------(------|---^--------)-------------------------------->
                              -0.6%    0%  0.3%     +1.2%
                                 |          |        |
         lower bound of the CI --'          |        |
sample mean (center of the CI) -------------'        |
         upper bound of the CI ----------------------'

As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).

For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:

----------------------------------------|---------|---(---------^---------)---------->
                                       0%        1%  1.3%      2.2%      3.1%
                                                  |   |         |         |
       significant impact threshold --------------'   |         |         |
                      lower bound of CI --------------'         |         |
       sample mean (center of the CI) --------------------------'         |
                      upper bound of CI ----------------------------------'

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

  • 🟩 execution_time [-103.480ms; -103.412ms] or [-50.160%; -50.126%]

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

  • 🟥 execution_time [+13.105ms; +18.102ms] or [+6.592%; +9.106%]

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

  • 🟩 execution_time [-16.861ms; -10.963ms] or [-7.842%; -5.099%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs netcoreapp3.1

  • 🟥 execution_time [+21.683ms; +22.596ms] or [+11.983%; +12.487%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net6.0

  • 🟥 execution_time [+102.036ms; +103.430ms] or [+109.785%; +111.285%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472

  • 🟩 execution_time [-166.849µs; -164.098µs] or [-8.072%; -7.939%]
  • 🟩 throughput [+41.754op/s; +42.455op/s] or [+8.630%; +8.775%]

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

  • 🟩 execution_time [-946.237µs; -686.927µs] or [-33.606%; -24.397%]

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

  • 🟥 allocated_mem [+19.511KB; +19.545KB] or [+7.624%; +7.638%]

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

  • 🟥 throughput [-16150136.494op/s; -14747032.520op/s] or [-6.699%; -6.117%]

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

  • 🟩 execution_time [-20.463ms; -16.333ms] or [-9.473%; -7.561%]

- Add ffe-system-test-data submodule at tracer/test/Datadog.Trace.Tests/FeatureFlags/
- Switch from embedded resources to file-based fixture loading
- Add SCREAMING_SNAKE to PascalCase reason mapping (STATIC->Static, etc.)
- Add KnownReasonOverrides for .NET-specific behavior (Error vs Default for missing flags)
- Use JToken.DeepEquals for order-independent JSON comparison
- Update csproj to reference submodule fixtures with CopyToOutputDirectory
- Delete old local FeatureFlags/resources/ directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant