[Profiler] Add FlushProfile public method
Summary of changes
Add FlushProfile public function.
Reason for change
Needed by CI product :)
Implementation details
- Just reuse the already exposed
Exportmethod.
Test coverage
- Current tests should suffice since we use the same API/functions
Other details
Datadog Report
Branch report: gleocadie/add-flush-ci-visibility
Commit report: 8900352
Test service: dd-trace-dotnet
:x: 1 Failed (0 Known Flaky), 332428 Passed, 1874 Skipped, 35m 26.58s Wall Time
:x: Failed Tests (1)
-
SubmitsTraces-Datadog.Trace.ClrProfiler.IntegrationTests.StackExchangeRedisTests- DetailsExpand for error
xpected exit code: 0, actual exit code: 134.
Execution-Time Benchmarks Report :stopwatch:
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:
- Welch test with statistical test for significance of 5%
- Only results indicating a difference greater than 5% and 5 ms are considered.
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 (5303) - mean (73ms) : 66, 80
. : milestone, 73,
master - mean (74ms) : 61, 87
. : milestone, 74,
section CallTarget+Inlining+NGEN
This PR (5303) - mean (999ms) : 975, 1024
. : milestone, 999,
master - mean (995ms) : 979, 1010
. : milestone, 995,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5303) - mean (111ms) : 106, 116
. : milestone, 111,
master - mean (109ms) : 105, 113
. : milestone, 109,
section CallTarget+Inlining+NGEN
This PR (5303) - mean (711ms) : 686, 735
. : milestone, 711,
master - mean (715ms) : 689, 741
. : milestone, 715,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5303) - mean (94ms) : 91, 97
. : milestone, 94,
master - mean (93ms) : 90, 96
. : milestone, 93,
section CallTarget+Inlining+NGEN
This PR (5303) - mean (673ms) : 651, 695
. : milestone, 673,
master - mean (665ms) : 642, 689
. : milestone, 665,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5303) - mean (186ms) : 183, 190
. : milestone, 186,
master - mean (187ms) : 185, 190
. : milestone, 187,
section CallTarget+Inlining+NGEN
This PR (5303) - mean (1,080ms) : 1053, 1107
. : milestone, 1080,
master - mean (1,077ms) : 1049, 1105
. : milestone, 1077,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5303) - mean (270ms) : 266, 274
. : milestone, 270,
master - mean (271ms) : 268, 275
. : milestone, 271,
section CallTarget+Inlining+NGEN
This PR (5303) - mean (867ms) : 840, 894
. : milestone, 867,
master - mean (877ms) : 852, 902
. : milestone, 877,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5303) - mean (258ms) : 253, 263
. : milestone, 258,
master - mean (259ms) : 254, 264
. : milestone, 259,
section CallTarget+Inlining+NGEN
This PR (5303) - mean (852ms) : 829, 875
. : milestone, 852,
master - mean (851ms) : 830, 872
. : milestone, 851,
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 (5303) (10.851M) : 0, 10850984
master (10.998M) : 0, 10998470
benchmarks/2.9.0 (10.971M) : 0, 10971099
section Automatic
This PR (5303) (7.298M) : 0, 7297909
master (7.600M) : 0, 7599503
benchmarks/2.9.0 (7.985M) : 0, 7985222
section Trace stats
This PR (5303) (7.604M) : 0, 7604212
master (7.884M) : 0, 7883623
section Manual
This PR (5303) (9.137M) : 0, 9137366
master (9.597M) : 0, 9597497
section Manual + Automatic
This PR (5303) (6.878M) : 0, 6878037
master (7.124M) : 0, 7124388
section Version Conflict
This PR (5303) (6.281M) : 0, 6281136
master (6.531M) : 0, 6530537
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (5303) (9.737M) : 0, 9737331
master (9.330M) : 0, 9330255
benchmarks/2.9.0 (9.554M) : 0, 9554391
section Automatic
This PR (5303) (6.656M) : 0, 6655629
master (6.508M) : 0, 6507527
section Trace stats
This PR (5303) (6.861M) : 0, 6861144
master (6.878M) : 0, 6878372
section Manual
This PR (5303) (8.269M) : 0, 8268945
master (8.299M) : 0, 8298812
section Manual + Automatic
This PR (5303) (6.247M) : 0, 6246978
master (5.956M) : 0, 5955732
section Version Conflict
This PR (5303) (5.692M) : 0, 5692171
master (5.659M) : 0, 5658501
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (5303) (9.871M) : 0, 9871099
master (9.924M) : 0, 9924354
benchmarks/2.9.0 (10.017M) : 0, 10017367
section Automatic
This PR (5303) (7.101M) : 0, 7100617
master (7.020M) : 0, 7019609
benchmarks/2.9.0 (7.417M) : 0, 7416538
section Trace stats
This PR (5303) (7.395M) : 0, 7394779
master (7.417M) : 0, 7417252
section Manual
This PR (5303) (8.777M) : 0, 8776812
master (8.705M) : 0, 8705023
section Manual + Automatic
This PR (5303) (6.811M) : 0, 6810650
master (6.793M) : 0, 6793253
section Version Conflict
This PR (5303) (6.115M) : 0, 6114744
master (6.207M) : 0, 6206828
Benchmarks Report for tracer :snail:
Benchmarks for #5303 compared to master:
- 1 benchmarks are faster, with geometric mean 1.125
- 2 benchmarks are slower, with geometric mean 1.171
- All benchmarks have the same allocations
The following thresholds were used for comparing the benchmark speeds:
- Mann–Whitney U test with statistical test for significance of 5%
- Only results indicating a difference greater than 10% and 0.3 ns are considered.
Allocation changes below 0.5% are ignored.
Benchmark details
Benchmarks.Trace.ActivityBenchmark - Same speed :heavy_check_mark: Same allocations :heavy_check_mark:
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StartStopWithChild |
net6.0 | 8.74μs | 46.7ns | 243ns | 0.0309 | 0.0133 | 0 | 7.51 KB |
| master | StartStopWithChild |
netcoreapp3.1 | 10.5μs | 57.2ns | 318ns | 0.0224 | 0.00561 | 0 | 7.6 KB |
| master | StartStopWithChild |
net472 | 17.3μs | 32ns | 111ns | 1.38 | 0.371 | 0.124 | 8.15 KB |
| #5303 | StartStopWithChild |
net6.0 | 8.68μs | 48.9ns | 321ns | 0.0174 | 0.00871 | 0 | 7.5 KB |
| #5303 | StartStopWithChild |
netcoreapp3.1 | 10.7μs | 59ns | 373ns | 0.0269 | 0.0108 | 0 | 7.6 KB |
| #5303 | StartStopWithChild |
net472 | 17.3μs | 72.6ns | 281ns | 1.37 | 0.345 | 0.121 | 8.16 KB |
Benchmarks.Trace.AgentWriterBenchmark - Same speed :heavy_check_mark: Same allocations :heavy_check_mark:
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | WriteAndFlushEnrichedTraces |
net6.0 | 453μs | 132ns | 510ns | 0 | 0 | 0 | 2.7 KB |
| master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 622μs | 180ns | 625ns | 0 | 0 | 0 | 2.7 KB |
| master | WriteAndFlushEnrichedTraces |
net472 | 811μs | 440ns | 1.7μs | 0.403 | 0 | 0 | 3.3 KB |
| #5303 | WriteAndFlushEnrichedTraces |
net6.0 | 460μs | 229ns | 857ns | 0 | 0 | 0 | 2.7 KB |
| #5303 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 637μs | 250ns | 968ns | 0 | 0 | 0 | 2.7 KB |
| #5303 | WriteAndFlushEnrichedTraces |
net472 | 817μs | 446ns | 1.73μs | 0.408 | 0 | 0 | 3.3 KB |
Benchmarks.Trace.AspNetCoreBenchmark - Same speed :heavy_check_mark: Same allocations :heavy_check_mark:
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | SendRequest |
net6.0 | 173μs | 201ns | 777ns | 0.171 | 0 | 0 | 18.33 KB |
| master | SendRequest |
netcoreapp3.1 | 196μs | 246ns | 922ns | 0.194 | 0 | 0 | 20.49 KB |
| master | SendRequest |
net472 | 0.000275ns | 0.000148ns | 0.000555ns | 0 | 0 | 0 | 0 b |
| #5303 | SendRequest |
net6.0 | 172μs | 209ns | 809ns | 0.258 | 0 | 0 | 18.33 KB |
| #5303 | SendRequest |
netcoreapp3.1 | 192μs | 307ns | 1.15μs | 0.191 | 0 | 0 | 20.5 KB |
| #5303 | SendRequest |
net472 | 0.00127ns | 0.000399ns | 0.00155ns | 0 | 0 | 0 | 0 b |
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed :heavy_check_mark: Same allocations :heavy_check_mark:
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | WriteAndFlushEnrichedTraces |
net6.0 | 542μs | 318ns | 1.19μs | 0.548 | 0 | 0 | 41.49 KB |
| master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 664μs | 1.03μs | 3.98μs | 0.329 | 0 | 0 | 41.77 KB |
| master | WriteAndFlushEnrichedTraces |
net472 | 874μs | 4.15μs | 16.6μs | 8.3 | 2.62 | 0.437 | 53.25 KB |
| #5303 | WriteAndFlushEnrichedTraces |
net6.0 | 546μs | 400ns | 1.55μs | 0.532 | 0 | 0 | 41.67 KB |
| #5303 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 643μs | 1.86μs | 7.2μs | 0.317 | 0 | 0 | 41.63 KB |
| #5303 | WriteAndFlushEnrichedTraces |
net472 | 872μs | 3.77μs | 14.6μs | 8.33 | 2.5 | 0.417 | 53.23 KB |
Benchmarks.Trace.DbCommandBenchmark - Same speed :heavy_check_mark: Same allocations :heavy_check_mark:
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | ExecuteNonQuery |
net6.0 | 1.18μs | 0.461ns | 1.79ns | 0.0112 | 0 | 0 | 784 B |
| master | ExecuteNonQuery |
netcoreapp3.1 | 1.5μs | 1.39ns | 5.38ns | 0.0105 | 0 | 0 | 784 B |
| master | ExecuteNonQuery |
net472 | 1.86μs | 6.53ns | 31.3ns | 0.118 | 0 | 0 | 746 B |
| #5303 | ExecuteNonQuery |
net6.0 | 1.24μs | 0.499ns | 1.93ns | 0.0112 | 0 | 0 | 784 B |
| #5303 | ExecuteNonQuery |
netcoreapp3.1 | 1.47μs | 0.744ns | 2.78ns | 0.0104 | 0 | 0 | 784 B |
| #5303 | ExecuteNonQuery |
net472 | 1.75μs | 0.72ns | 2.79ns | 0.118 | 0 | 0 | 746 B |
Benchmarks.Trace.ElasticsearchBenchmark - Faster :tada: Same allocations :heavy_check_mark:
Faster :tada: in #5303
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch‑net6.0
1.125
1,361.22
1,210.26
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | CallElasticsearch |
net6.0 | 1.36μs | 0.348ns | 1.25ns | 0.0143 | 0 | 0 | 1.01 KB |
| master | CallElasticsearch |
netcoreapp3.1 | 1.58μs | 1.28ns | 4.79ns | 0.0133 | 0 | 0 | 1.01 KB |
| master | CallElasticsearch |
net472 | 2.47μs | 0.838ns | 3.25ns | 0.161 | 0 | 0 | 1.02 KB |
| master | CallElasticsearchAsync |
net6.0 | 1.43μs | 1.44ns | 5.39ns | 0.0137 | 0 | 0 | 984 B |
| master | CallElasticsearchAsync |
netcoreapp3.1 | 1.74μs | 0.59ns | 2.21ns | 0.0139 | 0 | 0 | 1.06 KB |
| master | CallElasticsearchAsync |
net472 | 2.67μs | 0.976ns | 3.78ns | 0.17 | 0 | 0 | 1.08 KB |
| #5303 | CallElasticsearch |
net6.0 | 1.21μs | 0.363ns | 1.31ns | 0.014 | 0 | 0 | 1.01 KB |
| #5303 | CallElasticsearch |
netcoreapp3.1 | 1.64μs | 0.716ns | 2.68ns | 0.0137 | 0 | 0 | 1.01 KB |
| #5303 | CallElasticsearch |
net472 | 2.55μs | 2.57ns | 9.27ns | 0.162 | 0 | 0 | 1.02 KB |
| #5303 | CallElasticsearchAsync |
net6.0 | 1.34μs | 0.687ns | 2.66ns | 0.0142 | 0 | 0 | 984 B |
| #5303 | CallElasticsearchAsync |
netcoreapp3.1 | 1.72μs | 0.782ns | 2.93ns | 0.0146 | 0 | 0 | 1.06 KB |
| #5303 | CallElasticsearchAsync |
net472 | 2.67μs | 1.26ns | 4.89ns | 0.17 | 0 | 0 | 1.08 KB |
Benchmarks.Trace.GraphQLBenchmark - Same speed :heavy_check_mark: Same allocations :heavy_check_mark:
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | ExecuteAsync |
net6.0 | 1.24μs | 0.526ns | 1.9ns | 0.013 | 0 | 0 | 928 B |
| master | ExecuteAsync |
netcoreapp3.1 | 1.67μs | 1.2ns | 4.5ns | 0.0126 | 0 | 0 | 928 B |
| master | ExecuteAsync |
net472 | 1.94μs | 1.4ns | 5.41ns | 0.141 | 0 | 0 | 891 B |
| #5303 | ExecuteAsync |
net6.0 | 1.19μs | 0.643ns | 2.49ns | 0.0131 | 0 | 0 | 928 B |
| #5303 | ExecuteAsync |
netcoreapp3.1 | 1.74μs | 1.05ns | 4.06ns | 0.0128 | 0 | 0 | 928 B |
| #5303 | ExecuteAsync |
net472 | 1.96μs | 1.62ns | 6.07ns | 0.141 | 0 | 0 | 891 B |
Benchmarks.Trace.HttpClientBenchmark - Same speed :heavy_check_mark: Same allocations :heavy_check_mark:
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | SendAsync |
net6.0 | 4.21μs | 1.75ns | 6.56ns | 0.0294 | 0 | 0 | 2.16 KB |
| master | SendAsync |
netcoreapp3.1 | 5.17μs | 1.92ns | 7.45ns | 0.0363 | 0 | 0 | 2.7 KB |
| master | SendAsync |
net472 | 7.73μs | 2.75ns | 10.3ns | 0.534 | 0 | 0 | 3.38 KB |
| #5303 | SendAsync |
net6.0 | 4.09μs | 1.92ns | 6.92ns | 0.0288 | 0 | 0 | 2.16 KB |
| #5303 | SendAsync |
netcoreapp3.1 | 5.11μs | 2.02ns | 7.27ns | 0.0358 | 0 | 0 | 2.7 KB |
| #5303 | SendAsync |
net472 | 7.8μs | 3.14ns | 12.2ns | 0.536 | 0 | 0 | 3.38 KB |
Benchmarks.Trace.ILoggerBenchmark - Same speed :heavy_check_mark: Same allocations :heavy_check_mark:
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net6.0 | 1.56μs | 0.596ns | 2.31ns | 0.0234 | 0 | 0 | 1.65 KB |
| master | EnrichedLog |
netcoreapp3.1 | 2.53μs | 0.851ns | 3.18ns | 0.0218 | 0 | 0 | 1.65 KB |
| master | EnrichedLog |
net472 | 2.58μs | 1.19ns | 4.44ns | 0.25 | 0 | 0 | 1.57 KB |
| #5303 | EnrichedLog |
net6.0 | 1.51μs | 0.696ns | 2.6ns | 0.0234 | 0 | 0 | 1.65 KB |
| #5303 | EnrichedLog |
netcoreapp3.1 | 2.37μs | 1.54ns | 5.76ns | 0.0225 | 0 | 0 | 1.65 KB |
| #5303 | EnrichedLog |
net472 | 2.57μs | 1.05ns | 3.78ns | 0.249 | 0 | 0 | 1.57 KB |
Benchmarks.Trace.Log4netBenchmark - Same speed :heavy_check_mark: Same allocations :heavy_check_mark:
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net6.0 | 112μs | 115ns | 444ns | 0.0566 | 0 | 0 | 4.23 KB |
| master | EnrichedLog |
netcoreapp3.1 | 118μs | 121ns | 469ns | 0.0591 | 0 | 0 | 4.23 KB |
| master | EnrichedLog |
net472 | 147μs | 113ns | 437ns | 0.662 | 0.221 | 0 | 4.41 KB |
| #5303 | EnrichedLog |
net6.0 | 113μs | 70.8ns | 274ns | 0.0565 | 0 | 0 | 4.23 KB |
| #5303 | EnrichedLog |
netcoreapp3.1 | 119μs | 103ns | 399ns | 0 | 0 | 0 | 4.23 KB |
| #5303 | EnrichedLog |
net472 | 147μs | 39.3ns | 152ns | 0.66 | 0.22 | 0 | 4.41 KB |
Benchmarks.Trace.NLogBenchmark - Same speed :heavy_check_mark: Same allocations :heavy_check_mark:
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net6.0 | 2.94μs | 1.23ns | 4.75ns | 0.0309 | 0 | 0 | 2.21 KB |
| master | EnrichedLog |
netcoreapp3.1 | 4.17μs | 0.899ns | 3.48ns | 0.0293 | 0 | 0 | 2.21 KB |
| master | EnrichedLog |
net472 | 4.83μs | 1.19ns | 4.59ns | 0.32 | 0 | 0 | 2.02 KB |
| #5303 | EnrichedLog |
net6.0 | 2.97μs | 1.37ns | 5.3ns | 0.0314 | 0 | 0 | 2.21 KB |
| #5303 | EnrichedLog |
netcoreapp3.1 | 4.27μs | 1.25ns | 4.84ns | 0.0301 | 0 | 0 | 2.21 KB |
| #5303 | EnrichedLog |
net472 | 4.95μs | 1.86ns | 6.97ns | 0.32 | 0 | 0 | 2.02 KB |
Benchmarks.Trace.RedisBenchmark - Same speed :heavy_check_mark: Same allocations :heavy_check_mark:
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | SendReceive |
net6.0 | 1.45μs | 0.57ns | 2.13ns | 0.0165 | 0 | 0 | 1.18 KB |
| master | SendReceive |
netcoreapp3.1 | 1.84μs | 1.04ns | 3.74ns | 0.0156 | 0 | 0 | 1.18 KB |
| master | SendReceive |
net472 | 2.29μs | 1.56ns | 6.05ns | 0.187 | 0 | 0 | 1.18 KB |
| #5303 | SendReceive |
net6.0 | 1.51μs | 0.692ns | 2.59ns | 0.0166 | 0 | 0 | 1.18 KB |
| #5303 | SendReceive |
netcoreapp3.1 | 1.87μs | 1.06ns | 3.95ns | 0.0159 | 0 | 0 | 1.18 KB |
| #5303 | SendReceive |
net472 | 2.13μs | 1.66ns | 6.44ns | 0.187 | 0 | 0 | 1.18 KB |
Benchmarks.Trace.SerilogBenchmark - Same speed :heavy_check_mark: Same allocations :heavy_check_mark:
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net6.0 | 2.72μs | 0.607ns | 2.35ns | 0.0218 | 0 | 0 | 1.55 KB |
| master | EnrichedLog |
netcoreapp3.1 | 3.95μs | 1.76ns | 6.57ns | 0.0216 | 0 | 0 | 1.6 KB |
| master | EnrichedLog |
net472 | 4.48μs | 1.1ns | 4.13ns | 0.315 | 0 | 0 | 1.99 KB |
| #5303 | EnrichedLog |
net6.0 | 2.74μs | 0.68ns | 2.63ns | 0.0218 | 0 | 0 | 1.55 KB |
| #5303 | EnrichedLog |
netcoreapp3.1 | 3.94μs | 1.33ns | 5.15ns | 0.0217 | 0 | 0 | 1.6 KB |
| #5303 | EnrichedLog |
net472 | 4.49μs | 3.21ns | 12ns | 0.316 | 0 | 0 | 1.99 KB |
Benchmarks.Trace.SpanBenchmark - Slower :warning: Same allocations :heavy_check_mark:
Slower :warning: in #5303
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0
1.160
562.40
652.45
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StartFinishSpan |
net6.0 | 503ns | 0.482ns | 1.86ns | 0.00767 | 0 | 0 | 552 B |
| master | StartFinishSpan |
netcoreapp3.1 | 815ns | 0.673ns | 2.52ns | 0.0073 | 0 | 0 | 552 B |
| master | StartFinishSpan |
net472 | 777ns | 1.49ns | 5.76ns | 0.0877 | 0 | 0 | 554 B |
| master | StartFinishScope |
net6.0 | 562ns | 0.701ns | 2.72ns | 0.00953 | 0 | 0 | 672 B |
| master | StartFinishScope |
netcoreapp3.1 | 871ns | 1.16ns | 4.5ns | 0.00918 | 0 | 0 | 672 B |
| master | StartFinishScope |
net472 | 955ns | 1.31ns | 5.07ns | 0.101 | 0 | 0 | 634 B |
| #5303 | StartFinishSpan |
net6.0 | 466ns | 0.719ns | 2.69ns | 0.00768 | 0 | 0 | 552 B |
| #5303 | StartFinishSpan |
netcoreapp3.1 | 813ns | 0.886ns | 3.32ns | 0.00749 | 0 | 0 | 552 B |
| #5303 | StartFinishSpan |
net472 | 766ns | 1.53ns | 5.94ns | 0.0877 | 0 | 0 | 554 B |
| #5303 | StartFinishScope |
net6.0 | 653ns | 1.01ns | 3.93ns | 0.0092 | 0 | 0 | 672 B |
| #5303 | StartFinishScope |
netcoreapp3.1 | 961ns | 2.38ns | 9.24ns | 0.00898 | 0 | 0 | 672 B |
| #5303 | StartFinishScope |
net472 | 964ns | 1.72ns | 6.66ns | 0.101 | 0 | 0 | 634 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Slower :warning: Same allocations :heavy_check_mark:
Slower :warning: in #5303
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0
1.183
605.67
716.22
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | RunOnMethodBegin |
net6.0 | 606ns | 0.914ns | 3.54ns | 0.00937 | 0 | 0 | 672 B |
| master | RunOnMethodBegin |
netcoreapp3.1 | 988ns | 0.746ns | 2.89ns | 0.009 | 0 | 0 | 672 B |
| master | RunOnMethodBegin |
net472 | 1.07μs | 1.81ns | 7.01ns | 0.101 | 0 | 0 | 634 B |
| #5303 | RunOnMethodBegin |
net6.0 | 716ns | 0.671ns | 2.6ns | 0.00928 | 0 | 0 | 672 B |
| #5303 | RunOnMethodBegin |
netcoreapp3.1 | 1μs | 1.03ns | 3.98ns | 0.00893 | 0 | 0 | 672 B |
| #5303 | RunOnMethodBegin |
net472 | 1.08μs | 0.684ns | 2.65ns | 0.1 | 0 | 0 | 634 B |
Datadog Report
Branch report: gleocadie/add-flush-ci-visibility
Commit report: 7dc4ba2
Test service: dd-trace-dotnet
:white_check_mark: 0 Failed, 332689 Passed, 1884 Skipped, 42m 40.65s Wall Time