Skip to content

feat: add support for latest Amazon.Lambda.RuntimeSupport package#8797

Merged
lucaspimentel merged 2 commits into
masterfrom
james.eastham/amazon-lambda-runtimesupport-2x
Jun 18, 2026
Merged

feat: add support for latest Amazon.Lambda.RuntimeSupport package#8797
lucaspimentel merged 2 commits into
masterfrom
james.eastham/amazon-lambda-runtimesupport-2x

Conversation

@jeastham1993

Copy link
Copy Markdown
Collaborator

Summary of changes

The .NET 10 Managed Lambda runtime using a 2.x version of Amazon.Lambda.RuntimeSupport. Bump our support in the .NET tracer.

Reason for change

I'm working on improving DSM support inside Lambda

Implementation details

Bumped versions.

Test coverage

Other details

@pr-commenter

pr-commenter Bot commented Jun 18, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-06-18 11:16:08

Comparing candidate commit 67f8f04 in PR branch james.eastham/amazon-lambda-runtimesupport-2x with baseline commit df17d38 in branch master.

📊 Benchmarking dashboard

Found 0 performance improvements and 0 performance regressions! Performance is the same for 72 metrics, 0 unstable metrics, 59 known flaky benchmarks, 67 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 ----------------------------------'

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 [-6581.202op/s; -5987.825op/s] or [-7.803%; -7.100%]

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

  • 🟥 throughput [-8265.670op/s; -6719.935op/s] or [-8.404%; -6.833%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+307.664ms; +315.449ms] or [+152.674%; +156.537%]
  • 🟥 throughput [-46.274op/s; -42.557op/s] or [-8.326%; -7.657%]

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

  • 🟥 execution_time [+382.501ms; +384.554ms] or [+302.199%; +303.821%]
  • 🟩 throughput [+86.764op/s; +90.190op/s] or [+11.439%; +11.891%]

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

  • 🟥 execution_time [+391.273ms; +396.034ms] or [+346.262%; +350.475%]

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 [+471 bytes; +472 bytes] or [+9.976%; +9.987%]
  • 🟩 execution_time [-15.514ms; -11.330ms] or [-7.246%; -5.292%]

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

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

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.743%; +105.758%]
  • 🟥 throughput [-273908.484op/s; -270805.292op/s] or [-27.967%; -27.651%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.557%; +38.566%]
  • unstable execution_time [-24.899ms; +5.442ms] or [-11.104%; +2.427%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • 🟥 throughput [-153136.498op/s; -137178.935op/s] or [-22.003%; -19.710%]

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

  • 🟩 throughput [+9052.774op/s; +12065.620op/s] or [+5.760%; +7.677%]

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

  • 🟩 throughput [+9731.949op/s; +12375.271op/s] or [+7.753%; +9.859%]

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

  • 🟩 throughput [+452366.889op/s; +484525.257op/s] or [+15.084%; +16.156%]

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

  • 🟩 execution_time [-19.602ms; -15.262ms] or [-9.036%; -7.035%]
  • 🟩 throughput [+149401.511op/s; +208584.570op/s] or [+5.930%; +8.279%]

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

  • 🟥 execution_time [+299.342ms; +300.383ms] or [+149.571%; +150.091%]

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

  • 🟥 execution_time [+299.507ms; +302.677ms] or [+151.042%; +152.641%]

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

  • 🟥 execution_time [+299.965ms; +303.952ms] or [+151.099%; +153.107%]

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

  • 🟥 execution_time [+295.494ms; +296.442ms] or [+145.135%; +145.600%]

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

  • 🟥 execution_time [+297.809ms; +301.406ms] or [+145.588%; +147.346%]

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

  • 🟥 execution_time [+300.238ms; +302.515ms] or [+150.059%; +151.197%]

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

  • 🟥 execution_time [+21.516µs; +45.230µs] or [+6.869%; +14.439%]
  • 🟥 throughput [-421.837op/s; -222.370op/s] or [-13.150%; -6.932%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.991ms; +300.833ms] or [+149.726%; +150.146%]

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

  • unstable execution_time [+333.095ms; +388.775ms] or [+361.921%; +422.420%]
  • 🟩 throughput [+723.163op/s; +924.768op/s] or [+5.942%; +7.599%]

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

  • unstable execution_time [+243.475ms; +307.718ms] or [+184.868%; +233.647%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • unstable execution_time [+358.953ms; +406.436ms] or [+165.043%; +186.875%]
  • 🟥 throughput [-572.011op/s; -528.867op/s] or [-51.830%; -47.921%]

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

  • unstable execution_time [+143.804ms; +289.654ms] or [+61.283%; +123.438%]
  • 🟥 throughput [-682.316op/s; -598.114op/s] or [-45.511%; -39.894%]

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

  • 🟥 execution_time [+332.779ms; +342.551ms] or [+199.040%; +204.885%]
  • 🟥 throughput [-382.383op/s; -346.436op/s] or [-26.625%; -24.122%]

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

  • 🟩 execution_time [-164.481µs; -117.552µs] or [-8.332%; -5.955%]
  • 🟩 throughput [+33.552op/s; +46.485op/s] or [+6.623%; +9.177%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+305.517ms; +307.397ms] or [+153.852%; +154.799%]

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

  • 🟥 execution_time [+302.146ms; +303.811ms] or [+151.406%; +152.240%]

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

  • 🟥 execution_time [+300.799ms; +304.305ms] or [+151.109%; +152.870%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+300.753ms; +302.696ms] or [+151.028%; +152.004%]
  • 🟩 throughput [+18207.304op/s; +19945.704op/s] or [+6.100%; +6.682%]

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

  • 🟥 execution_time [+298.907ms; +301.376ms] or [+147.796%; +149.017%]

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

  • 🟥 execution_time [+302.862ms; +306.719ms] or [+153.504%; +155.458%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+301.313ms; +303.592ms] or [+151.232%; +152.376%]

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

  • 🟥 execution_time [+302.539ms; +304.478ms] or [+150.788%; +151.754%]
  • 🟩 throughput [+56186.480op/s; +63203.881op/s] or [+11.157%; +12.550%]

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

  • 🟥 execution_time [+302.351ms; +305.849ms] or [+150.417%; +152.157%]

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

  • 🟩 execution_time [-16.961ms; -13.213ms] or [-7.887%; -6.144%]

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

  • unstable execution_time [+6.398µs; +50.260µs] or [+1.580%; +12.415%]

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

  • 🟩 allocated_mem [-26.331KB; -26.308KB] or [-9.605%; -9.596%]
  • unstable execution_time [-43.464µs; +12.103µs] or [-8.591%; +2.392%]

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

  • unstable execution_time [-22.104µs; +44.839µs] or [-3.831%; +7.770%]
  • unstable throughput [-114.013op/s; +66.638op/s] or [-6.514%; +3.807%]

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

  • unstable execution_time [+7.387µs; +12.768µs] or [+17.460%; +30.180%]
  • 🟥 throughput [-5373.689op/s; -3386.232op/s] or [-22.622%; -14.255%]

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

  • unstable execution_time [-11.607µs; +1.693µs] or [-18.008%; +2.627%]
  • unstable throughput [+525.045op/s; +2898.977op/s] or [+3.221%; +17.786%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+302.944ms; +304.617ms] or [+153.125%; +153.970%]

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

  • 🟥 execution_time [+306.845ms; +310.407ms] or [+156.183%; +157.996%]

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

  • 🟥 execution_time [+302.665ms; +306.504ms] or [+151.521%; +153.443%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472

  • 🟥 throughput [-23444.409op/s; -21988.637op/s] or [-6.490%; -6.087%]

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

  • 🟩 throughput [+30937.682op/s; +34208.918op/s] or [+5.856%; +6.475%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+301.684ms; +303.724ms] or [+150.362%; +151.379%]

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

  • 🟥 execution_time [+301.473ms; +302.579ms] or [+151.386%; +151.941%]

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

  • 🟥 execution_time [+302.173ms; +304.656ms] or [+153.243%; +154.502%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+299.115ms; +300.080ms] or [+149.200%; +149.681%]
  • 🟩 throughput [+61094253.339op/s; +61387810.134op/s] or [+44.493%; +44.706%]

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

  • unstable execution_time [+255.951ms; +342.730ms] or [+318.321%; +426.246%]

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

  • 🟥 execution_time [+298.769ms; +299.963ms] or [+149.019%; +149.615%]

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

  • 🟩 throughput [+89216.167op/s; +96364.662op/s] or [+8.330%; +8.997%]

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

  • 🟩 throughput [+66307.849op/s; +76392.813op/s] or [+6.585%; +7.587%]

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

  • 🟩 throughput [+44565.696op/s; +53091.999op/s] or [+8.092%; +9.641%]

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

  • 🟩 throughput [+81054.296op/s; +99668.261op/s] or [+9.056%; +11.135%]

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

@andrewlock andrewlock left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM as long as the tests pass, thanks!

@jeastham1993
jeastham1993 force-pushed the james.eastham/amazon-lambda-runtimesupport-2x branch from 07a805d to be31335 Compare June 18, 2026 09:42
@dd-trace-dotnet-ci-bot

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8797) 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
duration73.52 ± (73.44 - 73.93) ms74.32 ± (74.28 - 74.71) ms+1.1%✅⬆️
.NET Framework 4.8 - Bailout
duration78.51 ± (78.37 - 78.86) ms77.92 ± (77.89 - 78.29) ms-0.8%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1095.79 ± (1095.01 - 1101.11) ms1091.63 ± (1092.20 - 1098.13) ms-0.4%
.NET Core 3.1 - Baseline
process.internal_duration_ms22.74 ± (22.69 - 22.79) ms22.94 ± (22.83 - 23.05) ms+0.9%✅⬆️
process.time_to_main_ms84.30 ± (84.09 - 84.51) ms86.00 ± (85.60 - 86.40) ms+2.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.91 ± (10.91 - 10.91) MB10.91 ± (10.91 - 10.92) MB+0.0%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.93 ± (22.88 - 22.98) ms22.46 ± (22.42 - 22.49) ms-2.0%
process.time_to_main_ms87.90 ± (87.67 - 88.13) ms85.50 ± (85.31 - 85.68) ms-2.7%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.96 ± (10.95 - 10.96) MB10.96 ± (10.96 - 10.97) MB+0.1%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms214.58 ± (213.46 - 215.71) ms214.58 ± (213.67 - 215.50) ms-0.0%
process.time_to_main_ms540.33 ± (539.02 - 541.63) ms543.47 ± (542.16 - 544.78) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.61 ± (48.57 - 48.66) MB48.62 ± (48.59 - 48.65) MB+0.0%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.4%
.NET 6 - Baseline
process.internal_duration_ms21.38 ± (21.33 - 21.43) ms21.29 ± (21.24 - 21.33) ms-0.5%
process.time_to_main_ms73.50 ± (73.27 - 73.73) ms73.57 ± (73.38 - 73.76) ms+0.1%✅⬆️
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.38 ± (21.33 - 21.42) ms21.49 ± (21.44 - 21.54) ms+0.5%✅⬆️
process.time_to_main_ms75.28 ± (75.07 - 75.48) ms76.25 ± (76.02 - 76.48) ms+1.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.74 ± (10.74 - 10.74) MB10.75 ± (10.75 - 10.75) MB+0.1%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms372.35 ± (369.63 - 375.07) ms369.90 ± (367.85 - 371.94) ms-0.7%
process.time_to_main_ms545.68 ± (544.43 - 546.94) ms546.81 ± (545.61 - 548.02) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed50.24 ± (50.22 - 50.27) MB50.15 ± (50.13 - 50.18) MB-0.2%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.1%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.38 ± (19.35 - 19.41) ms19.49 ± (19.45 - 19.52) ms+0.6%✅⬆️
process.time_to_main_ms71.79 ± (71.64 - 71.94) ms72.02 ± (71.86 - 72.18) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.65 ± (7.64 - 7.66) MB7.66 ± (7.65 - 7.66) MB+0.1%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.53 ± (19.49 - 19.57) ms19.38 ± (19.34 - 19.43) ms-0.7%
process.time_to_main_ms74.10 ± (73.91 - 74.29) ms73.03 ± (72.85 - 73.21) ms-1.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.71 ± (7.71 - 7.72) MB7.72 ± (7.72 - 7.73) MB+0.1%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms295.41 ± (293.31 - 297.52) ms298.28 ± (296.40 - 300.16) ms+1.0%✅⬆️
process.time_to_main_ms495.59 ± (494.74 - 496.43) ms496.46 ± (495.51 - 497.42) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.14 ± (37.11 - 37.18) MB37.18 ± (37.15 - 37.21) MB+0.1%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.2%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration200.94 ± (200.75 - 201.60) ms202.50 ± (202.04 - 202.95) ms+0.8%✅⬆️
.NET Framework 4.8 - Bailout
duration204.87 ± (204.15 - 205.24) ms206.89 ± (205.64 - 206.72) ms+1.0%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1201.06 ± (1201.61 - 1207.18) ms1201.73 ± (1201.33 - 1207.39) ms+0.1%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms194.81 ± (194.45 - 195.17) ms194.49 ± (194.07 - 194.92) ms-0.2%
process.time_to_main_ms84.67 ± (84.33 - 85.01) ms84.20 ± (83.86 - 84.54) ms-0.6%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.11 ± (16.08 - 16.13) MB16.10 ± (16.08 - 16.13) MB-0.0%
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (20 - 20)+1.2%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms195.22 ± (194.74 - 195.70) ms194.41 ± (193.94 - 194.89) ms-0.4%
process.time_to_main_ms86.02 ± (85.72 - 86.32) ms85.55 ± (85.29 - 85.82) ms-0.5%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.09 ± (16.07 - 16.12) MB16.15 ± (16.13 - 16.18) MB+0.4%✅⬆️
runtime.dotnet.threads.count21 ± (20 - 21)20 ± (20 - 21)-0.4%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms385.25 ± (383.97 - 386.53) ms385.69 ± (384.44 - 386.93) ms+0.1%✅⬆️
process.time_to_main_ms541.53 ± (540.26 - 542.80) ms541.21 ± (539.76 - 542.66) ms-0.1%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed57.74 ± (57.55 - 57.92) MB58.08 ± (57.85 - 58.30) MB+0.6%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.3%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms197.98 ± (197.49 - 198.48) ms200.25 ± (199.78 - 200.72) ms+1.1%✅⬆️
process.time_to_main_ms72.77 ± (72.43 - 73.12) ms73.56 ± (73.31 - 73.81) ms+1.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.38 ± (16.35 - 16.41) MB16.34 ± (16.32 - 16.36) MB-0.2%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.1%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms199.22 ± (198.74 - 199.71) ms199.07 ± (198.60 - 199.54) ms-0.1%
process.time_to_main_ms74.53 ± (74.30 - 74.76) ms74.18 ± (73.93 - 74.44) ms-0.5%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.41 ± (16.39 - 16.44) MB16.44 ± (16.41 - 16.46) MB+0.1%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.6%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms585.92 ± (583.61 - 588.22) ms589.25 ± (586.77 - 591.73) ms+0.6%✅⬆️
process.time_to_main_ms548.55 ± (547.49 - 549.61) ms551.26 ± (550.17 - 552.35) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.46 ± (61.36 - 61.55) MB61.52 ± (61.42 - 61.62) MB+0.1%✅⬆️
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)-0.1%
.NET 8 - Baseline
process.internal_duration_ms196.34 ± (195.85 - 196.82) ms198.03 ± (197.62 - 198.44) ms+0.9%✅⬆️
process.time_to_main_ms72.79 ± (72.53 - 73.05) ms73.24 ± (72.99 - 73.50) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.67 ± (11.65 - 11.69) MB11.71 ± (11.70 - 11.73) MB+0.4%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)19 ± (18 - 19)+1.6%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms195.18 ± (194.65 - 195.70) ms197.56 ± (197.14 - 197.98) ms+1.2%✅⬆️
process.time_to_main_ms73.03 ± (72.81 - 73.25) ms74.01 ± (73.83 - 74.19) ms+1.3%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.74 ± (11.72 - 11.76) MB11.80 ± (11.78 - 11.82) MB+0.5%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.6%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms511.75 ± (509.09 - 514.40) ms513.97 ± (511.65 - 516.29) ms+0.4%✅⬆️
process.time_to_main_ms499.18 ± (498.31 - 500.06) ms499.26 ± (498.30 - 500.21) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.89 ± (50.85 - 50.93) MB51.01 ± (50.97 - 51.05) MB+0.2%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.4%✅⬆️
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 (8797) - mean (74ms)  : 71, 78
    master - mean (74ms)  : 70, 77

    section Bailout
    This PR (8797) - mean (78ms)  : 76, 81
    master - mean (79ms)  : 75, 82

    section CallTarget+Inlining+NGEN
    This PR (8797) - mean (1,095ms)  : 1050, 1140
    master - mean (1,098ms)  : 1054, 1142

Loading
FakeDbCommand (.NET Core 3.1)
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8797) - mean (116ms)  : 108, 125
    master - mean (115ms)  : 111, 119

    section Bailout
    This PR (8797) - mean (115ms)  : 113, 117
    master - mean (119ms)  : 115, 123

    section CallTarget+Inlining+NGEN
    This PR (8797) - mean (792ms)  : 766, 819
    master - mean (791ms)  : 768, 814

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

    section Bailout
    This PR (8797) - mean (104ms)  : 100, 108
    master - mean (104ms)  : 99, 109

    section CallTarget+Inlining+NGEN
    This PR (8797) - mean (951ms)  : 903, 998
    master - mean (950ms)  : 906, 995

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

    section Bailout
    This PR (8797) - mean (100ms)  : 98, 102
    master - mean (102ms)  : 98, 106

    section CallTarget+Inlining+NGEN
    This PR (8797) - mean (825ms)  : 787, 863
    master - mean (822ms)  : 781, 863

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 (8797) - mean (202ms)  : 197, 208
    master - mean (201ms)  : 196, 206

    section Bailout
    This PR (8797) - mean (206ms)  : 200, 213
    master - mean (205ms)  : 198, 211

    section CallTarget+Inlining+NGEN
    This PR (8797) - mean (1,204ms)  : 1162, 1247
    master - mean (1,204ms)  : 1166, 1243

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 (8797) - mean (288ms)  : 281, 295
    master - mean (289ms)  : 284, 295

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

    section CallTarget+Inlining+NGEN
    This PR (8797) - mean (967ms)  : 945, 990
    master - mean (968ms)  : 947, 988

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

    section Bailout
    This PR (8797) - mean (282ms)  : 275, 288
    master - mean (283ms)  : 274, 292

    section CallTarget+Inlining+NGEN
    This PR (8797) - mean (1,171ms)  : 1132, 1211
    master - mean (1,164ms)  : 1132, 1197

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8797) - mean (281ms)  : 275, 288
    master - mean (279ms)  : 272, 286

    section Bailout
    This PR (8797) - mean (282ms)  : 276, 288
    master - mean (278ms)  : 271, 285

    section CallTarget+Inlining+NGEN
    This PR (8797) - mean (1,047ms)  : 1009, 1086
    master - mean (1,043ms)  : 996, 1090

Loading

@lucaspimentel lucaspimentel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@lucaspimentel
lucaspimentel merged commit b356053 into master Jun 18, 2026
141 checks passed
@lucaspimentel
lucaspimentel deleted the james.eastham/amazon-lambda-runtimesupport-2x branch June 18, 2026 21:49
@github-actions github-actions Bot added this to the vNext-v3 milestone Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:serverless type:enhancement Improvement to an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants