Skip to content

[IAST] Fix entry loss in DefaultTaintedMap under concurrency - #9041

Open
dromanol wants to merge 2 commits into
masterfrom
dani/iast/tainted-map-concurrency
Open

[IAST] Fix entry loss in DefaultTaintedMap under concurrency#9041
dromanol wants to merge 2 commits into
masterfrom
dani/iast/tainted-map-concurrency

Conversation

@dromanol

@dromanol dromanol commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

https://datadoghq.atlassian.net/browse/APPSEC-69539

Summary of changes

Make DefaultTaintedMap insertion and purging thread-safe. Both operations silently dropped tainted entries when a request was served by more than one thread.

Reason for change

Two lost-update races, both reproducible:

  • Put published the chain head with a read-modify-write (TryGetValue + _map[index] = entry). The existing comment said "one of the ITaintedObjects could potentially be lost" — under contention the loss is 62% of entries, not an occasional one.
  • RemoveDeadKeys collected fully-dead keys into a list and removed them with an unconditional TryRemove in a second pass, after walking all 16384 buckets. Any Put landing on one of those keys in that (very wide) window was deleted along with the dead chain.

The effect is lost taint, i.e. IAST false negatives: vulnerabilities that should be reported aren't. Async continuations hopping threads within one request make this the common case, not a corner case.

Implementation details

  • Put publishes the head with a compare-and-swap (TryUpdate/TryAdd) and retries on conflict. Flat mode keeps overwriting without chaining, as before.
  • RemoveDeadKeys removes inline instead of deferring to a second pass, using compare-and-remove for a fully-dead chain and TryUpdate for replacing a dead head. If a concurrent Put won the race, the purge leaves the key alone — the dead nodes are still chained and the next purge picks them up.
  • Compare-and-remove goes through ICollection<KeyValuePair<,>>.Remove, which ConcurrentDictionary implements as an atomic compare-and-remove. TryRemove(KeyValuePair<,>) only exists from netcoreapp2.0, and this assembly also targets net461/netstandard2.0.
  • _map[key] in RemoveDeadKeys became TryGetValue — it would throw KeyNotFoundException against a concurrent Clear().

Reader-side note: Get is left untouched on purpose. Unlinking only ever moves Next forward, so a concurrent chain walk can neither loop nor go backwards, and dead nodes have a null Value so they never match. A new test covers that.

Test coverage

New DefaultTaintedMapConcurrencyTests, verified red before the fix and green after:

Test Before After
Concurrent Put on the same bucket (8 threads x 400) 1986/3200 entries lost 0
Purge() concurrent with Put() (2048 buckets) 459/2048 live entries deleted 0
Get() while purging and inserting passed already passes

Liveness is controlled through a test ITaintedObject rather than the GC, so the tests are deterministic.

Also run: 29/29 DefaultTaintedMap tests and 530/530 IAST unit tests on net8.0, 29/29 on net48, and Datadog.Trace builds clean on net461, netstandard2.0, netcoreapp3.1 and net6.0.

Other details

Found while investigating APPSEC-69539 (ExecutionEngineException in DefaultTaintedMap.Get). This does not fix that crash — everything reproduced here is data loss, not memory unsafety, and the reader-side test shows concurrent purging does not corrupt what Get walks. Filed separately because the taint loss is worth fixing on its own.

🤖 Generated with Claude Code

Put published the chain head with a read-modify-write, and RemoveDeadKeys
collected dead keys and removed them unconditionally in a second pass. Both
drop entries when a request is served by more than one thread.

Publish the head with a compare-and-swap, and make purging use
compare-and-remove / compare-and-update so it never deletes an entry inserted
concurrently.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@dd-trace-dotnet-ci-bot

dd-trace-dotnet-ci-bot Bot commented Aug 13, 2026

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

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

✅ No regressions detected

📄 View the full report (charts + all metrics) →

@pr-commenter

pr-commenter Bot commented Aug 13, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-08-14 09:57:27

