-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI Visibility] - Update Code Coverage percentage reporting #5032
[CI Visibility] - Update Code Coverage percentage reporting #5032
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 303539 Passed, 1000 Skipped, 46m 37.87s Wall Time |
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing the following branches/commits: 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 shown in red. The following thresholds were used for comparing the execution times:
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). gantt
title Execution time (ms) FakeDbCommand (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5032) - mean (71ms) : 63, 80
. : milestone, 71,
master - mean (71ms) : 62, 80
. : milestone, 71,
section CallTarget+Inlining+NGEN
This PR (5032) - mean (1,021ms) : 1000, 1042
. : milestone, 1021,
master - mean (1,023ms) : 995, 1052
. : milestone, 1023,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5032) - mean (106ms) : 103, 109
. : milestone, 106,
master - mean (106ms) : 102, 110
. : milestone, 106,
section CallTarget+Inlining+NGEN
This PR (5032) - mean (719ms) : 693, 745
. : milestone, 719,
master - mean (728ms) : 704, 753
. : milestone, 728,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5032) - mean (90ms) : 87, 93
. : milestone, 90,
master - mean (90ms) : 88, 93
. : milestone, 90,
section CallTarget+Inlining+NGEN
This PR (5032) - mean (681ms) : 652, 709
. : milestone, 681,
master - mean (688ms) : 667, 708
. : milestone, 688,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5032) - mean (189ms) : 186, 191
. : milestone, 189,
master - mean (189ms) : 186, 193
. : milestone, 189,
section CallTarget+Inlining+NGEN
This PR (5032) - mean (1,130ms) : 1105, 1154
. : milestone, 1130,
master - mean (1,132ms) : 1110, 1153
. : milestone, 1132,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5032) - mean (274ms) : 268, 281
. : milestone, 274,
master - mean (273ms) : 269, 277
. : milestone, 273,
section CallTarget+Inlining+NGEN
This PR (5032) - mean (1,089ms) : 1062, 1116
. : milestone, 1089,
master - mean (1,081ms) : 1057, 1104
. : milestone, 1081,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5032) - mean (263ms) : 259, 268
. : milestone, 263,
master - mean (263ms) : 259, 267
. : milestone, 263,
section CallTarget+Inlining+NGEN
This PR (5032) - mean (1,052ms) : 1027, 1077
. : milestone, 1052,
master - mean (1,054ms) : 1028, 1080
. : milestone, 1054,
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with one question
// Adds the global code coverage percentage to the session | ||
session.SetTag(CodeCoverageTags.PercentageOfTotalLines, globalCoverage.GetTotalPercentage()); | ||
// We only report the code coverage percentage if the customer manually sets the 'DD_CIVISIBILITY_CODE_COVERAGE_ENABLED' environment variable according to the new spec. | ||
if (EnvironmentHelpers.GetEnvironmentVariable(Configuration.ConfigurationKeys.CIVisibility.CodeCoverage).ToBoolean() == true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we explicitly want to check the env var like this, or should we be checking CIVisibilitySettings.CodeCoverageEnabled
🤔 I know the spec says env var, but is that definitely what we want given we can have other sources too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently CIVisibilitySettings.CodeCoverageEnabled
gets modified with the value that comes from the settings api, so in some cases the value can be different from the actual environment variable. I might introduce an inmutable settings in the future.
Benchmarks Report 🐌Benchmarks for #5032 compared to master:
The following thresholds were used for comparing the benchmark speeds:
Allocation changes below 0.5% are ignored. Benchmark detailsBenchmarks.Trace.ActivityBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.Asm.AppSecBodyBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.Asm.AppSecWafBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AspNetCoreBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed ✔️ More allocations
|
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0 | 41.51 KB | 41.9 KB | 390 B | 0.94% |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | WriteAndFlushEnrichedTraces |
net6.0 | 538μs | 2.33μs | 8.4μs | 0.532 | 0 | 0 | 41.51 KB |
master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 668μs | 1.48μs | 5.73μs | 0.334 | 0 | 0 | 41.69 KB |
master | WriteAndFlushEnrichedTraces |
net472 | 820μs | 3.95μs | 16.8μs | 8.39 | 2.52 | 0.419 | 53.23 KB |
#5032 | WriteAndFlushEnrichedTraces |
net6.0 | 555μs | 1.68μs | 6.5μs | 0.558 | 0 | 0 | 41.9 KB |
#5032 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 665μs | 1.09μs | 4.09μs | 0.327 | 0 | 0 | 41.87 KB |
#5032 | WriteAndFlushEnrichedTraces |
net472 | 882μs | 4.16μs | 17.6μs | 8.3 | 2.62 | 0.437 | 53.25 KB |
Benchmarks.Trace.DbCommandBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | ExecuteNonQuery |
net6.0 | 1.08μs | 0.671ns | 2.6ns | 0.0108 | 0 | 0 | 768 B |
master | ExecuteNonQuery |
netcoreapp3.1 | 1.48μs | 0.812ns | 3.14ns | 0.0105 | 0 | 0 | 768 B |
master | ExecuteNonQuery |
net472 | 1.8μs | 0.784ns | 3.03ns | 0.116 | 0 | 0 | 730 B |
#5032 | ExecuteNonQuery |
net6.0 | 1.12μs | 0.885ns | 3.43ns | 0.011 | 0 | 0 | 768 B |
#5032 | ExecuteNonQuery |
netcoreapp3.1 | 1.56μs | 1.1ns | 4.27ns | 0.0101 | 0 | 0 | 768 B |
#5032 | ExecuteNonQuery |
net472 | 1.82μs | 0.638ns | 2.39ns | 0.115 | 0 | 0 | 730 B |
Benchmarks.Trace.ElasticsearchBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | CallElasticsearch |
net6.0 | 1.19μs | 0.53ns | 1.98ns | 0.0131 | 0 | 0 | 936 B |
master | CallElasticsearch |
netcoreapp3.1 | 1.52μs | 1.6ns | 6ns | 0.0129 | 0 | 0 | 936 B |
master | CallElasticsearch |
net472 | 2.47μs | 0.425ns | 1.59ns | 0.151 | 0 | 0 | 955 B |
master | CallElasticsearchAsync |
net6.0 | 1.3μs | 1.99ns | 7.45ns | 0.013 | 0 | 0 | 912 B |
master | CallElasticsearchAsync |
netcoreapp3.1 | 1.62μs | 1.24ns | 4.81ns | 0.013 | 0 | 0 | 984 B |
master | CallElasticsearchAsync |
net472 | 2.74μs | 1.03ns | 4ns | 0.16 | 0 | 0 | 1.01 KB |
#5032 | CallElasticsearch |
net6.0 | 1.18μs | 0.289ns | 1.08ns | 0.0131 | 0 | 0 | 936 B |
#5032 | CallElasticsearch |
netcoreapp3.1 | 1.55μs | 0.496ns | 1.86ns | 0.0124 | 0 | 0 | 936 B |
#5032 | CallElasticsearch |
net472 | 2.61μs | 0.904ns | 3.38ns | 0.151 | 0 | 0 | 955 B |
#5032 | CallElasticsearchAsync |
net6.0 | 1.27μs | 0.41ns | 1.59ns | 0.0129 | 0 | 0 | 912 B |
#5032 | CallElasticsearchAsync |
netcoreapp3.1 | 1.57μs | 0.777ns | 3.01ns | 0.0133 | 0 | 0 | 984 B |
#5032 | CallElasticsearchAsync |
net472 | 2.74μs | 0.594ns | 2.3ns | 0.16 | 0 | 0 | 1.01 KB |
Benchmarks.Trace.GraphQLBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | ExecuteAsync |
net6.0 | 1.34μs | 1.17ns | 4.53ns | 0.013 | 0 | 0 | 912 B |
master | ExecuteAsync |
netcoreapp3.1 | 1.69μs | 0.641ns | 2.48ns | 0.0119 | 0 | 0 | 912 B |
master | ExecuteAsync |
net472 | 1.72μs | 1.61ns | 6.25ns | 0.139 | 0 | 0 | 875 B |
#5032 | ExecuteAsync |
net6.0 | 1.31μs | 0.827ns | 3.09ns | 0.0131 | 0 | 0 | 912 B |
#5032 | ExecuteAsync |
netcoreapp3.1 | 1.61μs | 0.651ns | 2.43ns | 0.012 | 0 | 0 | 912 B |
#5032 | ExecuteAsync |
net472 | 1.84μs | 0.905ns | 3.5ns | 0.139 | 0 | 0 | 875 B |
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | SendAsync |
net6.0 | 4.17μs | 2.57ns | 9.95ns | 0.0288 | 0 | 0 | 2.1 KB |
master | SendAsync |
netcoreapp3.1 | 4.94μs | 2.04ns | 7.9ns | 0.0347 | 0 | 0 | 2.63 KB |
master | SendAsync |
net472 | 7.62μs | 4.02ns | 15.6ns | 0.522 | 0 | 0 | 3.31 KB |
#5032 | SendAsync |
net6.0 | 3.99μs | 1.3ns | 5.03ns | 0.0303 | 0 | 0 | 2.1 KB |
#5032 | SendAsync |
netcoreapp3.1 | 5.16μs | 10.9ns | 42.3ns | 0.0336 | 0 | 0 | 2.63 KB |
#5032 | SendAsync |
net472 | 7.81μs | 3.24ns | 12.6ns | 0.522 | 0 | 0 | 3.31 KB |
Benchmarks.Trace.Iast.StringAspectsBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #5032
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark(parameters: System.Collections.Generic.List`1[System.String])‑net472
58.52 KB
60.13 KB
1.61 KB
2.75%
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark(parameters: System.Collections.Generic.List`1[System.String])‑net472 | 58.52 KB | 60.13 KB | 1.61 KB | 2.75% |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StringConcatBenchmark(parameters=Syste(...)ring] [48]) |
net6.0 | 55μs | 283ns | 1.3μs | 0 | 0 | 0 | 43.44 KB |
master | StringConcatBenchmark(parameters=Syste(...)ring] [48]) |
netcoreapp3.1 | 53μs | 201ns | 752ns | 0 | 0 | 0 | 42.64 KB |
master | StringConcatBenchmark(parameters=Syste(...)ring] [48]) |
net472 | 37.6μs | 97.7ns | 366ns | 0 | 0 | 0 | 58.52 KB |
master | StringConcatAspectBenchmark(parameters=Syste(...)ring] [48]) |
net6.0 | 65μs | 250ns | 936ns | 0 | 0 | 0 | 43.29 KB |
master | StringConcatAspectBenchmark(parameters=Syste(...)ring] [48]) |
netcoreapp3.1 | 101μs | 3.88μs | 38.4μs | 0 | 0 | 0 | 42.64 KB |
master | StringConcatAspectBenchmark(parameters=Syste(...)ring] [48]) |
net472 | 63.5μs | 253ns | 912ns | 0 | 0 | 0 | 57.34 KB |
#5032 | StringConcatBenchmark(parameters=Syste(...)ring] [48]) |
net6.0 | 60.4μs | 725ns | 7.25μs | 0 | 0 | 0 | 43.44 KB |
#5032 | StringConcatBenchmark(parameters=Syste(...)ring] [48]) |
netcoreapp3.1 | 52.7μs | 197ns | 738ns | 0 | 0 | 0 | 42.64 KB |
#5032 | StringConcatBenchmark(parameters=Syste(...)ring] [48]) |
net472 | 37.6μs | 73ns | 273ns | 0 | 0 | 0 | 60.13 KB |
#5032 | StringConcatAspectBenchmark(parameters=Syste(...)ring] [48]) |
net6.0 | 89.6μs | 2.45μs | 24.4μs | 0 | 0 | 0 | 43.29 KB |
#5032 | StringConcatAspectBenchmark(parameters=Syste(...)ring] [48]) |
netcoreapp3.1 | 97.2μs | 3.65μs | 36.1μs | 0 | 0 | 0 | 42.64 KB |
#5032 | StringConcatAspectBenchmark(parameters=Syste(...)ring] [48]) |
net472 | 63.4μs | 347ns | 1.96μs | 0 | 0 | 0 | 57.34 KB |
Benchmarks.Trace.ILoggerBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 1.44μs | 0.494ns | 1.91ns | 0.0223 | 0 | 0 | 1.57 KB |
master | EnrichedLog |
netcoreapp3.1 | 2.33μs | 2.12ns | 7.94ns | 0.0209 | 0 | 0 | 1.57 KB |
master | EnrichedLog |
net472 | 2.52μs | 3.65ns | 14.1ns | 0.238 | 0 | 0 | 1.5 KB |
#5032 | EnrichedLog |
net6.0 | 1.46μs | 0.664ns | 2.48ns | 0.0222 | 0 | 0 | 1.57 KB |
#5032 | EnrichedLog |
netcoreapp3.1 | 2.19μs | 1.49ns | 5.37ns | 0.0209 | 0 | 0 | 1.57 KB |
#5032 | EnrichedLog |
net472 | 2.61μs | 2.57ns | 9.97ns | 0.237 | 0 | 0 | 1.5 KB |
Benchmarks.Trace.Log4netBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 112μs | 124ns | 463ns | 0 | 0 | 0 | 4.21 KB |
master | EnrichedLog |
netcoreapp3.1 | 121μs | 196ns | 757ns | 0.0602 | 0 | 0 | 4.21 KB |
master | EnrichedLog |
net472 | 150μs | 134ns | 517ns | 0.671 | 0.224 | 0 | 4.39 KB |
#5032 | EnrichedLog |
net6.0 | 115μs | 227ns | 879ns | 0 | 0 | 0 | 4.21 KB |
#5032 | EnrichedLog |
netcoreapp3.1 | 121μs | 315ns | 1.22μs | 0.0606 | 0 | 0 | 4.21 KB |
#5032 | EnrichedLog |
net472 | 148μs | 139ns | 540ns | 0.665 | 0.222 | 0 | 4.39 KB |
Benchmarks.Trace.NLogBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 3.14μs | 1.26ns | 4.88ns | 0.0294 | 0 | 0 | 2.13 KB |
master | EnrichedLog |
netcoreapp3.1 | 4.13μs | 1.92ns | 7.43ns | 0.0289 | 0 | 0 | 2.13 KB |
master | EnrichedLog |
net472 | 4.91μs | 2.43ns | 9.41ns | 0.308 | 0 | 0 | 1.95 KB |
#5032 | EnrichedLog |
net6.0 | 3.04μs | 1ns | 3.88ns | 0.0289 | 0 | 0 | 2.13 KB |
#5032 | EnrichedLog |
netcoreapp3.1 | 4.31μs | 1.92ns | 7.44ns | 0.0281 | 0 | 0 | 2.13 KB |
#5032 | EnrichedLog |
net472 | 4.89μs | 1.96ns | 7.61ns | 0.309 | 0 | 0 | 1.95 KB |
Benchmarks.Trace.RedisBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | SendReceive |
net6.0 | 1.4μs | 0.755ns | 2.92ns | 0.0154 | 0 | 0 | 1.1 KB |
master | SendReceive |
netcoreapp3.1 | 1.75μs | 0.822ns | 3.18ns | 0.0149 | 0 | 0 | 1.1 KB |
master | SendReceive |
net472 | 2.13μs | 3.25ns | 12.6ns | 0.177 | 0 | 0 | 1.12 KB |
#5032 | SendReceive |
net6.0 | 1.41μs | 0.532ns | 2.06ns | 0.0154 | 0 | 0 | 1.1 KB |
#5032 | SendReceive |
netcoreapp3.1 | 1.83μs | 0.892ns | 3.34ns | 0.0147 | 0 | 0 | 1.1 KB |
#5032 | SendReceive |
net472 | 2.15μs | 6.75ns | 26.1ns | 0.177 | 0 | 0 | 1.12 KB |
Benchmarks.Trace.SerilogBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 2.67μs | 1.12ns | 4.35ns | 0.0214 | 0 | 0 | 1.53 KB |
master | EnrichedLog |
netcoreapp3.1 | 3.81μs | 1.02ns | 3.97ns | 0.0207 | 0 | 0 | 1.58 KB |
master | EnrichedLog |
net472 | 4.29μs | 0.997ns | 3.59ns | 0.311 | 0 | 0 | 1.97 KB |
#5032 | EnrichedLog |
net6.0 | 2.77μs | 0.79ns | 2.96ns | 0.0208 | 0 | 0 | 1.53 KB |
#5032 | EnrichedLog |
netcoreapp3.1 | 4.01μs | 1.52ns | 5.88ns | 0.02 | 0 | 0 | 1.58 KB |
#5032 | EnrichedLog |
net472 | 4.43μs | 2.63ns | 10.2ns | 0.31 | 0 | 0 | 1.97 KB |
Benchmarks.Trace.SpanBenchmark - Slower ⚠️ Same allocations ✔️
Slower ⚠️ in #5032
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0
1.166
523.39
610.30
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0 | 1.166 | 523.39 | 610.30 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 456ns | 0.347ns | 1.3ns | 0.00759 | 0 | 0 | 536 B |
master | StartFinishSpan |
netcoreapp3.1 | 712ns | 0.272ns | 1.05ns | 0.0072 | 0 | 0 | 536 B |
master | StartFinishSpan |
net472 | 766ns | 0.384ns | 1.49ns | 0.0852 | 0 | 0 | 538 B |
master | StartFinishScope |
net6.0 | 524ns | 0.268ns | 1ns | 0.00918 | 0 | 0 | 656 B |
master | StartFinishScope |
netcoreapp3.1 | 852ns | 0.461ns | 1.73ns | 0.00892 | 0 | 0 | 656 B |
master | StartFinishScope |
net472 | 964ns | 1.79ns | 6.93ns | 0.0979 | 0 | 0 | 618 B |
#5032 | StartFinishSpan |
net6.0 | 453ns | 0.194ns | 0.725ns | 0.00757 | 0 | 0 | 536 B |
#5032 | StartFinishSpan |
netcoreapp3.1 | 690ns | 0.278ns | 1.04ns | 0.0072 | 0 | 0 | 536 B |
#5032 | StartFinishSpan |
net472 | 779ns | 0.498ns | 1.93ns | 0.0854 | 0 | 0 | 538 B |
#5032 | StartFinishScope |
net6.0 | 609ns | 0.895ns | 3.47ns | 0.00918 | 0 | 0 | 656 B |
#5032 | StartFinishScope |
netcoreapp3.1 | 942ns | 0.278ns | 1.07ns | 0.00881 | 0 | 0 | 656 B |
#5032 | StartFinishScope |
net472 | 1.04μs | 1.11ns | 4.31ns | 0.0978 | 0 | 0 | 618 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | RunOnMethodBegin |
net6.0 | 574ns | 0.142ns | 0.548ns | 0.0094 | 0 | 0 | 656 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 988ns | 1.92ns | 7.44ns | 0.0088 | 0 | 0 | 656 B |
master | RunOnMethodBegin |
net472 | 1.1μs | 0.99ns | 3.83ns | 0.098 | 0 | 0 | 618 B |
#5032 | RunOnMethodBegin |
net6.0 | 635ns | 0.151ns | 0.563ns | 0.00917 | 0 | 0 | 656 B |
#5032 | RunOnMethodBegin |
netcoreapp3.1 | 927ns | 0.616ns | 2.39ns | 0.00853 | 0 | 0 | 656 B |
#5032 | RunOnMethodBegin |
net472 | 1.18μs | 0.404ns | 1.56ns | 0.0981 | 0 | 0 | 618 B |
Throughput/Crank Report:zap:Throughput results for AspNetCoreSimpleController comparing the following branches/commits: Cases where throughput results for the PR are worse than latest master (5% drop or greater), results are shown in red. Note that these results are based on a single point-in-time result for each branch. For full results, see one of the many, many dashboards! gantt
title Throughput Linux x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (5032) (11.292M) : 0, 11292422
master (11.753M) : 0, 11753262
benchmarks/2.9.0 (11.691M) : 0, 11690725
section Automatic
This PR (5032) (7.552M) : crit ,0, 7551755
master (7.966M) : 0, 7965560
benchmarks/2.9.0 (8.196M) : 0, 8195550
section Trace stats
This PR (5032) (7.963M) : 0, 7963062
master (8.343M) : 0, 8343276
section Manual
This PR (5032) (9.475M) : crit ,0, 9475131
master (10.388M) : 0, 10388041
section Manual + Automatic
This PR (5032) (7.232M) : 0, 7231736
master (7.588M) : 0, 7587504
section Version Conflict
This PR (5032) (6.415M) : crit ,0, 6415050
master (6.966M) : 0, 6965765
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (5032) (9.433M) : 0, 9433080
master (9.242M) : 0, 9241504
benchmarks/2.9.0 (9.533M) : 0, 9533360
section Automatic
This PR (5032) (6.470M) : 0, 6470044
master (6.483M) : 0, 6483329
section Trace stats
This PR (5032) (6.976M) : 0, 6975775
master (6.779M) : 0, 6778543
section Manual
This PR (5032) (8.329M) : 0, 8329442
master (8.348M) : 0, 8347735
section Manual + Automatic
This PR (5032) (6.253M) : 0, 6252993
master (6.187M) : 0, 6186728
section Version Conflict
This PR (5032) (5.699M) : 0, 5699456
master (5.682M) : 0, 5681803
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (5032) (10.434M) : 0, 10434289
master (10.602M) : 0, 10601787
benchmarks/2.9.0 (10.006M) : 0, 10005933
section Automatic
This PR (5032) (7.402M) : 0, 7402308
master (7.375M) : 0, 7375201
benchmarks/2.9.0 (7.242M) : 0, 7242466
section Trace stats
This PR (5032) (7.355M) : 0, 7354772
master (7.665M) : 0, 7665372
section Manual
This PR (5032) (8.895M) : 0, 8894740
master (8.718M) : 0, 8717600
section Manual + Automatic
This PR (5032) (7.075M) : 0, 7075141
master (7.040M) : 0, 7040484
section Version Conflict
This PR (5032) (6.336M) : 0, 6336363
master (6.300M) : 0, 6299859
gantt
title Throughput Linux x64 (ASM) (Total requests)
dateFormat X
axisFormat %s
section Baseline
master (7.358M) : 0, 7358395
benchmarks/2.9.0 (7.870M) : 0, 7869823
section No attack
master (1.765M) : 0, 1764782
benchmarks/2.9.0 (3.239M) : 0, 3239486
section Attack
master (1.411M) : 0, 1411188
benchmarks/2.9.0 (2.556M) : 0, 2556231
section Blocking
master (3.099M) : 0, 3099104
section IAST default
master (6.495M) : 0, 6495419
section IAST full
master (5.855M) : 0, 5855342
section Base vuln
master (0.970M) : 0, 969506
section IAST vuln
master (0.870M) : 0, 870485
|
Summary of changes
This PR changes the scenarios were CI Visibility reports the code coverage percentage value according to the new spec.
Reason for change
The spec changed following the table: