Skip to content

[WIP] Gleocadie/crash arm64 - #8499

Draft
gleocadie wants to merge 40 commits into
masterfrom
gleocadie/crash-arm64
Draft

[WIP] Gleocadie/crash arm64#8499
gleocadie wants to merge 40 commits into
masterfrom
gleocadie/crash-arm64

Conversation

@gleocadie

Copy link
Copy Markdown
Collaborator

Summary of changes

Reason for change

Implementation details

Test coverage

Other details

…m64)

UnwindTracersProvider::ScopedTracer has a user-declared destructor that
pushes its TracerNode back onto the free-list. It had no explicit move
ops, which meant the compiler kept the implicit (deprecated) copy-assign
and omitted the implicit move. TimerCreateCpuProfiler::Collect() uses
assignment on every arm64 CPU sample when debug logging is on, so the
temporary and the local both ended up releasing the same node, corrupting
the free-list.

- Delete the copy ctor/assignment and define explicit move ctor/assignment
  that null out the source's _provider/_node.
- Default-initialize _provider/_node in the class body so the
  ScopedTracer(nullptr) overload no longer leaves _node indeterminate.

Made-with: Cursor
…ines)

- [F3] Rewrite the .NET<5 arm64 Log::Warn in CorProfilerCallback::Initialize
  to use "Continuous Profiler" and "arm64 Linux" per AGENTS.md guidelines.
- [B4] Expand the no_sanitize("vptr") rationale above the first call-site
  to explicitly cover the three clang+arm64 suppression points below.
- [F4] Document that TimerCreateCpuProfiler::_useUnwinderTracer is a
  one-shot snapshot of Log::IsDebugEnabled() captured at construction.
- [F5] Collapse the duplicated AddModuleRangesToCache declaration in
  ManagedCodeCache.h by toggling visibility with a single #ifdef DD_TEST
  public: / #else private: / #endif block.
- [F6] Fix the "GetfunctionId" typo and clarify the comment around the
  defensive !isR2r.has_value() guard.
- [F7] Drop the stray blank line introduced in LinuxStackFramesCollector
  after RegisterHandler.
- [F8] Default-initialize StackFramesCollectorBase::_tracer{nullptr} to
  remove any future indeterminate-value hazard.
- [C4] Append a trailing newline to Backtrace2Unwinder.h, HybridUnwinder.h,
  IUnwinder.h, LinuxStackFramesCollector.h, TimerCreateCpuProfiler.h.

Made-with: Cursor
- [C7] Explain in profiler/src/Demos/Directory.Build.props why
  netcoreapp3.1 is excluded on arm64 Linux (the Continuous Profiler
  refuses to initialize on .NET Core 3.1 / arm64).
- [E1] Clarify in PublishProfilerLinux that the linux-arm64 and
  linux-musl-arm64 RID folders are both populated, via the glibc and
  Alpine/musl CI legs respectively.
- [E2] Add a TODO + tracking-issue placeholder next to the
  TSAN-disabled-on-arm64 conditions (48-bit VMA requirement on CI hosts).
- [E3] Document why we preload libasan.so.5 on arm64 (older gcc 9 image)
  vs libasan.so.6 on x64.
- [E4] Describe in build/cmake/FindLibunwind.cmake the patches carried
  by DataDog/libunwind@gleocadie/v1.8.1-custom-3 and why we can't move
  to upstream v1.8.3 yet.

Made-with: Cursor
@pr-commenter

pr-commenter Bot commented Apr 22, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-04-22 14:55:35

Comparing candidate commit 3eee3d7 in PR branch gleocadie/crash-arm64 with baseline commit 34902b0 in branch master.

Found 0 performance improvements and 2 performance regressions! Performance is the same for 25 metrics, 0 unstable metrics, 59 known flaky benchmarks, 28 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 [-39015.323op/s; -34688.061op/s] or [-10.989%; -9.770%]

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync net472

  • 🟥 throughput [-4864.174op/s; -4575.210op/s] or [-5.553%; -5.223%]

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 net6.0

  • 🟩 throughput [+9526.354op/s; +11686.744op/s] or [+8.007%; +9.823%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+302.574ms; +304.778ms] or [+150.148%; +151.242%]

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

  • 🟥 execution_time [+380.162ms; +382.797ms] or [+300.351%; +302.433%]

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

  • 🟥 execution_time [+394.742ms; +397.606ms] or [+349.331%; +351.866%]

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

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.529%; +27.541%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+9.977%; +9.987%]
  • 🟩 execution_time [-15.908ms; -11.737ms] or [-7.429%; -5.481%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.502%; +27.510%]

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.746%; +105.759%]
  • 🟥 throughput [-236844.967op/s; -232600.647op/s] or [-24.183%; -23.750%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.558%; +38.566%]
  • 🟩 execution_time [-26.497ms; -21.645ms] or [-11.816%; -9.653%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.292%; +105.304%]
  • 🟥 throughput [-136016.610op/s; -119900.461op/s] or [-19.543%; -17.227%]

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

  • 🟩 throughput [+8579.185op/s; +11550.370op/s] or [+5.459%; +7.349%]

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

  • 🟩 throughput [+7767.880op/s; +10393.623op/s] or [+6.188%; +8.280%]

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

  • 🟩 throughput [+294104.518op/s; +322818.044op/s] or [+9.807%; +10.764%]

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

  • 🟩 execution_time [-18.814ms; -14.425ms] or [-8.673%; -6.649%]
  • 🟩 throughput [+220992.669op/s; +276911.177op/s] or [+8.772%; +10.991%]

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

  • 🟥 execution_time [+299.747ms; +300.497ms] or [+149.773%; +150.148%]

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

  • 🟥 execution_time [+299.296ms; +302.621ms] or [+150.936%; +152.613%]

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

  • 🟥 execution_time [+299.742ms; +302.225ms] or [+150.987%; +152.237%]

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

  • 🟥 execution_time [+295.734ms; +297.454ms] or [+145.253%; +146.098%]

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

  • 🟥 execution_time [+297.985ms; +302.023ms] or [+145.674%; +147.648%]

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

  • 🟥 execution_time [+301.633ms; +303.633ms] or [+150.756%; +151.755%]

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

  • 🟥 execution_time [+24.518µs; +48.185µs] or [+7.827%; +15.383%]
  • 🟥 throughput [-445.862op/s; -246.793op/s] or [-13.899%; -7.693%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+300.003ms; +300.642ms] or [+149.732%; +150.051%]

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

  • unstable execution_time [+309.994ms; +357.962ms] or [+336.821%; +388.941%]
  • 🟩 throughput [+1169.312op/s; +1323.449op/s] or [+9.608%; +10.875%]

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

  • unstable execution_time [+331.419ms; +360.421ms] or [+251.643%; +273.664%]
  • 🟩 throughput [+645.725op/s; +848.143op/s] or [+6.251%; +8.211%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • unstable execution_time [+327.324ms; +401.440ms] or [+150.500%; +184.578%]
  • 🟥 throughput [-516.878op/s; -454.658op/s] or [-46.834%; -41.196%]

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

  • unstable execution_time [+201.082ms; +334.285ms] or [+85.693%; +142.458%]
  • 🟥 throughput [-744.634op/s; -661.204op/s] or [-49.667%; -44.102%]

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

  • 🟥 execution_time [+341.425ms; +350.150ms] or [+204.212%; +209.430%]
  • 🟥 throughput [-411.187op/s; -375.960op/s] or [-28.630%; -26.178%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+306.298ms; +307.813ms] or [+154.246%; +155.009%]

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

  • 🟥 execution_time [+302.513ms; +304.683ms] or [+151.590%; +152.677%]

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

  • 🟥 execution_time [+300.166ms; +303.369ms] or [+150.791%; +152.400%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+300.919ms; +302.518ms] or [+151.112%; +151.914%]

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

  • 🟥 execution_time [+298.780ms; +300.398ms] or [+147.734%; +148.533%]

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

  • 🟥 execution_time [+302.032ms; +305.918ms] or [+153.083%; +155.053%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+302.557ms; +304.046ms] or [+151.856%; +152.604%]

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

  • 🟥 execution_time [+298.901ms; +301.750ms] or [+148.975%; +150.395%]
  • 🟩 throughput [+53599.507op/s; +59450.292op/s] or [+10.643%; +11.805%]

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

  • 🟥 execution_time [+299.356ms; +301.851ms] or [+148.927%; +150.168%]

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

  • 🟩 throughput [+19211.899op/s; +29790.403op/s] or [+5.270%; +8.172%]

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

  • unstable execution_time [+7.812µs; +49.104µs] or [+1.930%; +12.129%]

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

  • 🟩 allocated_mem [-20.058KB; -20.037KB] or [-7.317%; -7.309%]
  • unstable execution_time [-27.554µs; +40.055µs] or [-5.446%; +7.917%]
  • unstable throughput [-75.676op/s; +137.123op/s] or [-3.776%; +6.842%]

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

  • 🟩 allocated_mem [-28.195KB; -28.179KB] or [-10.278%; -10.273%]

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

  • 🟥 execution_time [+5.872µs; +9.971µs] or [+13.878%; +23.569%]
  • 🟥 throughput [-4527.235op/s; -2764.051op/s] or [-19.058%; -11.636%]

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

  • unstable execution_time [-13.752µs; -6.426µs] or [-21.336%; -9.970%]
  • 🟩 throughput [+1675.159op/s; +3220.430op/s] or [+10.278%; +19.758%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+303.872ms; +306.297ms] or [+153.594%; +154.820%]

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

  • 🟥 execution_time [+298.381ms; +301.761ms] or [+151.875%; +153.595%]

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

  • 🟥 execution_time [+301.245ms; +303.317ms] or [+150.810%; +151.848%]

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

  • 🟩 throughput [+35519.617op/s; +46850.670op/s] or [+6.723%; +8.868%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+300.190ms; +301.878ms] or [+149.618%; +150.459%]

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

  • 🟥 execution_time [+300.852ms; +302.285ms] or [+151.074%; +151.793%]

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

  • 🟥 execution_time [+303.875ms; +306.521ms] or [+154.106%; +155.448%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+299.901ms; +300.575ms] or [+149.592%; +149.928%]
  • 🟩 throughput [+66176173.181op/s; +66436021.864op/s] or [+48.194%; +48.383%]

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

  • unstable execution_time [+346.331ms; +390.430ms] or [+430.724%; +485.569%]
  • 🟩 throughput [+944.465op/s; +1121.678op/s] or [+7.301%; +8.671%]

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

  • 🟥 execution_time [+299.669ms; +300.566ms] or [+149.468%; +149.915%]
  • 🟩 throughput [+16108164.345op/s; +18107500.892op/s] or [+7.135%; +8.020%]

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

  • 🟩 throughput [+95091.400op/s; +103284.152op/s] or [+8.878%; +9.643%]

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

  • 🟩 throughput [+58686.329op/s; +78372.450op/s] or [+6.793%; +9.071%]

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

  • 🟩 throughput [+74005.323op/s; +105868.231op/s] or [+5.728%; +8.194%]

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

  • 🟩 throughput [+90785.160op/s; +99128.792op/s] or [+9.016%; +9.845%]

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

  • 🟩 throughput [+57105.447op/s; +61917.184op/s] or [+10.369%; +11.243%]

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

  • 🟩 throughput [+23785.368op/s; +33551.444op/s] or [+5.324%; +7.510%]

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

  • 🟩 throughput [+48970.404op/s; +67671.290op/s] or [+5.471%; +7.561%]

Known flaky benchmarks without significant changes:

  • scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472
  • scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild 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.CharSliceBenchmark.OriginalCharSlice net6.0
  • 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.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.StartFinishSpan net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1

@dd-trace-dotnet-ci-bot

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8499) 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.89 ± (73.03 - 73.52) ms75.05 ± (75.08 - 75.66) ms+3.0%✅⬆️
.NET Framework 4.8 - Bailout
duration77.14 ± (76.96 - 77.38) ms78.84 ± (78.57 - 79.09) ms+2.2%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1084.85 ± (1081.72 - 1088.59) ms1074.94 ± (1073.76 - 1080.10) ms-0.9%
.NET Core 3.1 - Baseline
process.internal_duration_ms22.41 ± (22.36 - 22.46) ms22.92 ± (22.86 - 22.99) ms+2.3%✅⬆️
process.time_to_main_ms85.04 ± (84.81 - 85.27) ms88.25 ± (87.92 - 88.59) ms+3.8%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.91 ± (10.91 - 10.91) MB10.93 ± (10.93 - 10.94) MB+0.2%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.27 ± (22.24 - 22.31) ms22.40 ± (22.36 - 22.43) ms+0.5%✅⬆️
process.time_to_main_ms85.51 ± (85.32 - 85.71) ms86.48 ± (86.28 - 86.69) ms+1.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.88 ± (10.87 - 10.88) MB10.95 ± (10.95 - 10.96) MB+0.7%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms230.09 ± (229.01 - 231.17) ms227.99 ± (226.71 - 229.26) ms-0.9%
process.time_to_main_ms526.25 ± (524.88 - 527.61) ms530.20 ± (528.61 - 531.78) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.46 ± (48.43 - 48.49) MB48.60 ± (48.57 - 48.63) MB+0.3%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%
.NET 6 - Baseline
process.internal_duration_ms21.62 ± (21.56 - 21.68) ms21.31 ± (21.28 - 21.35) ms-1.4%
process.time_to_main_ms76.76 ± (76.47 - 77.05) ms73.49 ± (73.32 - 73.66) ms-4.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.62 ± (10.62 - 10.63) MB10.63 ± (10.63 - 10.64) MB+0.1%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.24 ± (21.20 - 21.28) ms21.36 ± (21.31 - 21.41) ms+0.6%✅⬆️
process.time_to_main_ms75.57 ± (75.39 - 75.76) ms75.57 ± (75.30 - 75.84) ms-0.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.73 ± (10.73 - 10.73) MB10.75 ± (10.75 - 10.76) MB+0.2%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms385.01 ± (383.02 - 387.00) ms386.21 ± (384.05 - 388.36) ms+0.3%✅⬆️
process.time_to_main_ms530.76 ± (529.48 - 532.04) ms531.22 ± (530.00 - 532.44) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.91 ± (49.88 - 49.93) MB50.14 ± (50.11 - 50.17) MB+0.5%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 29)+0.5%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.66 ± (19.61 - 19.71) ms19.65 ± (19.59 - 19.71) ms-0.1%
process.time_to_main_ms73.44 ± (73.25 - 73.64) ms73.82 ± (73.55 - 74.09) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.67 ± (7.66 - 7.68) 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.98 ± (19.92 - 20.04) ms19.50 ± (19.45 - 19.55) ms-2.4%
process.time_to_main_ms77.23 ± (76.96 - 77.50) ms74.79 ± (74.61 - 74.97) ms-3.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.71 ± (7.71 - 7.72) MB7.73 ± (7.72 - 7.73) MB+0.2%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms304.22 ± (301.78 - 306.66) ms307.17 ± (304.99 - 309.35) ms+1.0%✅⬆️
process.time_to_main_ms490.21 ± (489.16 - 491.27) ms490.07 ± (488.85 - 491.29) ms-0.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.25 ± (37.20 - 37.30) MB37.16 ± (37.12 - 37.21) MB-0.2%
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)-0.3%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration202.68 ± (202.57 - 203.73) ms205.10 ± (204.79 - 205.70) ms+1.2%✅⬆️
.NET Framework 4.8 - Bailout
duration206.28 ± (206.19 - 207.34) ms208.38 ± (207.72 - 208.76) ms+1.0%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1199.33 ± (1199.33 - 1205.55) ms1205.55 ± (1203.84 - 1211.14) ms+0.5%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms197.93 ± (197.30 - 198.56) ms197.88 ± (197.38 - 198.39) ms-0.0%
process.time_to_main_ms85.71 ± (85.40 - 86.03) ms86.00 ± (85.73 - 86.27) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.07 ± (16.06 - 16.09) MB15.97 ± (15.95 - 15.98) MB-0.6%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (19 - 20)-1.3%
.NET Core 3.1 - Bailout
process.internal_duration_ms198.09 ± (197.49 - 198.69) ms197.42 ± (196.96 - 197.88) ms-0.3%
process.time_to_main_ms87.22 ± (86.90 - 87.54) ms87.43 ± (87.14 - 87.71) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.11 ± (16.09 - 16.13) MB16.01 ± (15.99 - 16.03) MB-0.6%
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (21 - 21)+0.1%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms411.44 ± (410.00 - 412.87) ms411.27 ± (410.06 - 412.48) ms-0.0%
process.time_to_main_ms537.27 ± (535.81 - 538.72) ms533.97 ± (532.78 - 535.15) ms-0.6%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed59.32 ± (59.28 - 59.36) MB59.31 ± (59.28 - 59.34) MB-0.0%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.2%
.NET 6 - Baseline
process.internal_duration_ms202.50 ± (202.00 - 203.01) ms202.64 ± (202.13 - 203.15) ms+0.1%✅⬆️
process.time_to_main_ms74.66 ± (74.40 - 74.92) ms75.12 ± (74.87 - 75.38) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.27 ± (16.25 - 16.29) MB16.25 ± (16.23 - 16.27) MB-0.1%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.7%
.NET 6 - Bailout
process.internal_duration_ms201.89 ± (201.34 - 202.44) ms202.78 ± (202.29 - 203.26) ms+0.4%✅⬆️
process.time_to_main_ms75.60 ± (75.35 - 75.85) ms76.10 ± (75.89 - 76.32) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.30 ± (16.28 - 16.32) MB16.30 ± (16.28 - 16.31) MB-0.0%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.8%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms601.52 ± (598.46 - 604.59) ms600.37 ± (597.78 - 602.95) ms-0.2%
process.time_to_main_ms537.30 ± (536.20 - 538.39) ms534.92 ± (533.85 - 535.99) ms-0.4%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.53 ± (61.43 - 61.62) MB61.75 ± (61.66 - 61.83) MB+0.4%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 31)31 ± (30 - 31)+0.2%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms203.15 ± (202.58 - 203.71) ms201.26 ± (200.75 - 201.77) ms-0.9%
process.time_to_main_ms74.43 ± (74.19 - 74.67) ms74.41 ± (74.13 - 74.69) ms-0.0%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.55 ± (11.54 - 11.57) MB11.62 ± (11.61 - 11.64) MB+0.6%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)18 ± (18 - 18)-2.0%
.NET 8 - Bailout
process.internal_duration_ms202.68 ± (202.05 - 203.30) ms200.43 ± (199.95 - 200.90) ms-1.1%
process.time_to_main_ms76.08 ± (75.81 - 76.34) ms75.26 ± (75.03 - 75.49) ms-1.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.59 ± (11.58 - 11.61) MB11.68 ± (11.67 - 11.70) MB+0.8%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)19 ± (19 - 19)-1.6%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms536.01 ± (528.63 - 543.40) ms519.46 ± (515.14 - 523.79) ms-3.1%
process.time_to_main_ms500.98 ± (499.58 - 502.38) ms498.31 ± (497.14 - 499.47) ms-0.5%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.81 ± (50.72 - 50.90) MB50.62 ± (50.58 - 50.66) MB-0.4%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.2%
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 (8499) - mean (75ms)  : 71, 79
    master - mean (73ms)  : 70, 77

    section Bailout
    This PR (8499) - mean (79ms)  : 75, 83
    master - mean (77ms)  : 74, 80

    section CallTarget+Inlining+NGEN
    This PR (8499) - mean (1,077ms)  : 1032, 1122
    master - mean (1,085ms)  : 1036, 1134

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 (8499) - mean (119ms)  : 113, 125
    master - mean (114ms)  : 110, 119

    section Bailout
    This PR (8499) - mean (116ms)  : 112, 119
    master - mean (115ms)  : 111, 118

    section CallTarget+Inlining+NGEN
    This PR (8499) - mean (795ms)  : 770, 820
    master - mean (794ms)  : 765, 824

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

    section Bailout
    This PR (8499) - mean (104ms)  : 97, 110
    master - mean (103ms)  : 99, 108

    section CallTarget+Inlining+NGEN
    This PR (8499) - mean (946ms)  : 901, 990
    master - mean (947ms)  : 900, 993

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

    section Bailout
    This PR (8499) - mean (102ms)  : 100, 104
    master - mean (105ms)  : 101, 110

    section CallTarget+Inlining+NGEN
    This PR (8499) - mean (826ms)  : 788, 864
    master - mean (826ms)  : 784, 869

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 (8499) - mean (205ms)  : 199, 212
    master - mean (203ms)  : 195, 212

    section Bailout
    This PR (8499) - mean (208ms)  : 202, 215
    master - mean (207ms)  : 198, 215

    section CallTarget+Inlining+NGEN
    This PR (8499) - mean (1,207ms)  : 1154, 1261
    master - mean (1,202ms)  : 1158, 1247

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 (8499) - mean (293ms)  : 281, 306
    master - mean (294ms)  : 280, 307

    section Bailout
    This PR (8499) - mean (294ms)  : 286, 302
    master - mean (295ms)  : 280, 311

    section CallTarget+Inlining+NGEN
    This PR (8499) - mean (980ms)  : 939, 1021
    master - mean (981ms)  : 952, 1011

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8499) - mean (287ms)  : 275, 298
    master - mean (286ms)  : 276, 297

    section Bailout
    This PR (8499) - mean (288ms)  : 278, 297
    master - mean (286ms)  : 276, 297

    section CallTarget+Inlining+NGEN
    This PR (8499) - mean (1,167ms)  : 1118, 1215
    master - mean (1,169ms)  : 1122, 1216

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8499) - mean (286ms)  : 279, 294
    master - mean (289ms)  : 276, 301

    section Bailout
    This PR (8499) - mean (286ms)  : 275, 298
    master - mean (290ms)  : 275, 306

    section CallTarget+Inlining+NGEN
    This PR (8499) - mean (1,050ms)  : 989, 1112
    master - mean (1,070ms)  : 983, 1158

Loading

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