Comparing candidate commit 7e36689 in PR branch dani/iast/tainted-map-concurrency with baseline commit 328c169 in branch master.

📊 Benchmarking dashboard

Found 0 performance improvements and 1 performance regressions! Performance is the same for 71 metrics, 0 unstable metrics, 64 known flaky benchmarks, 62 flaky benchmarks without significant changes.

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.DbCommandBenchmark.ExecuteNonQuery net472

  • 🟥 throughput [-28392.492op/s; -25159.837op/s] or [-7.997%; -7.086%]

Known flaky benchmarks

These benchmarks are marked as flaky and will not trigger a failure. Modify FLAKY_BENCHMARKS_REGEX to control which benchmarks are marked as flaky.

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-8996.525op/s; -8502.128op/s] or [-10.667%; -10.081%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild netcoreapp3.1

  • 🟥 throughput [-10561.574op/s; -9024.868op/s] or [-10.739%; -9.176%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+312.915ms; +319.239ms] or [+155.279%; +158.417%]
  • 🟥 throughput [-45.209op/s; -40.246op/s] or [-8.134%; -7.241%]

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

  • 🟥 execution_time [+375.163ms; +377.108ms] or [+296.401%; +297.939%]
  • 🟩 throughput [+84.860op/s; +91.362op/s] or [+11.188%; +12.046%]

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

  • 🟥 execution_time [+390.299ms; +392.884ms] or [+345.400%; +347.687%]

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

  • 🟥 allocated_mem [+4.692KB; +4.693KB] or [+98.785%; +98.801%]
  • 🟥 throughput [-60554.666op/s; -60188.959op/s] or [-47.115%; -46.830%]

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

  • 🟥 allocated_mem [+3.816KB; +3.816KB] or [+80.699%; +80.711%]
  • 🟩 execution_time [-16.169ms; -11.996ms] or [-7.551%; -5.603%]
  • 🟥 throughput [-60028.692op/s; -57268.957op/s] or [-43.818%; -41.803%]

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

  • 🟥 allocated_mem [+4.544KB; +4.544KB] or [+98.261%; +98.274%]
  • 🟥 throughput [-49031.253op/s; -46775.759op/s] or [-44.330%; -42.291%]

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

  • 🟥 allocated_mem [+1.316KB; +1.316KB] or [+106.475%; +106.490%]
  • 🟥 throughput [-251576.284op/s; -248266.831op/s] or [-25.687%; -25.349%]

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

  • 🟥 allocated_mem [+479 bytes; +480 bytes] or [+39.212%; +39.221%]
  • 🟩 execution_time [-26.071ms; -21.212ms] or [-11.627%; -9.460%]
  • 🟥 throughput [-71956.466op/s; -49395.795op/s] or [-7.687%; -5.277%]

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

  • 🟥 allocated_mem [+1.280KB; +1.280KB] or [+105.947%; +105.963%]
  • 🟥 throughput [-155286.375op/s; -138968.825op/s] or [-22.312%; -19.967%]

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

  • 🟥 allocated_mem [+3.378KB; +3.378KB] or [+89.003%; +89.017%]
  • 🟥 throughput [-73817.079op/s; -72946.738op/s] or [-49.678%; -49.092%]

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

  • 🟥 allocated_mem [+3.336KB; +3.336KB] or [+88.150%; +88.161%]
  • 🟥 throughput [-73543.610op/s; -70667.818op/s] or [-46.795%; -44.965%]

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

  • 🟥 allocated_mem [+3.264KB; +3.264KB] or [+88.493%; +88.506%]
  • 🟥 throughput [-55617.447op/s; -53004.151op/s] or [-44.307%; -42.225%]

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

  • 🟩 throughput [+276495.745op/s; +299074.369op/s] or [+9.220%; +9.972%]

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

  • 🟩 execution_time [-19.133ms; -14.791ms] or [-8.820%; -6.818%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs net472

  • 🟩 allocated_mem [-13.759KB; -13.756KB] or [-42.324%; -42.316%]
  • 🟥 execution_time [+300.520ms; +301.173ms] or [+150.160%; +150.486%]
  • 🟩 throughput [+989.884op/s; +1010.058op/s] or [+10.933%; +11.156%]

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

  • 🟩 allocated_mem [-13.722KB; -13.718KB] or [-42.341%; -42.329%]
  • 🟥 execution_time [+300.029ms; +303.431ms] or [+151.305%; +153.021%]
  • 🟩 throughput [+2337.587op/s; +2552.906op/s] or [+17.879%; +19.526%]

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

  • 🟩 allocated_mem [-13.722KB; -13.718KB] or [-42.341%; -42.329%]
  • 🟥 execution_time [+299.456ms; +306.053ms] or [+150.843%; +154.166%]
  • 🟩 throughput [+1730.495op/s; +1911.378op/s] or [+16.707%; +18.453%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs net472

  • 🟥 execution_time [+296.161ms; +297.461ms] or [+145.463%; +146.101%]
  • 🟩 throughput [+575.829op/s; +589.691op/s] or [+15.265%; +15.633%]

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

  • 🟥 execution_time [+297.858ms; +299.771ms] or [+145.612%; +146.547%]
  • 🟩 throughput [+2695.097op/s; +2725.031op/s] or [+39.155%; +39.590%]

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

  • 🟥 execution_time [+300.668ms; +301.382ms] or [+150.273%; +150.630%]
  • 🟩 throughput [+1369.948op/s; +1389.758op/s] or [+27.192%; +27.586%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net472

  • 🟩 execution_time [-144.573µs; -140.055µs] or [-29.683%; -28.755%]
  • 🟩 throughput [+832.647op/s; +864.241op/s] or [+40.554%; +42.092%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net6.0

  • 🟩 execution_time [-137.836µs; -111.075µs] or [-31.613%; -25.475%]
  • 🟩 throughput [+848.616op/s; +972.977op/s] or [+36.894%; +42.301%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark netcoreapp3.1

  • 🟩 execution_time [-142.741µs; -120.787µs] or [-30.583%; -25.879%]
  • 🟩 throughput [+778.311op/s; +860.313op/s] or [+35.928%; +39.714%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net472

  • 🟩 execution_time [-129.963µs; -125.785µs] or [-35.089%; -33.961%]
  • 🟩 throughput [+1400.653op/s; +1449.141op/s] or [+51.874%; +53.669%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net6.0

  • 🟩 execution_time [-101.412µs; -77.731µs] or [-32.376%; -24.816%]
  • 🟩 throughput [+1162.756op/s; +1367.653op/s] or [+36.247%; +42.634%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack netcoreapp3.1

  • 🟩 execution_time [-138.022µs; -115.626µs] or [-37.757%; -31.631%]
  • 🟩 throughput [+1334.584op/s; +1471.884op/s] or [+47.893%; +52.820%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.182ms; +300.182ms] or [+149.323%; +149.822%]

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

  • 🟥 execution_time [+427.603ms; +434.857ms] or [+464.609%; +472.490%]
  • 🟩 throughput [+639.596op/s; +785.658op/s] or [+5.256%; +6.456%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest netcoreapp3.1

  • 🟥 execution_time [+372.506ms; +376.196ms] or [+282.841%; +285.642%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • unstable execution_time [+300.376ms; +352.991ms] or [+138.110%; +162.302%]
  • 🟥 throughput [-559.046op/s; -505.928op/s] or [-50.655%; -45.842%]

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

  • unstable execution_time [+200.993ms; +334.252ms] or [+85.655%; +142.444%]
  • 🟥 throughput [-706.866op/s; -621.964op/s] or [-47.148%; -41.485%]

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

  • 🟥 execution_time [+329.466ms; +339.373ms] or [+197.059%; +202.985%]
  • 🟥 throughput [-375.676op/s; -339.577op/s] or [-26.158%; -23.644%]

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

  • unstable throughput [+17.931op/s; +60.919op/s] or [+5.154%; +17.511%]

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

  • 🟩 throughput [+25.918op/s; +42.699op/s] or [+5.116%; +8.429%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+302.535ms; +304.508ms] or [+152.351%; +153.344%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net6.0

  • 🟥 execution_time [+300.090ms; +303.252ms] or [+150.376%; +151.960%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch netcoreapp3.1

  • 🟥 execution_time [+300.384ms; +304.194ms] or [+150.900%; +152.814%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+300.462ms; +302.034ms] or [+150.882%; +151.671%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net6.0

  • 🟥 execution_time [+298.982ms; +302.042ms] or [+147.833%; +149.346%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync netcoreapp3.1

  • 🟥 execution_time [+300.413ms; +304.167ms] or [+152.263%; +154.165%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+300.653ms; +302.678ms] or [+150.901%; +151.917%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net6.0

  • 🟥 execution_time [+297.468ms; +301.715ms] or [+148.260%; +150.377%]
  • 🟩 throughput [+46736.672op/s; +55369.025op/s] or [+9.280%; +10.994%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync netcoreapp3.1

  • 🟥 execution_time [+298.877ms; +302.034ms] or [+148.689%; +150.259%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net6.0

  • 🟩 execution_time [-16.864ms; -13.222ms] or [-7.842%; -6.148%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net472

  • unstable execution_time [+18.150µs; +62.197µs] or [+4.483%; +15.363%]

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

  • 🟩 allocated_mem [-19.403KB; -19.379KB] or [-7.078%; -7.069%]
  • unstable execution_time [-30.728µs; +25.870µs] or [-6.073%; +5.113%]

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

  • 🟥 execution_time [+5.986µs; +10.024µs] or [+14.150%; +23.695%]
  • 🟥 throughput [-4667.437op/s; -2893.862op/s] or [-19.648%; -12.182%]

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

  • unstable execution_time [-12.793µs; -4.009µs] or [-19.848%; -6.220%]
  • unstable throughput [+1062.178op/s; +2969.514op/s] or [+6.517%; +18.219%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+300.051ms; +302.107ms] or [+151.662%; +152.702%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net6.0

  • 🟥 execution_time [+303.875ms; +308.517ms] or [+154.671%; +157.034%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog netcoreapp3.1

  • 🟥 execution_time [+297.666ms; +301.045ms] or [+149.019%; +150.710%]

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

  • 🟩 throughput [+39227.070op/s; +42760.004op/s] or [+7.425%; +8.094%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+299.485ms; +301.722ms] or [+149.266%; +150.381%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net6.0

  • 🟥 execution_time [+300.912ms; +302.252ms] or [+151.104%; +151.777%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog netcoreapp3.1

  • 🟥 execution_time [+302.992ms; +305.448ms] or [+153.658%; +154.904%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+300.450ms; +301.517ms] or [+149.866%; +150.398%]
  • 🟩 throughput [+60982324.694op/s; +61282343.515op/s] or [+44.411%; +44.630%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net6.0

  • 🟥 execution_time [+419.998ms; +424.684ms] or [+522.342%; +528.171%]

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

  • 🟥 execution_time [+299.354ms; +300.568ms] or [+149.311%; +149.917%]

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

  • 🟩 throughput [+95319.796op/s; +102413.252op/s] or [+8.900%; +9.562%]

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

  • 🟩 throughput [+78692.555op/s; +112120.516op/s] or [+6.091%; +8.678%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan netcoreapp3.1

  • 🟩 throughput [+71687.607op/s; +81739.220op/s] or [+7.120%; +8.118%]

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

  • 🟩 throughput [+46180.858op/s; +51834.622op/s] or [+8.386%; +9.412%]

Known flaky benchmarks without significant changes:

  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net6.0
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice netcoreapp3.1
  • scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472
  • scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog netcoreapp3.1
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark netcoreapp3.1
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive netcoreapp3.1
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope netcoreapp3.1
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes netcoreapp3.1
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net6.0
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant