Skip to content

Update TagListGenerator to always useReadOnlySpan<byte> properties#8486

Open
andrewlock wants to merge 2 commits intoandrew/use-new-span-tfrom
andrew/update-tag-generator
Open

Update TagListGenerator to always useReadOnlySpan<byte> properties#8486
andrewlock wants to merge 2 commits intoandrew/use-new-span-tfrom
andrew/update-tag-generator

Conversation

@andrewlock
Copy link
Copy Markdown
Member

Summary of changes

Update the tag list generator to always use ReadOnlySpan<byte> properties instead of byte[]

Reason for change

After moving our vendored Span<T> implementation into the System namespace, various optimizations open up to us, including using ReadOnlySpan<byte> properties on .NET Framework instead of static readonly byte[] to avoid startup costs.

Implementation details

Replace the code generated by the generator, and update the generated code

Test coverage

Covered by snapshot tests and behaviour is covered by existing tests. We'll check the benchmarks to make sure that we don't see any perf impact (there shouldn't be, impact should just be reduced startup costs)

Other details

Depends on a stack updating our vendored system code

@andrewlock andrewlock added type:refactor type:performance Performance, speed, latency, resource usage (CPU, memory) labels Apr 20, 2026
@andrewlock andrewlock marked this pull request as ready for review April 20, 2026 15:53
@andrewlock andrewlock requested review from a team as code owners April 20, 2026 15:53
@andrewlock andrewlock force-pushed the andrew/use-new-span-t branch from 25f6d5e to b1f8279 Compare April 21, 2026 10:19
@andrewlock andrewlock requested review from a team as code owners April 21, 2026 10:19
@andrewlock andrewlock force-pushed the andrew/update-tag-generator branch from eca7df4 to 54730c9 Compare April 21, 2026 10:19
@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented Apr 21, 2026

Benchmarks

Benchmark execution time: 2026-04-21 11:24:15

Comparing candidate commit 54730c9 in PR branch andrew/update-tag-generator with baseline commit b821c57 in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 27 metrics, 0 unstable metrics, 87 known flaky benchmarks.

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.005%]
  • ignore execution_time [-1.555ms; -0.528ms] or [-0.772%; -0.262%]
  • ignore throughput [-2286.723op/s; -1882.325op/s] or [-2.711%; -2.232%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.007%]
  • ignore execution_time [-1.984ms; +4.764ms] or [-0.990%; +2.377%]
  • 🟩 throughput [+7332.957op/s; +10471.579op/s] or [+6.164%; +8.802%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • ignore execution_time [-16.390ms; -2.820ms] or [-8.243%; -1.418%]
  • ignore throughput [+1083.681op/s; +2301.636op/s] or [+1.102%; +2.340%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [+8 bytes; +9 bytes] or [+0.266%; +0.279%]
  • 🟥 execution_time [+312.050ms; +316.950ms] or [+154.850%; +157.282%]
  • ignore throughput [+22.142op/s; +25.888op/s] or [+3.984%; +4.658%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+388.219ms; +389.834ms] or [+306.717%; +307.993%]
  • ignore throughput [+16.151op/s; +18.622op/s] or [+2.129%; +2.455%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+395.534ms; +398.786ms] or [+350.033%; +352.910%]
  • ignore throughput [-3.934op/s; -0.797op/s] or [-0.556%; -0.113%]

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

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.529%; +27.541%]
  • ignore execution_time [-130.834µs; +450.424µs] or [-0.065%; +0.225%]
  • ignore throughput [-4806.487op/s; -4437.135op/s] or [-3.740%; -3.452%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+9.977%; +9.987%]
  • 🟩 execution_time [-15.726ms; -11.546ms] or [-7.345%; -5.392%]
  • ignore throughput [+5463.736op/s; +8238.020op/s] or [+3.988%; +6.013%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.502%; +27.510%]
  • ignore execution_time [-12.768ms; -8.619ms] or [-6.080%; -4.104%]
  • ignore throughput [-958.974op/s; +1308.706op/s] or [-0.867%; +1.183%]

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.746%; +105.759%]
  • ignore execution_time [-498.393µs; +189.947µs] or [-0.248%; +0.095%]
  • 🟥 throughput [-255029.880op/s; -251791.932op/s] or [-26.040%; -25.709%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.558%; +38.566%]
  • 🟩 execution_time [-26.350ms; -21.500ms] or [-11.751%; -9.588%]
  • 🟥 throughput [-70607.139op/s; -47360.015op/s] or [-7.543%; -5.060%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.292%; +105.304%]
  • ignore execution_time [-3026.484µs; +1256.518µs] or [-1.511%; +0.627%]
  • 🟥 throughput [-137220.030op/s; -121313.092op/s] or [-19.716%; -17.430%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [-1034.303µs; -4.110µs] or [-0.516%; -0.002%]
  • ignore throughput [+148.910op/s; +937.144op/s] or [+0.100%; +0.631%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • ignore execution_time [-1137.779µs; +2401.466µs] or [-0.574%; +1.212%]
  • 🟩 throughput [+10232.819op/s; +13216.853op/s] or [+6.511%; +8.410%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [+1.839ms; +5.859ms] or [+0.938%; +2.987%]
  • 🟩 throughput [+6776.040op/s; +9426.273op/s] or [+5.398%; +7.509%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • ignore execution_time [-353.451µs; -118.560µs] or [-0.176%; -0.059%]
  • ignore throughput [+16188.007op/s; +40121.186op/s] or [+0.492%; +1.221%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.008%]
  • ignore execution_time [-1.956ms; -0.546ms] or [-0.967%; -0.270%]
  • 🟩 throughput [+379924.067op/s; +400628.342op/s] or [+12.668%; +13.359%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • 🟩 execution_time [-18.353ms; -14.001ms] or [-8.460%; -6.454%]
  • 🟩 throughput [+195778.660op/s; +249521.617op/s] or [+7.771%; +9.904%]

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

  • ignore allocated_mem [+0 bytes; +2 bytes] or [-0.001%; +0.007%]
  • 🟥 execution_time [+299.769ms; +300.249ms] or [+149.784%; +150.024%]
  • ignore throughput [+109.190op/s; +132.973op/s] or [+1.206%; +1.469%]

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

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+300.891ms; +304.092ms] or [+151.740%; +153.354%]
  • ignore throughput [+379.900op/s; +590.753op/s] or [+2.906%; +4.518%]

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

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+299.743ms; +302.278ms] or [+150.987%; +152.264%]
  • ignore throughput [+116.146op/s; +244.291op/s] or [+1.121%; +2.359%]

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

  • ignore allocated_mem [+4 bytes; +5 bytes] or [+0.230%; +0.243%]
  • 🟥 execution_time [+296.056ms; +296.790ms] or [+145.411%; +145.772%]
  • ignore throughput [-5.456op/s; +0.145op/s] or [-0.145%; +0.004%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+295.573ms; +297.754ms] or [+144.495%; +145.561%]
  • ignore throughput [+104.108op/s; +138.133op/s] or [+1.512%; +2.007%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+300.990ms; +302.268ms] or [+150.434%; +151.073%]
  • ignore throughput [+23.074op/s; +49.107op/s] or [+0.458%; +0.975%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+7.330µs; +10.870µs] or [+1.505%; +2.232%]
  • ignore throughput [-44.768op/s; -30.195op/s] or [-2.180%; -1.471%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.010%]
  • ignore execution_time [+18.300µs; +44.933µs] or [+4.197%; +10.305%]
  • ignore throughput [-221.264op/s; -101.435op/s] or [-9.620%; -4.410%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [+9.173µs; +31.175µs] or [+1.965%; +6.679%]
  • ignore throughput [-152.692op/s; -71.750op/s] or [-7.049%; -3.312%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-2293.298ns; +1537.298ns] or [-0.619%; +0.415%]
  • ignore throughput [-10.724op/s; +16.773op/s] or [-0.397%; +0.621%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • 🟥 execution_time [+22.086µs; +45.695µs] or [+7.051%; +14.588%]
  • 🟥 throughput [-425.765op/s; -227.093op/s] or [-13.272%; -7.079%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [-12.254µs; +10.122µs] or [-3.352%; +2.769%]
  • ignore throughput [-109.346op/s; +24.165op/s] or [-3.924%; +0.867%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.955ms; +300.615ms] or [+149.708%; +150.038%]
  • ignore throughput [+3650060.212op/s; +4218028.326op/s] or [+1.828%; +2.113%]

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

  • ignore allocated_mem [+80 bytes; +82 bytes] or [+0.446%; +0.457%]
  • unstable execution_time [+344.769ms; +386.311ms] or [+374.606%; +419.743%]
  • 🟩 throughput [+1034.614op/s; +1187.366op/s] or [+8.502%; +9.757%]

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

  • ignore allocated_mem [+20 bytes; +22 bytes] or [+0.099%; +0.110%]
  • unstable execution_time [+234.527ms; +278.874ms] or [+178.074%; +211.746%]
  • 🟩 throughput [+658.190op/s; +861.290op/s] or [+6.372%; +8.338%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [+2.784KB; +2.789KB] or [+4.946%; +4.955%]
  • unstable execution_time [+233.945ms; +318.222ms] or [+107.566%; +146.316%]
  • 🟥 throughput [-495.950op/s; -432.802op/s] or [-44.938%; -39.216%]

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

  • ignore allocated_mem [-1.270KB; -1.268KB] or [-2.995%; -2.990%]
  • unstable execution_time [+203.031ms; +336.249ms] or [+86.523%; +143.295%]
  • 🟥 throughput [-747.672op/s; -664.183op/s] or [-49.870%; -44.301%]

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

  • ignore allocated_mem [+42 bytes; +45 bytes] or [+0.099%; +0.107%]
  • 🟥 execution_time [+336.924ms; +343.930ms] or [+201.519%; +205.710%]
  • 🟥 throughput [-403.895op/s; -367.854op/s] or [-28.123%; -25.613%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-80.319µs; -59.162µs] or [-4.042%; -2.977%]
  • ignore throughput [+15.890op/s; +21.488op/s] or [+3.158%; +4.270%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-40.472µs; -28.155µs] or [-2.780%; -1.934%]
  • ignore throughput [+13.879op/s; +19.842op/s] or [+2.020%; +2.888%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-93.494µs; -74.228µs] or [-3.253%; -2.582%]
  • ignore throughput [+9.331op/s; +11.791op/s] or [+2.682%; +3.389%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-11.694µs; -3.480µs] or [-1.010%; -0.301%]
  • ignore throughput [+2.918op/s; +8.942op/s] or [+0.338%; +1.035%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-37.403µs; -11.056µs] or [-3.469%; -1.025%]
  • ignore throughput [+12.087op/s; +38.930op/s] or [+1.303%; +4.197%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+76.509µs; +88.940µs] or [+4.099%; +4.765%]
  • ignore throughput [-24.317op/s; -20.984op/s] or [-4.539%; -3.917%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472

  • ignore allocated_mem [-43 bytes; +21 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [-9.194µs; -1.657µs] or [-0.359%; -0.065%]
  • ignore throughput [+0.270op/s; +1.425op/s] or [+0.069%; +0.365%]

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

  • ignore allocated_mem [-38 bytes; +46 bytes] or [-0.006%; +0.007%]
  • 🟩 execution_time [-179.736µs; -143.154µs] or [-9.105%; -7.252%]
  • 🟩 throughput [+41.440op/s; +51.354op/s] or [+8.181%; +10.138%]

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

  • ignore allocated_mem [-42 bytes; +23 bytes] or [-0.007%; +0.004%]
  • ignore execution_time [-120.337µs; -80.241µs] or [-3.052%; -2.035%]
  • ignore throughput [+5.517op/s; +8.055op/s] or [+2.176%; +3.176%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • 🟥 execution_time [+302.162ms; +303.754ms] or [+152.163%; +152.965%]
  • ignore throughput [+14087.545op/s; +15702.370op/s] or [+4.533%; +5.053%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+300.804ms; +302.019ms] or [+150.734%; +151.342%]
  • ignore throughput [+22905.003op/s; +28371.874op/s] or [+3.611%; +4.473%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+301.743ms; +304.792ms] or [+151.583%; +153.115%]
  • ignore throughput [+20046.192op/s; +28157.412op/s] or [+4.223%; +5.931%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • 🟥 execution_time [+300.740ms; +301.994ms] or [+151.022%; +151.651%]
  • ignore throughput [+11536.494op/s; +13384.847op/s] or [+3.865%; +4.484%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.006%]
  • 🟥 execution_time [+298.783ms; +300.740ms] or [+147.735%; +148.703%]
  • ignore throughput [+628.428op/s; +5535.372op/s] or [+0.101%; +0.892%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+304.262ms; +308.324ms] or [+154.213%; +156.272%]
  • ignore throughput [-3491.379op/s; +4964.892op/s] or [-0.754%; +1.072%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • ignore allocated_mem [+0 bytes; +1 bytes] or [+0.108%; +0.119%]
  • 🟥 execution_time [+300.975ms; +302.723ms] or [+151.062%; +151.939%]
  • ignore throughput [+15607.975op/s; +17674.637op/s] or [+4.049%; +4.585%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+301.517ms; +303.437ms] or [+150.279%; +151.235%]
  • 🟩 throughput [+44860.928op/s; +50293.196op/s] or [+8.908%; +9.987%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+301.886ms; +304.538ms] or [+150.186%; +151.505%]
  • ignore throughput [-15726.071op/s; -9983.689op/s] or [-3.722%; -2.363%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [-1087.803µs; -251.243µs] or [-0.541%; -0.125%]
  • ignore throughput [-10702.870op/s; -9048.768op/s] or [-4.304%; -3.639%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.003%]
  • 🟩 execution_time [-15.855ms; -12.162ms] or [-7.373%; -5.656%]
  • ignore throughput [+14438.628op/s; +22001.756op/s] or [+3.961%; +6.036%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.008%]
  • ignore execution_time [-0.619ms; +3.342ms] or [-0.310%; +1.676%]
  • ignore throughput [+2820.234op/s; +8619.440op/s] or [+1.029%; +3.146%]

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

  • ignore allocated_mem [-4.459KB; -4.431KB] or [-1.623%; -1.613%]
  • unstable execution_time [+6.715µs; +47.881µs] or [+1.659%; +11.827%]
  • ignore throughput [-246.988op/s; -39.690op/s] or [-9.939%; -1.597%]

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

  • 🟩 allocated_mem [-25.917KB; -25.896KB] or [-9.454%; -9.446%]
  • unstable execution_time [-45.719µs; +7.028µs] or [-9.036%; +1.389%]
  • ignore throughput [-14.038op/s; +170.578op/s] or [-0.701%; +8.512%]

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

  • ignore allocated_mem [-954 bytes; -937 bytes] or [-0.348%; -0.342%]
  • ignore execution_time [-53.784µs; +3.187µs] or [-9.320%; +0.552%]
  • ignore throughput [+5.239op/s; +160.700op/s] or [+0.299%; +9.181%]

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

  • ignore allocated_mem [-2 bytes; +2 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-187.443ns; +1300.110ns] or [-0.325%; +2.252%]
  • ignore throughput [-358.917op/s; +60.284op/s] or [-2.071%; +0.348%]

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

  • ignore allocated_mem [-4 bytes; +0 bytes] or [-0.010%; -0.001%]
  • unstable execution_time [+6.039µs; +10.508µs] or [+14.273%; +24.838%]
  • 🟥 throughput [-4593.872op/s; -2769.934op/s] or [-19.339%; -11.661%]

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

  • ignore allocated_mem [-1 bytes; +1 bytes] or [-0.002%; +0.002%]
  • unstable execution_time [-14.607µs; -7.799µs] or [-22.663%; -12.099%]
  • 🟩 throughput [+1932.763op/s; +3355.582op/s] or [+11.858%; +20.588%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • ignore allocated_mem [+3 bytes; +4 bytes] or [+0.084%; +0.094%]
  • 🟥 execution_time [+300.726ms; +302.306ms] or [+152.004%; +152.802%]
  • ignore throughput [-96.397op/s; -74.139op/s] or [-1.611%; -1.239%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • 🟥 execution_time [+302.341ms; +305.567ms] or [+153.890%; +155.532%]
  • ignore throughput [-151.339op/s; -70.993op/s] or [-1.877%; -0.880%]

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

  • ignore allocated_mem [-1 bytes; +0 bytes] or [-0.027%; -0.017%]
  • 🟥 execution_time [+303.400ms; +306.910ms] or [+151.889%; +153.646%]
  • ignore throughput [-262.441op/s; -185.210op/s] or [-3.343%; -2.359%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [+148.673µs; +1044.418µs] or [+0.074%; +0.521%]
  • ignore throughput [-7602.271op/s; -5376.648op/s] or [-2.105%; -1.488%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.007%]
  • ignore execution_time [-1.994ms; +7.366ms] or [-0.997%; +3.682%]
  • 🟩 throughput [+34117.746op/s; +46776.138op/s] or [+6.458%; +8.854%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.006%]
  • ignore execution_time [+1.291ms; +4.985ms] or [+0.654%; +2.527%]
  • ignore throughput [-3122.495op/s; +5914.645op/s] or [-0.739%; +1.400%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • 🟥 execution_time [+299.895ms; +301.568ms] or [+149.471%; +150.305%]
  • ignore throughput [-3254.942op/s; -2255.381op/s] or [-2.149%; -1.489%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+0.000%; +0.009%]
  • 🟥 execution_time [+302.557ms; +303.640ms] or [+151.929%; +152.473%]
  • ignore throughput [+2507.819op/s; +3702.366op/s] or [+1.091%; +1.610%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • 🟥 execution_time [+301.768ms; +304.241ms] or [+153.037%; +154.291%]
  • ignore throughput [-3993.347op/s; -2085.908op/s] or [-2.249%; -1.175%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.407ms; +300.090ms] or [+149.346%; +149.686%]
  • 🟩 throughput [+66266694.116op/s; +66547819.653op/s] or [+48.260%; +48.464%]

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

  • ignore allocated_mem [+100 bytes; +102 bytes] or [+0.587%; +0.597%]
  • unstable execution_time [+344.726ms; +392.232ms] or [+428.729%; +487.810%]
  • 🟩 throughput [+913.222op/s; +1096.378op/s] or [+7.060%; +8.476%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.516ms; +300.421ms] or [+149.392%; +149.843%]
  • ignore throughput [+1362157.179op/s; +2366772.791op/s] or [+0.603%; +1.048%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [+223.978µs; +934.874µs] or [+0.112%; +0.468%]
  • ignore throughput [-11165.002op/s; -8264.367op/s] or [-1.246%; -0.922%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-5.229ms; -3.708ms] or [-2.561%; -1.816%]
  • 🟩 throughput [+89642.291op/s; +101444.327op/s] or [+8.370%; +9.472%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [+1.269ms; +5.355ms] or [+0.642%; +2.710%]
  • 🟩 throughput [+47660.766op/s; +67242.313op/s] or [+5.517%; +7.783%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.009%]
  • ignore execution_time [-45.627µs; +228.932µs] or [-0.023%; +0.114%]
  • ignore throughput [+16765.689op/s; +18931.993op/s] or [+1.535%; +1.733%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • ignore execution_time [+6.322ms; +10.436ms] or [+3.294%; +5.437%]
  • 🟩 throughput [+75741.017op/s; +106047.270op/s] or [+5.862%; +8.208%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • ignore execution_time [-2.859ms; -1.359ms] or [-1.405%; -0.667%]
  • 🟩 throughput [+84439.075op/s; +92162.542op/s] or [+8.386%; +9.153%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.002%]
  • ignore execution_time [-1.876ms; -0.609ms] or [-0.934%; -0.303%]
  • ignore throughput [+7359.166op/s; +10584.958op/s] or [+1.640%; +2.358%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • ignore execution_time [-0.858ms; +5.167ms] or [-0.428%; +2.581%]
  • 🟩 throughput [+34819.493op/s; +47211.800op/s] or [+6.323%; +8.573%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • ignore execution_time [+0.482ms; +4.606ms] or [+0.242%; +2.314%]
  • 🟩 throughput [+22620.223op/s; +32276.719op/s] or [+5.063%; +7.225%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-1067.335µs; -130.709µs] or [-0.532%; -0.065%]
  • ignore throughput [-12360.704op/s; -8411.816op/s] or [-1.809%; -1.231%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-0.585ms; +3.556ms] or [-0.293%; +1.779%]
  • 🟩 throughput [+72265.997op/s; +91232.586op/s] or [+8.074%; +10.193%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [+1.330ms; +5.247ms] or [+0.676%; +2.665%]
  • ignore throughput [+24293.009op/s; +38882.405op/s] or [+3.392%; +5.429%]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:performance Performance, speed, latency, resource usage (CPU, memory) type:refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant