-
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
Update GitLab code-sign step #4374
Conversation
Datadog ReportBranch report: ✅ |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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.
Haven't looked much at the files copied from the other PR though
@@ -0,0 +1,19 @@ | |||
# python development requirements for the Datadog Agent |
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.
rather than copy/pasting the whole requirements file, this file can just be a redirect to the datadog-agent-buildimages
requirements file so it's always up-to-date.
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.
That's good in theory, but we don't currently automatically rebuild this image anyway, so it won't automatically be up to date, and it means our pipeline would break if the file moved (for example), so it might be best to just add a link to the file here and copy-past the datadog-agent-buildimages
one in for now 🤔
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 (4374) - mean (3,009ms) : 2893, 3124
. : milestone, 3009,
master - mean (3,038ms) : 2916, 3161
. : milestone, 3038,
section CallTarget+Inlining+NGEN
This PR (4374) - mean (3,838ms) : 3770, 3905
. : milestone, 3838,
master - mean (3,842ms) : 3754, 3929
. : milestone, 3842,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (4374) - mean (3,150ms) : 3043, 3257
. : milestone, 3150,
master - mean (3,123ms) : 3019, 3227
. : milestone, 3123,
section CallTarget+Inlining+NGEN
This PR (4374) - mean (3,667ms) : 3556, 3778
. : milestone, 3667,
master - mean (3,636ms) : 3545, 3727
. : milestone, 3636,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (4374) - mean (3,112ms) : 3002, 3222
. : milestone, 3112,
master - mean (3,156ms) : 3030, 3282
. : milestone, 3156,
section CallTarget+Inlining+NGEN
This PR (4374) - mean (3,621ms) : 3537, 3706
. : milestone, 3621,
master - mean (3,610ms) : 3525, 3694
. : milestone, 3610,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (4374) - mean (190ms) : 184, 195
. : milestone, 190,
master - mean (190ms) : 185, 194
. : milestone, 190,
section CallTarget+Inlining+NGEN
This PR (4374) - mean (1,102ms) : 1074, 1130
. : milestone, 1102,
master - mean (1,112ms) : 1078, 1146
. : milestone, 1112,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (4374) - mean (369ms) : 364, 374
. : milestone, 369,
master - mean (371ms) : 368, 374
. : milestone, 371,
section CallTarget+Inlining+NGEN
This PR (4374) - mean (1,161ms) : 1128, 1194
. : milestone, 1161,
master - mean (1,169ms) : 1143, 1194
. : milestone, 1169,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (4374) - mean (358ms) : 351, 365
. : milestone, 358,
master - mean (359ms) : 354, 364
. : milestone, 359,
section CallTarget+Inlining+NGEN
This PR (4374) - mean (1,118ms) : 1077, 1159
. : milestone, 1118,
master - mean (1,127ms) : 1093, 1161
. : milestone, 1127,
|
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 (4374) (10.994M) : 0, 10993789
master (10.989M) : 0, 10989018
benchmarks/2.33.0 (10.950M) : 0, 10950076
benchmarks/2.9.0 (10.924M) : 0, 10924440
section Automatic
This PR (4374) (7.659M) : 0, 7658546
master (7.590M) : 0, 7590488
benchmarks/2.33.0 (7.644M) : 0, 7643676
benchmarks/2.9.0 (7.859M) : 0, 7859484
section Trace stats
master (7.616M) : 0, 7616116
benchmarks/2.33.0 (7.672M) : 0, 7672295
section Manual
This PR (4374) (9.714M) : 0, 9713849
master (9.748M) : 0, 9748144
benchmarks/2.33.0 (9.850M) : 0, 9849660
section Manual + Automatic
This PR (4374) (7.300M) : 0, 7300180
master (7.374M) : 0, 7373756
benchmarks/2.33.0 (7.322M) : 0, 7322232
section Version Conflict
master (6.575M) : 0, 6574795
benchmarks/2.33.0 (6.640M) : 0, 6640338
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (4374) (9.688M) : 0, 9687839
master (9.734M) : 0, 9733675
benchmarks/2.33.0 (9.710M) : 0, 9710226
benchmarks/2.9.0 (9.537M) : 0, 9537090
section Automatic
This PR (4374) (6.760M) : 0, 6760111
master (6.780M) : 0, 6779888
benchmarks/2.33.0 (6.622M) : 0, 6621713
section Trace stats
master (6.715M) : 0, 6715309
benchmarks/2.33.0 (6.688M) : 0, 6688294
section Manual
This PR (4374) (8.494M) : 0, 8494333
master (8.593M) : 0, 8593398
benchmarks/2.33.0 (8.494M) : 0, 8493703
section Manual + Automatic
This PR (4374) (6.459M) : 0, 6459362
master (6.523M) : 0, 6523431
benchmarks/2.33.0 (6.469M) : 0, 6469076
section Version Conflict
master (5.841M) : 0, 5840729
benchmarks/2.33.0 (5.707M) : 0, 5706556
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (4374) (10.306M) : 0, 10305679
master (10.107M) : 0, 10107371
benchmarks/2.33.0 (10.328M) : 0, 10327902
benchmarks/2.9.0 (10.718M) : 0, 10718317
section Automatic
This PR (4374) (7.473M) : 0, 7473090
master (7.305M) : 0, 7304782
benchmarks/2.33.0 (7.597M) : 0, 7597442
benchmarks/2.9.0 (7.506M) : 0, 7506283
section Trace stats
master (7.387M) : 0, 7387256
benchmarks/2.33.0 (7.363M) : 0, 7363191
section Manual
This PR (4374) (9.326M) : 0, 9325696
master (8.912M) : 0, 8912349
benchmarks/2.33.0 (9.091M) : 0, 9091133
section Manual + Automatic
This PR (4374) (7.370M) : 0, 7370088
master (7.169M) : 0, 7169189
benchmarks/2.33.0 (7.098M) : 0, 7097641
section Version Conflict
master (6.583M) : 0, 6582848
benchmarks/2.33.0 (6.518M) : 0, 6518470
gantt
title Throughput Linux x64 (ASM) (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (4374) (7.749M) : 0, 7749400
master (7.683M) : 0, 7683054
benchmarks/2.33.0 (7.693M) : 0, 7692552
benchmarks/2.9.0 (8.043M) : 0, 8043419
section No attack
This PR (4374) (2.246M) : 0, 2245819
master (2.212M) : 0, 2211903
benchmarks/2.33.0 (2.230M) : 0, 2229957
benchmarks/2.9.0 (3.342M) : 0, 3342435
section Attack
This PR (4374) (1.922M) : 0, 1922381
master (1.891M) : 0, 1890584
benchmarks/2.33.0 (1.882M) : 0, 1882387
benchmarks/2.9.0 (2.652M) : 0, 2651797
section Blocking
This PR (4374) (3.861M) : 0, 3860970
master (3.770M) : 0, 3769590
benchmarks/2.33.0 (3.837M) : 0, 3836643
|
Benchmarks Report 🐌Benchmarks for #4374 compared to master:
The following thresholds were used for comparing the benchmark speeds:
Allocation changes below 0.5% are ignored. Benchmark detailsBenchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AppSecBodyBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AspNetCoreBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed ✔️ Fewer allocations 🎉
|
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0 | 41.97 KB | 41.51 KB | -455 B | -1.08% |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | WriteAndFlushEnrichedTraces |
net6.0 | 513μs | 742ns | 2.87μs | 0.519 | 0 | 0 | 41.97 KB |
master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 621μs | 237ns | 822ns | 0.321 | 0 | 0 | 41.78 KB |
master | WriteAndFlushEnrichedTraces |
net472 | 789μs | 3.79μs | 16.5μs | 8.44 | 2.68 | 0.383 | 53.24 KB |
#4374 | WriteAndFlushEnrichedTraces |
net6.0 | 495μs | 694ns | 2.69μs | 0.512 | 0 | 0 | 41.51 KB |
#4374 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 645μs | 1.07μs | 4.13μs | 0.311 | 0 | 0 | 41.6 KB |
#4374 | WriteAndFlushEnrichedTraces |
net472 | 789μs | 3.69μs | 14.3μs | 8.38 | 2.67 | 0.381 | 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 | 802ns | 0.247ns | 0.925ns | 0.00988 | 0 | 0 | 720 B |
master | ExecuteNonQuery |
netcoreapp3.1 | 1.13μs | 1.04ns | 4.03ns | 0.00977 | 0 | 0 | 720 B |
master | ExecuteNonQuery |
net472 | 1.4μs | 0.396ns | 1.48ns | 0.108 | 0.000701 | 0 | 682 B |
#4374 | ExecuteNonQuery |
net6.0 | 827ns | 0.2ns | 0.72ns | 0.00994 | 0 | 0 | 720 B |
#4374 | ExecuteNonQuery |
netcoreapp3.1 | 1.13μs | 0.461ns | 1.79ns | 0.00956 | 0 | 0 | 720 B |
#4374 | ExecuteNonQuery |
net472 | 1.4μs | 0.356ns | 1.38ns | 0.108 | 0 | 0 | 682 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 | 994ns | 0.279ns | 1.08ns | 0.0135 | 0 | 0 | 944 B |
master | CallElasticsearch |
netcoreapp3.1 | 1.29μs | 0.428ns | 1.6ns | 0.0128 | 0 | 0 | 944 B |
master | CallElasticsearch |
net472 | 1.93μs | 0.554ns | 2.14ns | 0.152 | 0.000972 | 0 | 955 B |
master | CallElasticsearchAsync |
net6.0 | 1.08μs | 0.248ns | 0.929ns | 0.0129 | 0 | 0 | 920 B |
master | CallElasticsearchAsync |
netcoreapp3.1 | 1.29μs | 0.502ns | 1.88ns | 0.0136 | 0 | 0 | 992 B |
master | CallElasticsearchAsync |
net472 | 2.08μs | 0.609ns | 2.36ns | 0.16 | 0.00104 | 0 | 1.01 KB |
#4374 | CallElasticsearch |
net6.0 | 916ns | 0.251ns | 0.94ns | 0.0135 | 0 | 0 | 944 B |
#4374 | CallElasticsearch |
netcoreapp3.1 | 1.17μs | 2.59ns | 10ns | 0.0129 | 0 | 0 | 944 B |
#4374 | CallElasticsearch |
net472 | 2.09μs | 0.365ns | 1.37ns | 0.151 | 0.00104 | 0 | 955 B |
#4374 | CallElasticsearchAsync |
net6.0 | 1.06μs | 0.356ns | 1.28ns | 0.0127 | 0 | 0 | 920 B |
#4374 | CallElasticsearchAsync |
netcoreapp3.1 | 1.35μs | 0.651ns | 2.35ns | 0.013 | 0 | 0 | 992 B |
#4374 | CallElasticsearchAsync |
net472 | 2.18μs | 0.601ns | 2.17ns | 0.16 | 0.00109 | 0 | 1.01 KB |
Benchmarks.Trace.GraphQLBenchmark - Slower ⚠️ Same allocations ✔️
Slower ⚠️ in #4374
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync‑net6.0
1.121
1,068.16
1,197.12
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync‑net6.0 | 1.121 | 1,068.16 | 1,197.12 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | ExecuteAsync |
net6.0 | 1.07μs | 0.496ns | 1.92ns | 0.013 | 0 | 0 | 912 B |
master | ExecuteAsync |
netcoreapp3.1 | 1.44μs | 0.533ns | 2ns | 0.0121 | 0 | 0 | 912 B |
master | ExecuteAsync |
net472 | 1.52μs | 2.1ns | 7.86ns | 0.138 | 0.000752 | 0 | 875 B |
#4374 | ExecuteAsync |
net6.0 | 1.2μs | 0.568ns | 2.2ns | 0.0126 | 0 | 0 | 912 B |
#4374 | ExecuteAsync |
netcoreapp3.1 | 1.4μs | 0.673ns | 2.33ns | 0.012 | 0 | 0 | 912 B |
#4374 | ExecuteAsync |
net472 | 1.57μs | 0.438ns | 1.64ns | 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 | 3.54μs | 1.18ns | 4.41ns | 0.0264 | 0 | 0 | 1.9 KB |
master | SendAsync |
netcoreapp3.1 | 4.3μs | 1.8ns | 6.75ns | 0.032 | 0 | 0 | 2.43 KB |
master | SendAsync |
net472 | 6.89μs | 1.4ns | 5.24ns | 0.475 | 0 | 0 | 3 KB |
#4374 | SendAsync |
net6.0 | 3.52μs | 1.26ns | 4.72ns | 0.0262 | 0 | 0 | 1.9 KB |
#4374 | SendAsync |
netcoreapp3.1 | 4.3μs | 1.39ns | 5.4ns | 0.0323 | 0 | 0 | 2.43 KB |
#4374 | SendAsync |
net472 | 6.87μs | 1.83ns | 7.08ns | 0.476 | 0 | 0 | 3 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.3μs | 0.477ns | 1.78ns | 0.0231 | 0 | 0 | 1.62 KB |
master | EnrichedLog |
netcoreapp3.1 | 1.89μs | 2.24ns | 8.39ns | 0.0216 | 0 | 0 | 1.62 KB |
master | EnrichedLog |
net472 | 2.28μs | 0.994ns | 3.44ns | 0.244 | 0 | 0 | 1.54 KB |
#4374 | EnrichedLog |
net6.0 | 1.35μs | 0.726ns | 2.71ns | 0.023 | 0 | 0 | 1.62 KB |
#4374 | EnrichedLog |
netcoreapp3.1 | 1.92μs | 0.801ns | 3.1ns | 0.0222 | 0 | 0 | 1.62 KB |
#4374 | EnrichedLog |
net472 | 2.23μs | 1.78ns | 6.65ns | 0.245 | 0 | 0 | 1.54 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 | 110μs | 200ns | 773ns | 0 | 0 | 0 | 4.21 KB |
master | EnrichedLog |
netcoreapp3.1 | 116μs | 194ns | 724ns | 0 | 0 | 0 | 4.21 KB |
master | EnrichedLog |
net472 | 150μs | 94.4ns | 340ns | 0.672 | 0.224 | 0 | 4.38 KB |
#4374 | EnrichedLog |
net6.0 | 114μs | 117ns | 423ns | 0 | 0 | 0 | 4.21 KB |
#4374 | EnrichedLog |
netcoreapp3.1 | 119μs | 190ns | 737ns | 0 | 0 | 0 | 4.21 KB |
#4374 | EnrichedLog |
net472 | 148μs | 176ns | 683ns | 0.665 | 0.222 | 0 | 4.38 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.87μs | 0.635ns | 2.46ns | 0.0305 | 0 | 0 | 2.18 KB |
master | EnrichedLog |
netcoreapp3.1 | 3.72μs | 1.11ns | 3.99ns | 0.0298 | 0 | 0 | 2.18 KB |
master | EnrichedLog |
net472 | 4.7μs | 1.1ns | 4.26ns | 0.314 | 0 | 0 | 1.99 KB |
#4374 | EnrichedLog |
net6.0 | 2.93μs | 0.833ns | 3.12ns | 0.0307 | 0 | 0 | 2.18 KB |
#4374 | EnrichedLog |
netcoreapp3.1 | 3.99μs | 1.37ns | 5.29ns | 0.0299 | 0 | 0 | 2.18 KB |
#4374 | EnrichedLog |
net472 | 4.64μs | 2.01ns | 7.79ns | 0.314 | 0 | 0 | 1.99 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.13μs | 0.509ns | 1.97ns | 0.0157 | 0 | 0 | 1.11 KB |
master | SendReceive |
netcoreapp3.1 | 1.44μs | 0.303ns | 1.13ns | 0.0149 | 0 | 0 | 1.11 KB |
master | SendReceive |
net472 | 1.73μs | 0.877ns | 3.04ns | 0.177 | 0 | 0 | 1.12 KB |
#4374 | SendReceive |
net6.0 | 1.08μs | 0.415ns | 1.5ns | 0.0157 | 0 | 0 | 1.11 KB |
#4374 | SendReceive |
netcoreapp3.1 | 1.41μs | 0.843ns | 3.04ns | 0.0154 | 0 | 0 | 1.11 KB |
#4374 | SendReceive |
net472 | 1.82μs | 1.11ns | 3.85ns | 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.58μs | 0.526ns | 1.97ns | 0.0206 | 0 | 0 | 1.53 KB |
master | EnrichedLog |
netcoreapp3.1 | 3.77μs | 1.21ns | 4.69ns | 0.0205 | 0 | 0 | 1.58 KB |
master | EnrichedLog |
net472 | 4.11μs | 2.42ns | 9.38ns | 0.31 | 0 | 0 | 1.96 KB |
#4374 | EnrichedLog |
net6.0 | 2.6μs | 0.642ns | 2.31ns | 0.0208 | 0 | 0 | 1.53 KB |
#4374 | EnrichedLog |
netcoreapp3.1 | 3.44μs | 2.68ns | 10ns | 0.0207 | 0 | 0 | 1.58 KB |
#4374 | EnrichedLog |
net472 | 4.09μs | 4.88ns | 18.9ns | 0.311 | 0 | 0 | 1.96 KB |
Benchmarks.Trace.SpanBenchmark - Slower ⚠️ Same allocations ✔️
Slower ⚠️ in #4374
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net6.0
1.133
412.11
467.04
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net6.0 | 1.133 | 412.11 | 467.04 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 412ns | 0.214ns | 0.803ns | 0.00743 | 0 | 0 | 536 B |
master | StartFinishSpan |
netcoreapp3.1 | 568ns | 0.264ns | 0.986ns | 0.00711 | 0 | 0 | 536 B |
master | StartFinishSpan |
net472 | 662ns | 0.201ns | 0.777ns | 0.0853 | 0 | 0 | 538 B |
master | StartFinishScope |
net6.0 | 521ns | 0.166ns | 0.621ns | 0.00928 | 0 | 0 | 656 B |
master | StartFinishScope |
netcoreapp3.1 | 695ns | 0.29ns | 1.12ns | 0.00898 | 0 | 0 | 656 B |
master | StartFinishScope |
net472 | 853ns | 0.424ns | 1.64ns | 0.0981 | 0 | 0 | 618 B |
#4374 | StartFinishSpan |
net6.0 | 467ns | 0.0884ns | 0.331ns | 0.0074 | 0 | 0 | 536 B |
#4374 | StartFinishSpan |
netcoreapp3.1 | 545ns | 0.138ns | 0.477ns | 0.00743 | 0 | 0 | 536 B |
#4374 | StartFinishSpan |
net472 | 632ns | 0.198ns | 0.767ns | 0.0852 | 0 | 0 | 538 B |
#4374 | StartFinishScope |
net6.0 | 508ns | 0.147ns | 0.57ns | 0.00917 | 0 | 0 | 656 B |
#4374 | StartFinishScope |
netcoreapp3.1 | 747ns | 0.311ns | 1.2ns | 0.00865 | 0 | 0 | 656 B |
#4374 | StartFinishScope |
net472 | 786ns | 0.358ns | 1.39ns | 0.0979 | 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 | 634ns | 0.14ns | 0.524ns | 0.00925 | 0 | 0 | 656 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 843ns | 0.378ns | 1.36ns | 0.0093 | 0 | 0 | 656 B |
master | RunOnMethodBegin |
net472 | 953ns | 0.245ns | 0.949ns | 0.0978 | 0 | 0 | 618 B |
#4374 | RunOnMethodBegin |
net6.0 | 602ns | 0.195ns | 0.729ns | 0.00923 | 0 | 0 | 656 B |
#4374 | RunOnMethodBegin |
netcoreapp3.1 | 774ns | 0.164ns | 0.613ns | 0.009 | 0 | 0 | 656 B |
#4374 | RunOnMethodBegin |
net472 | 980ns | 0.163ns | 0.611ns | 0.0981 | 0 | 0 | 618 B |
* Add initial files * Fix errors in files * Update gitlab dockerfile * Update the Gitlab build to sign the MSIs/dlls * Sign the waf too! * Remove Jarsign reference
Summary of changes
Reason for change
A new approach to code-signing is rolling out, so we need to update to that one.
Implementation details
Took the same steps as in this PR. The installer files are taken from that PR (and tweaked for java/python scripts, as they didn't work initially), which similarly uses the standard installer files the agent image uses.
Summary of changes:
Nuke
method to use the winsign toolBuilt locally and pushed the image using
Test coverage
Ran a test build, and it look like the signature is good to me 🎉
Also, downloaded the artifacts, and confirmed the MSIs, the dlls in the nuget, and the dlls in the zip files are signed as expected except
ddwaf.dll
, which it looks like we have never been signing 😬 So fixed that in this PR too 👍Other details
Renamed
SignMsiAndNupkg
toSignMsi
since that's all we actually do. I only hadn't done it before because I didn't want to rebuild the docker image 😅