Skip to content

[Profiler] Stop unwinding when unsafe#8671

Merged
gleocadie merged 1 commit into
masterfrom
gleocadie/reduce-crashes-arm64
May 21, 2026
Merged

[Profiler] Stop unwinding when unsafe#8671
gleocadie merged 1 commit into
masterfrom
gleocadie/reduce-crashes-arm64

Conversation

@gleocadie

Copy link
Copy Markdown
Collaborator

Summary of changes

Check that we can continue unwinding after each unw_step call.

Reason for change

We had a crash in libunwind. The profiler interrupted the thread in enframe (from musl-libc). But the library does not have symbtab, dynamic table...
In that case, libunwind failed unwinding using dwarf and tried to get the function assembly code. Since it's a stripped binary, failed and fell back to LR (flipped a coin).

Since we added in libunwind insights on what actually failed, we can decide to stop or continue unwinding.

Implementation details

Read the cursor snapshot step_method field: This field indicates if we fell back to LR because we did not find the function assembly code (https://github.com/DataDog/libunwind/blob/gleocadie/v1.8.3-custom-1/include/libunwind-common.h.in#L270 and https://github.com/DataDog/libunwind/blob/gleocadie/v1.8.3-custom-1/src/aarch64/Gstep.c#L805)

Test coverage

We should have less crashes

Other details

@gleocadie
gleocadie requested a review from a team as a code owner May 21, 2026 11:33
@github-actions github-actions Bot added the area:profiler Issues related to the continous-profiler label May 21, 2026
@gleocadie
gleocadie force-pushed the gleocadie/reduce-crashes-arm64 branch from 02a6e03 to 62898e7 Compare May 21, 2026 11:39
@gleocadie

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

To use Codex here, create a Codex account and connect to github.

1 similar comment
@chatgpt-codex-connector

Copy link
Copy Markdown

To use Codex here, create a Codex account and connect to github.

@gleocadie
gleocadie force-pushed the gleocadie/reduce-crashes-arm64 branch from 62898e7 to 87aa31f Compare May 21, 2026 12:26
@pr-commenter

pr-commenter Bot commented May 21, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-05-21 13:24:55

Comparing candidate commit 87aa31f in PR branch gleocadie/reduce-crashes-arm64 with baseline commit 5bb49a9 in branch master.

Some scenarios are present only in baseline or only in candidate runs. If you didn't create or remove some scenarios in your branch, this maybe a sign of crashed benchmarks 💥💥💥
Check Gitlab CI job log to find if any benchmark has crashed.

Scenarios present only in baseline:

  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472

Found 4 performance improvements and 4 performance regressions! Performance is the same for 47 metrics, 17 unstable metrics, 86 known flaky benchmarks, 40 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.OpenTelemetry.InstrumentedApi.Trace.TracerBenchmark.StartActiveSpan net6.0

  • 🟥 allocated_mem [+143 bytes; +144 bytes] or [+10.108%; +10.117%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TracerBenchmark.StartRootSpan net6.0

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-9.188%; -9.180%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TracerBenchmark.StartSpan_SetActive net6.0

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-7.321%; -7.312%]

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync net472

  • 🟥 throughput [-5742.849op/s; -4877.753op/s] or [-6.556%; -5.568%]

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync net6.0

  • 🟥 throughput [-70298.418op/s; -63727.734op/s] or [-47.755%; -43.291%]
  • 🟩 execution_time [-41.673ms; -26.709ms] or [-20.680%; -13.254%]

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

  • 🟥 throughput [-36642.625op/s; -24247.528op/s] or [-18.373%; -12.158%]
  • 🟩 execution_time [-75.065ms; -65.194ms] or [-37.962%; -32.970%]

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.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net6.0

  • unstable execution_time [+21.950ms; +43.080ms] or [+17.692%; +34.722%]
  • 🟥 throughput [-38942.156op/s; -20547.540op/s] or [-21.079%; -11.122%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan netcoreapp3.1

  • unstable execution_time [+11.096ms; +35.920ms] or [+12.340%; +39.945%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1

  • unstable execution_time [-17948.069µs; +16716.021µs] or [-16.066%; +14.964%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net6.0

  • unstable execution_time [+15.691ms; +48.913ms] or [+12.499%; +38.963%]
  • unstable throughput [-38076.325op/s; -16309.448op/s] or [-20.540%; -8.798%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1

  • unstable execution_time [-19.488ms; +14.859ms] or [-17.064%; +13.011%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net6.0

  • unstable execution_time [-30.274ms; +6.205ms] or [-17.543%; +3.595%]
  • unstable throughput [+3359.559op/s; +23438.317op/s] or [+2.966%; +20.694%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1

  • unstable execution_time [+1.557ms; +40.152ms] or [+1.359%; +35.027%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0

  • unstable execution_time [+14.955ms; +61.408ms] or [+8.856%; +36.362%]
  • unstable throughput [-38094.066op/s; -8978.291op/s] or [-26.341%; -6.208%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1

  • unstable execution_time [-33.216ms; -7.698ms] or [-30.250%; -7.011%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net6.0

  • unstable execution_time [-11910.561µs; +12811.281µs] or [-8.524%; +9.169%]
  • unstable throughput [-13825.400op/s; +9927.355op/s] or [-7.986%; +5.735%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1

  • unstable execution_time [-14.304ms; +20.699ms] or [-13.058%; +18.897%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net6.0

  • unstable execution_time [+36.733ms; +57.786ms] or [+30.451%; +47.903%]
  • unstable throughput [-52424.153op/s; -33339.011op/s] or [-28.805%; -18.318%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1

  • unstable execution_time [-18666.553µs; +17526.113µs] or [-16.989%; +15.951%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0

  • 🟩 allocated_mem [-96 bytes; -95 bytes] or [-5.131%; -5.124%]
  • unstable execution_time [+24.055ms; +55.332ms] or [+19.060%; +43.843%]
  • unstable throughput [-33469.128op/s; -14655.324op/s] or [-22.695%; -9.937%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1

  • unstable execution_time [-35.409ms; -10.346ms] or [-32.408%; -9.469%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0

  • unstable execution_time [+25.890ms; +56.670ms] or [+15.435%; +33.784%]
  • unstable throughput [-62595.437op/s; -44392.372op/s] or [-39.214%; -27.811%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net6.0

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-5.210%; -5.202%]
  • unstable execution_time [-54.188ms; -23.360ms] or [-32.622%; -14.063%]
  • unstable throughput [+26450.860op/s; +48218.989op/s] or [+30.846%; +56.231%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0

  • 🟥 allocated_mem [+143 bytes; +144 bytes] or [+7.434%; +7.442%]
  • unstable execution_time [-23.942ms; +19.119ms] or [-12.703%; +10.144%]
  • unstable throughput [-4950.995op/s; +16333.807op/s] or [-4.953%; +16.340%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net6.0

  • unstable execution_time [+3.876ms; +32.015ms] or [+2.481%; +20.498%]
  • unstable throughput [-11755.462op/s; +9645.373op/s] or [-8.818%; +7.235%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1

  • unstable execution_time [-19.664ms; +16.629ms] or [-17.841%; +15.087%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0

  • 🟥 allocated_mem [+143 bytes; +144 bytes] or [+10.108%; +10.117%]
  • unstable execution_time [-26.106ms; -8.357ms] or [-18.498%; -5.922%]
  • unstable throughput [+27075.683op/s; +57485.765op/s] or [+15.538%; +32.989%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-5811.907op/s; -5180.938op/s] or [-6.891%; -6.143%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net6.0

  • unstable execution_time [-41.644ms; -11.868ms] or [-20.776%; -5.921%]
  • unstable throughput [-57348.499op/s; -43433.128op/s] or [-48.204%; -36.507%]

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

  • unstable execution_time [-87.774ms; -65.622ms] or [-44.147%; -33.006%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+308.257ms; +323.451ms] or [+152.968%; +160.508%]
  • 🟥 throughput [-60.258op/s; -47.315op/s] or [-10.842%; -8.513%]

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

  • unstable execution_time [+131.485ms; +197.130ms] or [+103.881%; +155.745%]
  • unstable throughput [-75.297op/s; +32.756op/s] or [-9.928%; +4.319%]

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

  • 🟥 execution_time [+83.652ms; +88.262ms] or [+74.029%; +78.108%]

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

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.528%; +27.540%]

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

  • 🟥 allocated_mem [+439 bytes; +440 bytes] or [+9.299%; +9.310%]
  • 🟩 execution_time [-66.529ms; -48.306ms] or [-31.071%; -22.561%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.500%; +27.510%]
  • 🟩 execution_time [-76.394ms; -58.780ms] or [-36.378%; -27.991%]

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.743%; +105.758%]
  • 🟥 throughput [-275853.602op/s; -272265.488op/s] or [-28.166%; -27.800%]

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

  • 🟥 allocated_mem [+439 bytes; +440 bytes] or [+35.945%; +35.954%]
  • 🟩 execution_time [-124.122ms; -118.893ms] or [-55.353%; -53.021%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • 🟩 execution_time [-77.173ms; -57.182ms] or [-38.521%; -28.543%]
  • 🟥 throughput [-131556.838op/s; -115325.277op/s] or [-18.902%; -16.570%]

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

  • 🟩 execution_time [-46.702ms; -29.422ms] or [-23.564%; -14.845%]

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

  • unstable execution_time [-35.614ms; -15.838ms] or [-18.157%; -8.075%]
  • 🟩 throughput [+10834.277op/s; +13508.200op/s] or [+8.631%; +10.761%]

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

  • 🟩 execution_time [-70.103ms; -53.304ms] or [-34.661%; -26.355%]

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

  • 🟩 execution_time [-46.230ms; -25.043ms] or [-21.311%; -11.544%]
  • 🟩 throughput [+166864.142op/s; +224982.180op/s] or [+6.623%; +8.930%]

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

  • 🟥 execution_time [+301.025ms; +315.337ms] or [+150.412%; +157.563%]

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

  • unstable execution_time [+178.162ms; +226.712ms] or [+89.847%; +114.331%]

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

  • unstable execution_time [+255.032ms; +291.805ms] or [+128.465%; +146.988%]

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

  • 🟥 execution_time [+296.693ms; +310.374ms] or [+145.724%; +152.443%]

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

  • unstable execution_time [+243.752ms; +266.488ms] or [+119.161%; +130.276%]

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

  • 🟥 execution_time [+258.248ms; +270.913ms] or [+129.072%; +135.402%]

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

  • 🟥 execution_time [+20.003µs; +43.610µs] or [+6.386%; +13.923%]
  • 🟥 throughput [-408.713op/s; -210.033op/s] or [-12.741%; -6.547%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+300.679ms; +301.550ms] or [+150.070%; +150.505%]

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

  • unstable execution_time [+351.313ms; +364.537ms] or [+381.716%; +396.085%]
  • 🟥 throughput [-6970.694op/s; -6797.609op/s] or [-57.279%; -55.857%]

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

  • unstable execution_time [+238.626ms; +301.336ms] or [+181.186%; +228.802%]
  • 🟥 throughput [-1733.450op/s; -1482.639op/s] or [-16.781%; -14.353%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+299.192ms; +316.754ms] or [+137.566%; +145.640%]
  • 🟥 throughput [-685.145op/s; -666.793op/s] or [-62.081%; -60.418%]

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

  • unstable execution_time [-50.445ms; +83.432ms] or [-21.498%; +35.555%]
  • 🟥 throughput [-710.465op/s; -617.865op/s] or [-47.388%; -41.212%]

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

  • 🟥 allocated_mem [+2.305KB; +2.308KB] or [+5.442%; +5.450%]
  • 🟥 execution_time [+341.081ms; +349.588ms] or [+204.006%; +209.094%]
  • 🟥 throughput [-728.694op/s; -694.521op/s] or [-50.738%; -48.359%]

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

  • 🟩 execution_time [-227.131µs; -212.886µs] or [-11.506%; -10.784%]
  • 🟩 throughput [+61.360op/s; +65.942op/s] or [+12.113%; +13.018%]

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

  • 🟩 execution_time [-215.298µs; -202.522µs] or [-5.460%; -5.136%]
  • 🟩 throughput [+13.743op/s; +14.647op/s] or [+5.419%; +5.776%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+303.142ms; +316.321ms] or [+152.657%; +159.293%]

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

  • unstable execution_time [+226.598ms; +248.110ms] or [+113.549%; +124.328%]

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

  • 🟥 execution_time [+301.516ms; +308.009ms] or [+151.469%; +154.731%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+302.529ms; +316.597ms] or [+151.920%; +158.985%]

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

  • 🟥 execution_time [+190.669ms; +203.673ms] or [+94.277%; +100.707%]

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

  • 🟥 execution_time [+304.651ms; +311.777ms] or [+154.410%; +158.022%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+303.056ms; +317.593ms] or [+152.107%; +159.403%]

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

  • unstable execution_time [+136.439ms; +224.533ms] or [+68.002%; +111.909%]

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

  • 🟥 execution_time [+301.645ms; +307.706ms] or [+150.066%; +153.081%]

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

  • unstable execution_time [-86.499ms; -59.267ms] or [-40.222%; -27.560%]
  • unstable throughput [-109454.302op/s; -64022.817op/s] or [-30.026%; -17.563%]

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

  • unstable execution_time [-87.099ms; -64.957ms] or [-43.690%; -32.583%]

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

  • 🟩 allocated_mem [-19.415KB; -19.391KB] or [-7.082%; -7.074%]
  • unstable execution_time [-37.826µs; +17.553µs] or [-7.476%; +3.469%]

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

  • 🟩 execution_time [-85.906µs; -29.759µs] or [-14.887%; -5.157%]
  • 🟩 throughput [+108.646op/s; +260.577op/s] or [+6.207%; +14.887%]

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

  • unstable execution_time [+4.933µs; +11.441µs] or [+11.661%; +27.043%]
  • 🟥 throughput [-4546.644op/s; -2405.953op/s] or [-19.140%; -10.128%]

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

  • unstable execution_time [-12.841µs; -2.805µs] or [-19.923%; -4.351%]
  • unstable throughput [+1015.175op/s; +3027.719op/s] or [+6.228%; +18.576%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+303.991ms; +318.392ms] or [+153.654%; +160.933%]

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

  • unstable execution_time [+255.979ms; +280.162ms] or [+130.292%; +142.602%]

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

  • 🟥 execution_time [+301.298ms; +306.235ms] or [+150.837%; +153.308%]

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

  • unstable execution_time [-89.673ms; -57.060ms] or [-44.823%; -28.521%]
  • unstable throughput [-144588.169op/s; -59457.678op/s] or [-27.368%; -11.254%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive netcoreapp3.1

  • unstable execution_time [-95.992ms; -71.044ms] or [-48.658%; -36.012%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+301.345ms; +315.550ms] or [+150.193%; +157.273%]

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

  • unstable execution_time [+199.162ms; +254.309ms] or [+100.009%; +127.702%]

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

  • 🟥 execution_time [+304.271ms; +310.277ms] or [+154.307%; +157.353%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+299.419ms; +300.020ms] or [+149.352%; +149.652%]
  • 🟩 throughput [+64871136.046op/s; +65121741.292op/s] or [+47.243%; +47.426%]

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

  • unstable execution_time [+369.375ms; +381.060ms] or [+459.384%; +473.916%]
  • 🟥 throughput [-7499.543op/s; -7301.863op/s] or [-57.975%; -56.447%]

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

  • 🟥 execution_time [+301.393ms; +303.327ms] or [+150.328%; +151.293%]
  • 🟥 throughput [-29498898.596op/s; -28453100.857op/s] or [-13.066%; -12.603%]

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

  • 🟩 execution_time [-95.707ms; -75.743ms] or [-46.876%; -37.098%]
  • unstable throughput [-92778.192op/s; +26105.541op/s] or [-8.662%; +2.437%]

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

  • unstable execution_time [-91.024ms; -69.138ms] or [-46.059%; -34.984%]
  • 🟩 throughput [+49963.710op/s; +69566.311op/s] or [+5.783%; +8.052%]

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

  • unstable execution_time [-73.553ms; -37.813ms] or [-38.322%; -19.701%]
  • unstable throughput [-182312.795op/s; +2652.128op/s] or [-14.111%; +0.205%]

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

  • unstable execution_time [-77.070ms; -49.142ms] or [-37.866%; -24.144%]
  • 🟩 throughput [+87970.856op/s; +100725.637op/s] or [+8.737%; +10.004%]

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

  • 🟩 execution_time [-99.538ms; -98.112ms] or [-49.709%; -48.997%]
  • 🟩 throughput [+47023.859op/s; +51678.504op/s] or [+8.539%; +9.384%]

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

  • unstable execution_time [-31.838ms; -9.273ms] or [-15.997%; -4.659%]
  • 🟩 throughput [+26082.642op/s; +35873.767op/s] or [+5.838%; +8.030%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net6.0

  • unstable execution_time [-71.424ms; -30.501ms] or [-35.724%; -15.256%]
  • unstable throughput [-241099.629op/s; -80865.699op/s] or [-26.937%; -9.035%]

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

  • unstable execution_time [-54.443ms; -25.979ms] or [-27.651%; -13.195%]

Known flaky benchmarks without significant changes:

  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net472
  • 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_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472
  • 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 netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • 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_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net6.0
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark netcoreapp3.1
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice netcoreapp3.1
  • 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.ILoggerBenchmark.EnrichedLog net472
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net472
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472

@dd-trace-dotnet-ci-bot

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8671) 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
duration74.84 ± (74.79 - 75.34) ms72.87 ± (72.85 - 73.30) ms-2.6%
.NET Framework 4.8 - Bailout
duration79.13 ± (79.03 - 79.49) ms79.75 ± (79.34 - 79.82) ms+0.8%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1106.35 ± (1104.67 - 1112.54) ms1114.22 ± (1111.61 - 1119.41) ms+0.7%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.65 ± (22.59 - 22.71) ms22.97 ± (22.91 - 23.03) ms+1.4%✅⬆️
process.time_to_main_ms87.08 ± (86.80 - 87.37) ms88.05 ± (87.77 - 88.34) ms+1.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.93 ± (10.93 - 10.94) MB10.91 ± (10.91 - 10.92) MB-0.2%
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.41 ± (22.36 - 22.46) ms22.59 ± (22.55 - 22.63) ms+0.8%✅⬆️
process.time_to_main_ms85.69 ± (85.48 - 85.90) ms87.03 ± (86.81 - 87.24) ms+1.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.97 ± (10.97 - 10.98) MB10.94 ± (10.94 - 10.95) MB-0.3%
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms214.62 ± (213.67 - 215.57) ms213.74 ± (212.89 - 214.60) ms-0.4%
process.time_to_main_ms544.91 ± (543.66 - 546.17) ms545.73 ± (544.50 - 546.97) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.52 ± (48.49 - 48.55) MB48.53 ± (48.50 - 48.55) MB+0.0%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.2%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms21.28 ± (21.23 - 21.32) ms21.34 ± (21.28 - 21.40) ms+0.3%✅⬆️
process.time_to_main_ms74.05 ± (73.84 - 74.27) ms75.07 ± (74.77 - 75.36) ms+1.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.63 ± (10.63 - 10.63) MB10.63 ± (10.63 - 10.63) MB-0.0%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.46 ± (21.41 - 21.52) ms21.07 ± (21.03 - 21.11) ms-1.8%
process.time_to_main_ms76.83 ± (76.57 - 77.09) ms74.67 ± (74.49 - 74.84) ms-2.8%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.74 ± (10.74 - 10.75) MB10.73 ± (10.73 - 10.74) MB-0.1%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms369.43 ± (367.41 - 371.45) ms369.45 ± (367.29 - 371.61) ms+0.0%✅⬆️
process.time_to_main_ms548.76 ± (547.34 - 550.18) ms549.93 ± (548.54 - 551.31) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.99 ± (49.96 - 50.01) MB50.01 ± (49.99 - 50.04) MB+0.1%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.0%
.NET 8 - Baseline
process.internal_duration_ms19.39 ± (19.35 - 19.43) ms19.71 ± (19.66 - 19.77) ms+1.7%✅⬆️
process.time_to_main_ms72.65 ± (72.47 - 72.84) ms74.68 ± (74.40 - 74.96) ms+2.8%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.68 ± (7.68 - 7.69) MB7.68 ± (7.67 - 7.68) MB-0.1%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.63 ± (19.58 - 19.68) ms19.61 ± (19.56 - 19.66) ms-0.1%
process.time_to_main_ms75.51 ± (75.23 - 75.78) ms75.37 ± (75.11 - 75.63) ms-0.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.73 ± (7.72 - 7.73) MB7.71 ± (7.70 - 7.71) MB-0.2%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms295.16 ± (292.87 - 297.45) ms295.76 ± (293.60 - 297.92) ms+0.2%✅⬆️
process.time_to_main_ms497.61 ± (496.58 - 498.65) ms497.46 ± (496.38 - 498.53) ms-0.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.90 ± (36.88 - 36.93) MB36.86 ± (36.83 - 36.88) MB-0.1%
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.0%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration198.94 ± (198.65 - 199.47) ms200.21 ± (199.86 - 200.56) ms+0.6%✅⬆️
.NET Framework 4.8 - Bailout
duration202.78 ± (202.14 - 203.16) ms203.60 ± (203.09 - 203.99) ms+0.4%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1194.85 ± (1195.61 - 1201.47) ms1200.45 ± (1201.83 - 1207.74) ms+0.5%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms195.33 ± (194.80 - 195.86) ms195.44 ± (195.03 - 195.85) ms+0.1%✅⬆️
process.time_to_main_ms84.30 ± (83.95 - 84.65) ms84.60 ± (84.28 - 84.92) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.13 ± (16.10 - 16.15) MB16.09 ± (16.07 - 16.12) MB-0.2%
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (20 - 20)+0.4%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms195.08 ± (194.58 - 195.58) ms196.06 ± (195.54 - 196.57) ms+0.5%✅⬆️
process.time_to_main_ms85.40 ± (85.14 - 85.66) ms86.15 ± (85.87 - 86.44) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.13 ± (16.10 - 16.15) MB16.10 ± (16.07 - 16.12) MB-0.2%
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (20 - 21)-0.3%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms389.57 ± (388.34 - 390.81) ms391.25 ± (390.08 - 392.41) ms+0.4%✅⬆️
process.time_to_main_ms539.21 ± (538.11 - 540.30) ms543.57 ± (542.29 - 544.86) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed57.63 ± (57.41 - 57.85) MB58.35 ± (58.13 - 58.57) MB+1.3%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.7%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms199.13 ± (198.63 - 199.64) ms199.88 ± (199.47 - 200.30) ms+0.4%✅⬆️
process.time_to_main_ms72.58 ± (72.31 - 72.85) ms73.21 ± (72.95 - 73.47) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.32 ± (16.30 - 16.35) MB16.32 ± (16.29 - 16.35) MB-0.0%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.3%
.NET 6 - Bailout
process.internal_duration_ms198.49 ± (198.01 - 198.96) ms200.36 ± (200.02 - 200.70) ms+0.9%✅⬆️
process.time_to_main_ms73.52 ± (73.27 - 73.77) ms74.81 ± (74.66 - 74.96) ms+1.8%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.35 ± (16.31 - 16.38) MB16.40 ± (16.38 - 16.42) MB+0.3%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.3%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms586.06 ± (583.70 - 588.42) ms585.65 ± (582.90 - 588.41) ms-0.1%
process.time_to_main_ms544.39 ± (543.28 - 545.51) ms550.81 ± (549.76 - 551.86) ms+1.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.02 ± (60.94 - 61.11) MB61.11 ± (61.00 - 61.23) MB+0.1%✅⬆️
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)-0.4%
.NET 8 - Baseline
process.internal_duration_ms198.91 ± (198.43 - 199.40) ms197.95 ± (197.44 - 198.47) ms-0.5%
process.time_to_main_ms72.43 ± (72.21 - 72.65) ms72.46 ± (72.22 - 72.69) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.68 ± (11.67 - 11.69) MB11.66 ± (11.64 - 11.68) MB-0.2%
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)-0.1%
.NET 8 - Bailout
process.internal_duration_ms197.31 ± (196.86 - 197.77) ms197.61 ± (197.14 - 198.09) ms+0.2%✅⬆️
process.time_to_main_ms73.27 ± (73.02 - 73.53) ms73.79 ± (73.57 - 74.01) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.77 ± (11.75 - 11.79) MB11.77 ± (11.75 - 11.79) MB+0.0%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.3%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms510.22 ± (507.73 - 512.71) ms513.11 ± (510.42 - 515.81) ms+0.6%✅⬆️
process.time_to_main_ms491.61 ± (490.60 - 492.63) ms497.84 ± (496.85 - 498.83) ms+1.3%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.65 ± (50.61 - 50.69) MB50.63 ± (50.59 - 50.68) MB-0.0%
runtime.dotnet.threads.count30 ± (29 - 30)30 ± (30 - 30)+0.7%✅⬆️
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 (8671) - mean (73ms)  : 70, 76
    master - mean (75ms)  : 71, 79

    section Bailout
    This PR (8671) - mean (80ms)  : 76, 83
    master - mean (79ms)  : 76, 83

    section CallTarget+Inlining+NGEN
    This PR (8671) - mean (1,116ms)  : 1057, 1174
    master - mean (1,109ms)  : 1052, 1165

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 (8671) - mean (118ms)  : 112, 125
    master - mean (117ms)  : 111, 122

    section Bailout
    This PR (8671) - mean (117ms)  : 113, 121
    master - mean (115ms)  : 112, 118

    section CallTarget+Inlining+NGEN
    This PR (8671) - mean (796ms)  : 769, 823
    master - mean (797ms)  : 766, 828

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

    section Bailout
    This PR (8671) - mean (102ms)  : 99, 105
    master - mean (105ms)  : 99, 111

    section CallTarget+Inlining+NGEN
    This PR (8671) - mean (950ms)  : 903, 996
    master - mean (947ms)  : 904, 989

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8671) - mean (103ms)  : 97, 108
    master - mean (100ms)  : 96, 103

    section Bailout
    This PR (8671) - mean (103ms)  : 97, 109
    master - mean (103ms)  : 98, 108

    section CallTarget+Inlining+NGEN
    This PR (8671) - mean (825ms)  : 779, 871
    master - mean (823ms)  : 783, 864

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 (8671) - mean (200ms)  : 197, 204
    master - mean (199ms)  : 194, 204

    section Bailout
    This PR (8671) - mean (204ms)  : 199, 208
    master - mean (203ms)  : 197, 208

    section CallTarget+Inlining+NGEN
    This PR (8671) - mean (1,205ms)  : 1163, 1247
    master - mean (1,199ms)  : 1156, 1241

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 (8671) - mean (289ms)  : 282, 296
    master - mean (289ms)  : 280, 298

    section Bailout
    This PR (8671) - mean (291ms)  : 284, 298
    master - mean (289ms)  : 281, 298

    section CallTarget+Inlining+NGEN
    This PR (8671) - mean (972ms)  : 953, 992
    master - mean (967ms)  : 947, 986

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8671) - mean (282ms)  : 276, 288
    master - mean (280ms)  : 273, 288

    section Bailout
    This PR (8671) - mean (284ms)  : 280, 288
    master - mean (281ms)  : 273, 288

    section CallTarget+Inlining+NGEN
    This PR (8671) - mean (1,166ms)  : 1139, 1193
    master - mean (1,161ms)  : 1117, 1204

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8671) - mean (281ms)  : 273, 289
    master - mean (282ms)  : 271, 294

    section Bailout
    This PR (8671) - mean (281ms)  : 275, 288
    master - mean (281ms)  : 275, 287

    section CallTarget+Inlining+NGEN
    This PR (8671) - mean (1,041ms)  : 991, 1092
    master - mean (1,036ms)  : 998, 1074

Loading

@datadog-prod-us1-4

Copy link
Copy Markdown

Pipelines

Fix all issues with BitsAI

⚠️ Warnings

🚦 1 Pipeline job failed

DataDog/apm-reliability/dd-trace-dotnet | check-big-regressions   View in Datadog   GitLab

🔧 Fix in code (Fix with Cursor). Execution of Regression Check failed with exit code 5.

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 87aa31f | Docs | Datadog PR Page | Give us feedback!

@gleocadie
gleocadie merged commit 9d14649 into master May 21, 2026
144 of 147 checks passed
@gleocadie
gleocadie deleted the gleocadie/reduce-crashes-arm64 branch May 21, 2026 16:58
@github-actions github-actions Bot added this to the vNext-v3 milestone May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:profiler Issues related to the continous-profiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants