-
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
SynchronizedRW #6636
base: master
Are you sure you want to change the base?
SynchronizedRW #6636
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 (6636) - mean (69ms) : 67, 71
. : milestone, 69,
master - mean (69ms) : 67, 71
. : milestone, 69,
section CallTarget+Inlining+NGEN
This PR (6636) - mean (988ms) : 964, 1012
. : milestone, 988,
master - mean (987ms) : 967, 1008
. : milestone, 987,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6636) - mean (103ms) : 100, 105
. : milestone, 103,
master - mean (102ms) : 100, 104
. : milestone, 102,
section CallTarget+Inlining+NGEN
This PR (6636) - mean (727ms) : crit, 687, 766
. : crit, milestone, 727,
master - mean (670ms) : 652, 688
. : milestone, 670,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6636) - mean (89ms) : 87, 92
. : milestone, 89,
master - mean (89ms) : 87, 91
. : milestone, 89,
section CallTarget+Inlining+NGEN
This PR (6636) - mean (625ms) : 599, 652
. : milestone, 625,
master - mean (633ms) : 610, 656
. : milestone, 633,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6636) - mean (189ms) : 186, 193
. : milestone, 189,
master - mean (190ms) : 186, 193
. : milestone, 190,
section CallTarget+Inlining+NGEN
This PR (6636) - mean (1,098ms) : 1064, 1131
. : milestone, 1098,
master - mean (1,094ms) : 1071, 1117
. : milestone, 1094,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6636) - mean (270ms) : 266, 274
. : milestone, 270,
master - mean (269ms) : 265, 273
. : milestone, 269,
section CallTarget+Inlining+NGEN
This PR (6636) - mean (901ms) : 881, 921
. : milestone, 901,
master - mean (861ms) : 829, 893
. : milestone, 861,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6636) - mean (261ms) : 257, 265
. : milestone, 261,
master - mean (261ms) : 257, 266
. : milestone, 261,
section CallTarget+Inlining+NGEN
This PR (6636) - mean (846ms) : 803, 888
. : milestone, 846,
master - mean (841ms) : 810, 872
. : milestone, 841,
|
Benchmarks Report for tracer 🐌Benchmarks for #6636 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‑net6.0 | 1.239 | 601.04 | 485.28 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 387ns | 0.469ns | 1.82ns | 0.00807 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 542ns | 1.1ns | 4.24ns | 0.00782 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 597ns | 1.37ns | 5.31ns | 0.0917 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 601ns | 0.998ns | 3.87ns | 0.00983 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 760ns | 1.81ns | 6.99ns | 0.00935 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 843ns | 2.07ns | 8ns | 0.104 | 0 | 0 | 658 B |
#6636 | StartFinishSpan |
net6.0 | 407ns | 0.406ns | 1.52ns | 0.00815 | 0 | 0 | 576 B |
#6636 | StartFinishSpan |
netcoreapp3.1 | 570ns | 0.421ns | 1.58ns | 0.00774 | 0 | 0 | 576 B |
#6636 | StartFinishSpan |
net472 | 651ns | 1.85ns | 7.39ns | 0.0915 | 0 | 0 | 578 B |
#6636 | StartFinishScope |
net6.0 | 486ns | 0.38ns | 1.47ns | 0.00975 | 0 | 0 | 696 B |
#6636 | StartFinishScope |
netcoreapp3.1 | 710ns | 0.465ns | 1.8ns | 0.00927 | 0 | 0 | 696 B |
#6636 | StartFinishScope |
net472 | 816ns | 2.73ns | 10.6ns | 0.104 | 0 | 0 | 658 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Slower ⚠️ Same allocations ✔️
Slower ⚠️ in #6636
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0
1.151
611.30
703.72
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0 | 1.151 | 611.30 | 703.72 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | RunOnMethodBegin |
net6.0 | 612ns | 0.778ns | 3.01ns | 0.0098 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 941ns | 1.79ns | 6.94ns | 0.00942 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.12μs | 2.26ns | 8.77ns | 0.104 | 0 | 0 | 658 B |
#6636 | RunOnMethodBegin |
net6.0 | 704ns | 0.229ns | 0.888ns | 0.00987 | 0 | 0 | 696 B |
#6636 | RunOnMethodBegin |
netcoreapp3.1 | 864ns | 0.737ns | 2.86ns | 0.00935 | 0 | 0 | 696 B |
#6636 | RunOnMethodBegin |
net472 | 1.06μs | 0.506ns | 1.96ns | 0.104 | 0 | 0 | 658 B |
Datadog ReportBranch report: ❌ 17 Failed (2 Known Flaky), 254238 Passed, 3217 Skipped, 30h 56m 0.18s Total Time ❌ Failed Tests (17)
|
Summary of changes
Reason for change
Implementation details
Test coverage
Other details