-
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
[Dynamic Instrumentation] DEBUG-2249 Line and method probes exploration tests #5914
Conversation
Datadog ReportBranch report: ❌ 32 Failed (0 Known Flaky), 372319 Passed, 2715 Skipped, 25h 59m 47.68s Total Time ❌ Failed Tests (32)
|
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 (5914) - mean (70ms) : 68, 73
. : milestone, 70,
master - mean (69ms) : 66, 73
. : milestone, 69,
section CallTarget+Inlining+NGEN
This PR (5914) - mean (1,125ms) : 1103, 1148
. : milestone, 1125,
master - mean (1,118ms) : 1092, 1145
. : milestone, 1118,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5914) - mean (109ms) : 107, 112
. : milestone, 109,
master - mean (109ms) : 105, 113
. : milestone, 109,
section CallTarget+Inlining+NGEN
This PR (5914) - mean (813ms) : 794, 832
. : milestone, 813,
master - mean (809ms) : 787, 831
. : milestone, 809,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5914) - mean (93ms) : 90, 97
. : milestone, 93,
master - mean (93ms) : 89, 96
. : milestone, 93,
section CallTarget+Inlining+NGEN
This PR (5914) - mean (767ms) : 751, 784
. : milestone, 767,
master - mean (763ms) : 747, 779
. : milestone, 763,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5914) - mean (191ms) : 187, 196
. : milestone, 191,
master - mean (191ms) : 188, 194
. : milestone, 191,
section CallTarget+Inlining+NGEN
This PR (5914) - mean (1,199ms) : 1175, 1223
. : milestone, 1199,
master - mean (1,194ms) : 1167, 1220
. : milestone, 1194,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5914) - mean (276ms) : 273, 280
. : milestone, 276,
master - mean (276ms) : 272, 280
. : milestone, 276,
section CallTarget+Inlining+NGEN
This PR (5914) - mean (968ms) : 945, 992
. : milestone, 968,
master - mean (964ms) : 941, 986
. : milestone, 964,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5914) - mean (265ms) : 262, 269
. : milestone, 265,
master - mean (265ms) : 261, 270
. : milestone, 265,
section CallTarget+Inlining+NGEN
This PR (5914) - mean (947ms) : 928, 967
. : milestone, 947,
master - mean (949ms) : 924, 974
. : milestone, 949,
|
Benchmarks Report for tracer 🐌Benchmarks for #5914 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 - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.TraceAnnotationsBenchmark - Same speed ✔️ Same allocations ✔️Raw results
|
332ffd4
to
a51ae95
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.
I mostly just looked at the build/shared code - would be good to have someone who understands the native side review that from the tracer PoV!
6853dec
to
14f3f26
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, thanks, only not explicitly approving because I want someone to check the native side 😄
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.
I've already reviewed most of the meat while pairing. Left a few comments on things caught my eyes.
tracer/src/Datadog.Tracer.Native/debugger_probes_instrumentation_requester.cpp
Show resolved
Hide resolved
tracer/src/Datadog.Tracer.Native/debugger_probes_instrumentation_requester.cpp
Outdated
Show resolved
Hide resolved
9f23fde
to
3e08654
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.
native side LGTM
79496eb
to
c1ee86a
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 on the build side 👍
b08a77c
to
17a65c9
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 (5914) (10.641M) : 0, 10641326
master (10.867M) : 0, 10866655
benchmarks/2.9.0 (11.081M) : 0, 11080577
section Automatic
This PR (5914) (7.195M) : 0, 7195027
master (7.063M) : 0, 7062638
benchmarks/2.9.0 (7.732M) : 0, 7732233
section Trace stats
master (7.364M) : 0, 7364303
section Manual
master (10.824M) : 0, 10823898
section Manual + Automatic
This PR (5914) (6.638M) : 0, 6637913
master (6.575M) : 0, 6575042
section DD_TRACE_ENABLED=0
master (9.990M) : 0, 9989817
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (5914) (9.617M) : 0, 9616615
master (9.746M) : 0, 9746139
benchmarks/2.9.0 (9.798M) : 0, 9798067
section Automatic
This PR (5914) (6.567M) : 0, 6566842
master (6.518M) : 0, 6518443
section Trace stats
master (6.791M) : 0, 6791013
section Manual
master (9.554M) : 0, 9554347
section Manual + Automatic
This PR (5914) (6.110M) : 0, 6110198
master (6.054M) : 0, 6053863
section DD_TRACE_ENABLED=0
master (8.868M) : 0, 8868379
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (5914) (10.180M) : 0, 10180344
master (10.125M) : 0, 10125159
benchmarks/2.9.0 (10.067M) : 0, 10067315
section Automatic
This PR (5914) (6.765M) : 0, 6765300
master (6.789M) : 0, 6788744
benchmarks/2.9.0 (7.552M) : 0, 7552193
section Trace stats
master (7.427M) : 0, 7426998
section Manual
master (10.349M) : 0, 10348694
section Manual + Automatic
This PR (5914) (6.235M) : 0, 6234958
master (6.321M) : 0, 6321226
section DD_TRACE_ENABLED=0
master (9.558M) : 0, 9557791
|
9c6c8f2
to
f193e79
Compare
…he Exploration Tests of Method & Line probes
d1c555e
to
d40945c
Compare
Summary of changes
This PR add line porbe exploration tests.
Reason for change
To verify that we aren't breaking any code with our instrumentation.
Implementation details
We instrument each method with a method probe and each method line with a line probe.
Test coverage
Several open source projects (e.g. protobuf.net).