-
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
Consolidate all integration test targets into a single target #6501
base: andrew/ci/build-samples-separately
Are you sure you want to change the base?
Consolidate all integration test targets into a single target #6501
Conversation
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 (6501) - mean (69ms) : 66, 71
. : milestone, 69,
master - mean (69ms) : 66, 72
. : milestone, 69,
section CallTarget+Inlining+NGEN
This PR (6501) - mean (979ms) : 956, 1002
. : milestone, 979,
master - mean (980ms) : 955, 1005
. : milestone, 980,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6501) - mean (108ms) : 106, 110
. : milestone, 108,
master - mean (107ms) : 106, 109
. : milestone, 107,
section CallTarget+Inlining+NGEN
This PR (6501) - mean (680ms) : 668, 691
. : milestone, 680,
master - mean (678ms) : 662, 693
. : milestone, 678,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6501) - mean (92ms) : 90, 94
. : milestone, 92,
master - mean (91ms) : 89, 93
. : milestone, 91,
section CallTarget+Inlining+NGEN
This PR (6501) - mean (633ms) : 612, 655
. : milestone, 633,
master - mean (639ms) : 624, 655
. : milestone, 639,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6501) - mean (195ms) : 190, 199
. : milestone, 195,
master - mean (195ms) : 190, 200
. : milestone, 195,
section CallTarget+Inlining+NGEN
This PR (6501) - mean (1,100ms) : 1066, 1134
. : milestone, 1100,
master - mean (1,107ms) : 1079, 1136
. : milestone, 1107,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6501) - mean (278ms) : 275, 282
. : milestone, 278,
master - mean (281ms) : 276, 286
. : milestone, 281,
section CallTarget+Inlining+NGEN
This PR (6501) - mean (871ms) : 844, 898
. : milestone, 871,
master - mean (878ms) : 850, 906
. : milestone, 878,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6501) - mean (267ms) : 262, 272
. : milestone, 267,
master - mean (269ms) : 265, 273
. : milestone, 269,
section CallTarget+Inlining+NGEN
This PR (6501) - mean (847ms) : 814, 881
. : milestone, 847,
master - mean (855ms) : 820, 891
. : milestone, 855,
|
Datadog ReportBranch report: ❌ 1 Failed (0 Known Flaky), 249628 Passed, 2132 Skipped, 19h 42m 2.68s Total Time ❌ Failed Tests (1)
|
Benchmarks Report for appsec 🐌Benchmarks for #6501 compared to master:
The following thresholds were used for comparing the benchmark speeds:
Allocation changes below 0.5% are ignored. Benchmark detailsBenchmarks.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.Iast.StringAspectsBenchmark - Faster 🎉 More allocations
|
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1 | 1.784 | 617,500.00 | 346,050.00 |
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472 | 59.23 KB | 61.77 KB | 2.54 KB | 4.28% |
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0 | 267.8 KB | 254.17 KB | -13.63 KB | -5.09% |
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1 | 316.45 KB | 263.61 KB | -52.84 KB | -16.70% |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StringConcatBenchmark |
net6.0 | 60.6μs | 763ns | 7.63μs | 0 | 0 | 0 | 43.44 KB |
master | StringConcatBenchmark |
netcoreapp3.1 | 60.5μs | 666ns | 6.49μs | 0 | 0 | 0 | 42.64 KB |
master | StringConcatBenchmark |
net472 | 38.2μs | 99ns | 370ns | 0 | 0 | 0 | 59.23 KB |
master | StringConcatAspectBenchmark |
net6.0 | 320μs | 5.58μs | 53μs | 0 | 0 | 0 | 267.8 KB |
master | StringConcatAspectBenchmark |
netcoreapp3.1 | 624μs | 3.44μs | 21.5μs | 0 | 0 | 0 | 316.45 KB |
master | StringConcatAspectBenchmark |
net472 | 285μs | 6.29μs | 62.3μs | 0 | 0 | 0 | 278.53 KB |
#6501 | StringConcatBenchmark |
net6.0 | 60μs | 749ns | 7.49μs | 0 | 0 | 0 | 43.44 KB |
#6501 | StringConcatBenchmark |
netcoreapp3.1 | 55.1μs | 310ns | 2.01μs | 0 | 0 | 0 | 42.64 KB |
#6501 | StringConcatBenchmark |
net472 | 37μs | 181ns | 723ns | 0 | 0 | 0 | 61.77 KB |
#6501 | StringConcatAspectBenchmark |
net6.0 | 321μs | 1.73μs | 11.2μs | 0 | 0 | 0 | 254.17 KB |
#6501 | StringConcatAspectBenchmark |
netcoreapp3.1 | 349μs | 1.91μs | 10.8μs | 0 | 0 | 0 | 263.61 KB |
#6501 | StringConcatAspectBenchmark |
net472 | 284μs | 5.73μs | 55.6μs | 0 | 0 | 0 | 278.53 KB |
Benchmarks Report for tracer 🐌Benchmarks for #6501 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.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 - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.GraphQLBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.ILoggerBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.Log4netBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.NLogBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.RedisBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.SerilogBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.SpanBenchmark - Faster 🎉 Same allocations ✔️
|
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net472 | 1.120 | 923.65 | 824.38 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 439ns | 0.349ns | 1.35ns | 0.00804 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 578ns | 0.623ns | 2.41ns | 0.00773 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 630ns | 0.361ns | 1.4ns | 0.0915 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 484ns | 0.338ns | 1.31ns | 0.00972 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 714ns | 0.311ns | 1.16ns | 0.00928 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 924ns | 1.24ns | 4.81ns | 0.105 | 0 | 0 | 658 B |
#6501 | StartFinishSpan |
net6.0 | 420ns | 0.345ns | 1.34ns | 0.00804 | 0 | 0 | 576 B |
#6501 | StartFinishSpan |
netcoreapp3.1 | 551ns | 0.454ns | 1.7ns | 0.00801 | 0 | 0 | 576 B |
#6501 | StartFinishSpan |
net472 | 656ns | 0.781ns | 3.02ns | 0.0915 | 0 | 0 | 578 B |
#6501 | StartFinishScope |
net6.0 | 514ns | 1.44ns | 5.56ns | 0.00973 | 0 | 0 | 696 B |
#6501 | StartFinishScope |
netcoreapp3.1 | 734ns | 0.444ns | 1.72ns | 0.00962 | 0 | 0 | 696 B |
#6501 | StartFinishScope |
net472 | 824ns | 0.899ns | 3.48ns | 0.104 | 0 | 0 | 658 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #6501
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0
1.205
725.24
602.03
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0 | 1.205 | 725.24 | 602.03 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | RunOnMethodBegin |
net6.0 | 725ns | 0.549ns | 2.13ns | 0.00979 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 980ns | 0.528ns | 1.97ns | 0.00921 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.16μs | 0.367ns | 1.37ns | 0.104 | 0 | 0 | 658 B |
#6501 | RunOnMethodBegin |
net6.0 | 602ns | 0.58ns | 2.25ns | 0.00955 | 0 | 0 | 696 B |
#6501 | RunOnMethodBegin |
netcoreapp3.1 | 914ns | 0.923ns | 3.58ns | 0.00944 | 0 | 0 | 696 B |
#6501 | RunOnMethodBegin |
net472 | 1.1μs | 0.551ns | 2.14ns | 0.104 | 0 | 0 | 658 B |
c9f6d1b
to
100ea4c
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, worked for Windows
If you need/want someone to test the Mac I'll have mine setup later in the week hopefully
14b7e65
to
86ce608
Compare
100ea4c
to
875b4c5
Compare
86ce608
to
1af72cc
Compare
875b4c5
to
d813115
Compare
1af72cc
to
0e3bc1f
Compare
d813115
to
df22af2
Compare
0e3bc1f
to
0c3dab6
Compare
0c3dab6
to
c89b2c6
Compare
df22af2
to
8fd1a94
Compare
Throughput/Crank Report ⚡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 (6501) (11.204M) : 0, 11204319
master (11.124M) : 0, 11123640
benchmarks/2.9.0 (11.045M) : 0, 11045405
section Automatic
This PR (6501) (7.210M) : 0, 7210469
master (7.224M) : 0, 7224362
benchmarks/2.9.0 (7.885M) : 0, 7885346
section Trace stats
master (7.529M) : 0, 7528716
section Manual
master (11.114M) : 0, 11113915
section Manual + Automatic
This PR (6501) (6.628M) : 0, 6627941
master (6.693M) : 0, 6693005
section DD_TRACE_ENABLED=0
master (10.133M) : 0, 10132801
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6501) (9.872M) : 0, 9872358
master (9.628M) : 0, 9628045
benchmarks/2.9.0 (9.586M) : 0, 9586476
section Automatic
This PR (6501) (6.431M) : 0, 6431307
master (6.529M) : 0, 6528563
section Trace stats
master (6.826M) : 0, 6826395
section Manual
master (9.661M) : 0, 9660963
section Manual + Automatic
This PR (6501) (5.843M) : 0, 5843262
master (5.992M) : 0, 5991612
section DD_TRACE_ENABLED=0
master (8.972M) : 0, 8971944
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6501) (10.073M) : 0, 10073151
master (9.804M) : 0, 9803983
section Automatic
This PR (6501) (6.606M) : 0, 6606020
master (6.481M) : 0, 6480741
section Trace stats
master (7.095M) : 0, 7094744
section Manual
master (10.165M) : 0, 10165163
section Manual + Automatic
This PR (6501) (6.218M) : 0, 6217728
master (6.197M) : 0, 6196772
section DD_TRACE_ENABLED=0
master (9.340M) : 0, 9339860
|
Summary of changes
Reason for change
We previously had
RunWindowsIntegrationTests
,RunLinuxIntegrationTests
,RunOsxIntegrationTests
, each with subtle differences. Overall that adds complexity which isn't really necessaryImplementation details
Combine everything into a single target, and just specialize the filter instead to reduce the code
Test coverage
Tested locally on Windows, and ran a CI test, but OSX side is untested currently.
Other details
Stacked on
https://datadoghq.atlassian.net/browse/LANGPLAT-66