-
Notifications
You must be signed in to change notification settings - Fork 140
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
[Profiling] Reduce available symbols #5195
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 308773 Passed, 1837 Skipped, 53m 12.91s Wall Time New Flaky Tests (1)
⌛ Performance Regressions vs Default Branch (16)
|
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 (5195) - mean (77ms) : 64, 89
. : milestone, 77,
master - mean (72ms) : 64, 80
. : milestone, 72,
section CallTarget+Inlining+NGEN
This PR (5195) - mean (990ms) : 971, 1009
. : milestone, 990,
master - mean (989ms) : 963, 1015
. : milestone, 989,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5195) - mean (110ms) : 106, 115
. : milestone, 110,
master - mean (109ms) : 107, 112
. : milestone, 109,
section CallTarget+Inlining+NGEN
This PR (5195) - mean (723ms) : 700, 745
. : milestone, 723,
master - mean (716ms) : 696, 735
. : milestone, 716,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5195) - mean (95ms) : 90, 99
. : milestone, 95,
master - mean (94ms) : 91, 97
. : milestone, 94,
section CallTarget+Inlining+NGEN
This PR (5195) - mean (678ms) : 657, 699
. : milestone, 678,
master - mean (670ms) : 650, 690
. : milestone, 670,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5195) - mean (188ms) : 183, 193
. : milestone, 188,
master - mean (187ms) : 183, 190
. : milestone, 187,
section CallTarget+Inlining+NGEN
This PR (5195) - mean (1,060ms) : 1033, 1086
. : milestone, 1060,
master - mean (1,054ms) : 1033, 1075
. : milestone, 1054,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5195) - mean (270ms) : 262, 277
. : milestone, 270,
master - mean (269ms) : 261, 276
. : milestone, 269,
section CallTarget+Inlining+NGEN
This PR (5195) - mean (1,056ms) : 1031, 1080
. : milestone, 1056,
master - mean (1,054ms) : 1028, 1080
. : milestone, 1054,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5195) - mean (260ms) : 255, 265
. : milestone, 260,
master - mean (259ms) : 254, 264
. : milestone, 259,
section CallTarget+Inlining+NGEN
This PR (5195) - mean (999ms) : 975, 1023
. : milestone, 999,
master - mean (1,001ms) : 984, 1018
. : milestone, 1001,
|
Benchmarks Report 🐌Benchmarks for #5195 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.AppSecEncoderBenchmark - 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 ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.DbCommandBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.ElasticsearchBenchmark - Slower
|
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch‑net6.0 | 1.122 | 1,204.43 | 1,351.83 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | CallElasticsearch |
net6.0 | 1.2μs | 0.534ns | 2.07ns | 0.0133 | 0 | 0 | 944 B |
master | CallElasticsearch |
netcoreapp3.1 | 1.59μs | 1.88ns | 7.3ns | 0.0128 | 0 | 0 | 944 B |
master | CallElasticsearch |
net472 | 2.5μs | 1.13ns | 4.38ns | 0.152 | 0 | 0 | 963 B |
master | CallElasticsearchAsync |
net6.0 | 1.29μs | 0.651ns | 2.52ns | 0.0129 | 0 | 0 | 920 B |
master | CallElasticsearchAsync |
netcoreapp3.1 | 1.59μs | 0.738ns | 2.76ns | 0.0134 | 0 | 0 | 992 B |
master | CallElasticsearchAsync |
net472 | 2.64μs | 3.73ns | 14.5ns | 0.161 | 0 | 0 | 1.02 KB |
#5195 | CallElasticsearch |
net6.0 | 1.35μs | 0.753ns | 2.92ns | 0.0129 | 0 | 0 | 944 B |
#5195 | CallElasticsearch |
netcoreapp3.1 | 1.54μs | 0.661ns | 2.38ns | 0.013 | 0 | 0 | 944 B |
#5195 | CallElasticsearch |
net472 | 2.35μs | 0.766ns | 2.97ns | 0.152 | 0 | 0 | 963 B |
#5195 | CallElasticsearchAsync |
net6.0 | 1.26μs | 0.82ns | 3.17ns | 0.013 | 0 | 0 | 920 B |
#5195 | CallElasticsearchAsync |
netcoreapp3.1 | 1.55μs | 0.509ns | 1.9ns | 0.0131 | 0 | 0 | 992 B |
#5195 | CallElasticsearchAsync |
net472 | 2.62μs | 0.569ns | 2.05ns | 0.162 | 0 | 0 | 1.02 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.3μs | 0.64ns | 2.39ns | 0.0131 | 0 | 0 | 920 B |
master | ExecuteAsync |
netcoreapp3.1 | 1.63μs | 0.908ns | 3.4ns | 0.0122 | 0 | 0 | 920 B |
master | ExecuteAsync |
net472 | 1.79μs | 1ns | 3.87ns | 0.14 | 0 | 0 | 883 B |
#5195 | ExecuteAsync |
net6.0 | 1.41μs | 0.554ns | 2.14ns | 0.0127 | 0 | 0 | 920 B |
#5195 | ExecuteAsync |
netcoreapp3.1 | 1.63μs | 0.675ns | 2.62ns | 0.0122 | 0 | 0 | 920 B |
#5195 | ExecuteAsync |
net472 | 1.9μs | 0.637ns | 2.38ns | 0.139 | 0 | 0 | 883 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.16μs | 0.931ns | 3.36ns | 0.0292 | 0 | 0 | 2.1 KB |
master | SendAsync |
netcoreapp3.1 | 4.96μs | 2.65ns | 9.9ns | 0.0347 | 0 | 0 | 2.64 KB |
master | SendAsync |
net472 | 7.77μs | 3.72ns | 13.9ns | 0.525 | 0 | 0 | 3.31 KB |
#5195 | SendAsync |
net6.0 | 4.16μs | 1.66ns | 6.43ns | 0.0291 | 0 | 0 | 2.1 KB |
#5195 | SendAsync |
netcoreapp3.1 | 5μs | 2.07ns | 8ns | 0.035 | 0 | 0 | 2.64 KB |
#5195 | SendAsync |
net472 | 7.76μs | 4.12ns | 16ns | 0.524 | 0 | 0 | 3.31 KB |
Benchmarks.Trace.Iast.StringAspectsBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #5195
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0
204.22 KB
215.08 KB
10.86 KB
5.32%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1
203.8 KB
213.36 KB
9.56 KB
4.69%
Fewer allocations 🎉 in #5195
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472
60.75 KB
59.22 KB
-1.53 KB
-2.52%
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0 | 204.22 KB | 215.08 KB | 10.86 KB | 5.32% |
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1 | 203.8 KB | 213.36 KB | 9.56 KB | 4.69% |
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472 | 60.75 KB | 59.22 KB | -1.53 KB | -2.52% |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StringConcatBenchmark |
net6.0 | 51.7μs | 255ns | 1.05μs | 0 | 0 | 0 | 43.44 KB |
master | StringConcatBenchmark |
netcoreapp3.1 | 52.8μs | 256ns | 1.06μs | 0 | 0 | 0 | 42.64 KB |
master | StringConcatBenchmark |
net472 | 37.1μs | 133ns | 479ns | 0 | 0 | 0 | 60.75 KB |
master | StringConcatAspectBenchmark |
net6.0 | 266μs | 1.15μs | 6.18μs | 0 | 0 | 0 | 204.22 KB |
master | StringConcatAspectBenchmark |
netcoreapp3.1 | 306μs | 1.66μs | 9.37μs | 0 | 0 | 0 | 203.8 KB |
master | StringConcatAspectBenchmark |
net472 | 234μs | 3.37μs | 32.2μs | 0 | 0 | 0 | 221.18 KB |
#5195 | StringConcatBenchmark |
net6.0 | 51.9μs | 211ns | 761ns | 0 | 0 | 0 | 43.44 KB |
#5195 | StringConcatBenchmark |
netcoreapp3.1 | 53μs | 166ns | 574ns | 0 | 0 | 0 | 42.64 KB |
#5195 | StringConcatBenchmark |
net472 | 38.1μs | 154ns | 575ns | 0 | 0 | 0 | 59.22 KB |
#5195 | StringConcatAspectBenchmark |
net6.0 | 283μs | 1.49μs | 8.79μs | 0 | 0 | 0 | 215.08 KB |
#5195 | StringConcatAspectBenchmark |
netcoreapp3.1 | 289μs | 1.55μs | 9.82μs | 0 | 0 | 0 | 213.36 KB |
#5195 | StringConcatAspectBenchmark |
net472 | 243μs | 2.91μs | 27.4μs | 0 | 0 | 0 | 221.18 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.5μs | 0.748ns | 2.9ns | 0.0219 | 0 | 0 | 1.58 KB |
master | EnrichedLog |
netcoreapp3.1 | 2.22μs | 0.888ns | 3.2ns | 0.0213 | 0 | 0 | 1.58 KB |
master | EnrichedLog |
net472 | 2.7μs | 7.69ns | 29.8ns | 0.239 | 0 | 0 | 1.51 KB |
#5195 | EnrichedLog |
net6.0 | 1.51μs | 0.856ns | 3.2ns | 0.0221 | 0 | 0 | 1.58 KB |
#5195 | EnrichedLog |
netcoreapp3.1 | 2.21μs | 1.27ns | 4.76ns | 0.0211 | 0 | 0 | 1.58 KB |
#5195 | EnrichedLog |
net472 | 2.61μs | 0.59ns | 2.04ns | 0.239 | 0 | 0 | 1.51 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 | 113μs | 194ns | 753ns | 0.0562 | 0 | 0 | 4.22 KB |
master | EnrichedLog |
netcoreapp3.1 | 118μs | 104ns | 388ns | 0 | 0 | 0 | 4.22 KB |
master | EnrichedLog |
net472 | 149μs | 127ns | 477ns | 0.67 | 0.223 | 0 | 4.4 KB |
#5195 | EnrichedLog |
net6.0 | 115μs | 158ns | 611ns | 0 | 0 | 0 | 4.22 KB |
#5195 | EnrichedLog |
netcoreapp3.1 | 119μs | 137ns | 530ns | 0.0588 | 0 | 0 | 4.22 KB |
#5195 | EnrichedLog |
net472 | 147μs | 98.6ns | 355ns | 0.66 | 0.22 | 0 | 4.4 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 | 2.91μs | 0.868ns | 3.36ns | 0.0292 | 0 | 0 | 2.14 KB |
master | EnrichedLog |
netcoreapp3.1 | 4.15μs | 1.27ns | 4.59ns | 0.0289 | 0 | 0 | 2.14 KB |
master | EnrichedLog |
net472 | 4.86μs | 1.91ns | 7.41ns | 0.309 | 0 | 0 | 1.95 KB |
#5195 | EnrichedLog |
net6.0 | 2.99μs | 0.936ns | 3.5ns | 0.0301 | 0 | 0 | 2.14 KB |
#5195 | EnrichedLog |
netcoreapp3.1 | 4.25μs | 1.62ns | 6.28ns | 0.0278 | 0 | 0 | 2.14 KB |
#5195 | EnrichedLog |
net472 | 4.76μs | 1.41ns | 5.28ns | 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.38μs | 0.851ns | 3.29ns | 0.0159 | 0 | 0 | 1.11 KB |
master | SendReceive |
netcoreapp3.1 | 1.73μs | 0.931ns | 3.36ns | 0.0155 | 0 | 0 | 1.11 KB |
master | SendReceive |
net472 | 2.2μs | 2.98ns | 11.5ns | 0.178 | 0 | 0 | 1.12 KB |
#5195 | SendReceive |
net6.0 | 1.37μs | 0.43ns | 1.66ns | 0.0158 | 0 | 0 | 1.11 KB |
#5195 | SendReceive |
netcoreapp3.1 | 1.76μs | 1.22ns | 4.71ns | 0.0149 | 0 | 0 | 1.11 KB |
#5195 | SendReceive |
net472 | 2.06μs | 2.82ns | 10.6ns | 0.178 | 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.66μs | 1.01ns | 3.78ns | 0.0214 | 0 | 0 | 1.54 KB |
master | EnrichedLog |
netcoreapp3.1 | 3.97μs | 1.8ns | 6.97ns | 0.0219 | 0 | 0 | 1.58 KB |
master | EnrichedLog |
net472 | 4.33μs | 1.3ns | 4.86ns | 0.312 | 0 | 0 | 1.97 KB |
#5195 | EnrichedLog |
net6.0 | 2.7μs | 5.04ns | 19.5ns | 0.0215 | 0 | 0 | 1.54 KB |
#5195 | EnrichedLog |
netcoreapp3.1 | 3.81μs | 2.28ns | 8.85ns | 0.021 | 0 | 0 | 1.58 KB |
#5195 | EnrichedLog |
net472 | 4.52μs | 2.9ns | 11.2ns | 0.313 | 0 | 0 | 1.97 KB |
Benchmarks.Trace.SpanBenchmark - Slower ⚠️ Same allocations ✔️
Slower ⚠️ in #5195
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0
1.118
550.20
615.22
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0 | 1.118 | 550.20 | 615.22 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 482ns | 0.194ns | 0.75ns | 0.00749 | 0 | 0 | 544 B |
master | StartFinishSpan |
netcoreapp3.1 | 678ns | 0.296ns | 1.11ns | 0.00757 | 0 | 0 | 544 B |
master | StartFinishSpan |
net472 | 758ns | 0.453ns | 1.76ns | 0.0863 | 0.000377 | 0 | 546 B |
master | StartFinishScope |
net6.0 | 550ns | 0.258ns | 0.998ns | 0.00938 | 0 | 0 | 664 B |
master | StartFinishScope |
netcoreapp3.1 | 860ns | 0.213ns | 0.767ns | 0.00861 | 0 | 0 | 664 B |
master | StartFinishScope |
net472 | 967ns | 0.7ns | 2.71ns | 0.0991 | 0 | 0 | 626 B |
#5195 | StartFinishSpan |
net6.0 | 473ns | 0.116ns | 0.451ns | 0.00768 | 0 | 0 | 544 B |
#5195 | StartFinishSpan |
netcoreapp3.1 | 734ns | 0.587ns | 2.27ns | 0.00736 | 0 | 0 | 544 B |
#5195 | StartFinishSpan |
net472 | 783ns | 0.376ns | 1.46ns | 0.0866 | 0 | 0 | 546 B |
#5195 | StartFinishScope |
net6.0 | 615ns | 0.151ns | 0.565ns | 0.00922 | 0 | 0 | 664 B |
#5195 | StartFinishScope |
netcoreapp3.1 | 863ns | 0.397ns | 1.54ns | 0.00863 | 0 | 0 | 664 B |
#5195 | StartFinishScope |
net472 | 918ns | 0.799ns | 3.09ns | 0.0994 | 0 | 0 | 626 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #5195
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0
1.166
767.77
658.22
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0 | 1.166 | 767.77 | 658.22 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | RunOnMethodBegin |
net6.0 | 768ns | 0.599ns | 2.32ns | 0.00908 | 0 | 0 | 664 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 863ns | 0.454ns | 1.7ns | 0.00901 | 0 | 0 | 664 B |
master | RunOnMethodBegin |
net472 | 1.06μs | 0.396ns | 1.53ns | 0.0993 | 0 | 0 | 626 B |
#5195 | RunOnMethodBegin |
net6.0 | 658ns | 0.185ns | 0.666ns | 0.0093 | 0 | 0 | 664 B |
#5195 | RunOnMethodBegin |
netcoreapp3.1 | 916ns | 0.379ns | 1.47ns | 0.00903 | 0 | 0 | 664 B |
#5195 | RunOnMethodBegin |
net472 | 1.08μs | 0.312ns | 1.17ns | 0.099 | 0 | 0 | 626 B |
Add a linker script to define what symbols should be published
fe51cf1
to
5c4a1d6
Compare
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
I downloaded the symbols and check that only the ones needed are public/visible
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 (5195) (11.124M) : 0, 11124481
master (11.223M) : 0, 11223343
benchmarks/2.9.0 (11.163M) : 0, 11162756
section Automatic
This PR (5195) (7.561M) : 0, 7560906
master (7.777M) : 0, 7776526
benchmarks/2.9.0 (8.268M) : 0, 8267853
section Trace stats
This PR (5195) (7.957M) : 0, 7957368
master (8.078M) : 0, 8077726
section Manual
This PR (5195) (9.599M) : 0, 9598952
master (9.889M) : 0, 9888940
section Manual + Automatic
This PR (5195) (7.233M) : 0, 7232811
master (7.321M) : 0, 7320701
section Version Conflict
This PR (5195) (6.398M) : 0, 6397681
master (6.588M) : 0, 6588359
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (5195) (9.425M) : 0, 9424780
master (9.460M) : 0, 9460218
benchmarks/2.9.0 (9.367M) : 0, 9367466
section Automatic
This PR (5195) (6.588M) : 0, 6588037
master (6.488M) : 0, 6487564
section Trace stats
This PR (5195) (6.907M) : 0, 6906584
master (6.834M) : 0, 6834048
section Manual
This PR (5195) (8.236M) : 0, 8236306
master (8.249M) : 0, 8249249
section Manual + Automatic
This PR (5195) (6.204M) : 0, 6204275
master (5.992M) : 0, 5991797
section Version Conflict
This PR (5195) (5.627M) : 0, 5626736
master (5.872M) : 0, 5871504
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (5195) (10.125M) : 0, 10124747
master (10.256M) : 0, 10255541
benchmarks/2.9.0 (10.212M) : 0, 10211874
section Automatic
This PR (5195) (7.216M) : 0, 7216131
master (7.266M) : 0, 7266279
benchmarks/2.9.0 (7.605M) : 0, 7605074
section Trace stats
This PR (5195) (7.479M) : 0, 7479271
master (7.489M) : 0, 7488740
section Manual
This PR (5195) (9.112M) : 0, 9111942
master (8.797M) : 0, 8797181
section Manual + Automatic
This PR (5195) (6.964M) : 0, 6964387
master (6.886M) : 0, 6886353
section Version Conflict
This PR (5195) (6.272M) : 0, 6271555
master (6.255M) : 0, 6255134
gantt
title Throughput Linux x64 (ASM) (Total requests)
dateFormat X
axisFormat %s
section Baseline
master (7.526M) : 0, 7525997
benchmarks/2.9.0 (7.838M) : 0, 7838185
section No attack
master (1.837M) : 0, 1836995
benchmarks/2.9.0 (3.252M) : 0, 3252197
section Attack
master (1.447M) : 0, 1446596
benchmarks/2.9.0 (2.508M) : 0, 2508032
section Blocking
master (3.154M) : 0, 3153550
section IAST default
master (6.403M) : 0, 6402880
section IAST full
master (5.677M) : 0, 5676700
section Base vuln
master (0.931M) : 0, 930765
section IAST vuln
master (0.875M) : 0, 875472
|
Summary of changes
Add a linker script to define what symbols should be published
Reason for change
Avoid exposing rust internal symbols as it can cause issues, as mentioned here:
rust-lang/rust#100774
Implementation details
Adding a linker script
Test coverage
Other details