-
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
Ensure we also clean hidden folders #5399
Ensure we also clean hidden folders #5399
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 332933 Passed, 1614 Skipped, 43m 41.14s Wall Time |
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 (5399) - mean (74ms) : 66, 83
. : milestone, 74,
master - mean (73ms) : 66, 81
. : milestone, 73,
section CallTarget+Inlining+NGEN
This PR (5399) - mean (997ms) : 971, 1024
. : milestone, 997,
master - mean (994ms) : 972, 1016
. : milestone, 994,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5399) - mean (109ms) : 106, 112
. : milestone, 109,
master - mean (110ms) : 107, 112
. : milestone, 110,
section CallTarget+Inlining+NGEN
This PR (5399) - mean (717ms) : 694, 740
. : milestone, 717,
master - mean (713ms) : 689, 737
. : milestone, 713,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5399) - mean (94ms) : 91, 97
. : milestone, 94,
master - mean (95ms) : 91, 98
. : milestone, 95,
section CallTarget+Inlining+NGEN
This PR (5399) - mean (669ms) : 649, 689
. : milestone, 669,
master - mean (681ms) : 656, 705
. : milestone, 681,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5399) - mean (188ms) : 186, 191
. : milestone, 188,
master - mean (188ms) : 185, 192
. : milestone, 188,
section CallTarget+Inlining+NGEN
This PR (5399) - mean (1,082ms) : 1062, 1102
. : milestone, 1082,
master - mean (1,076ms) : 1044, 1107
. : milestone, 1076,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5399) - mean (272ms) : 268, 277
. : milestone, 272,
master - mean (271ms) : 265, 277
. : milestone, 271,
section CallTarget+Inlining+NGEN
This PR (5399) - mean (873ms) : 846, 901
. : milestone, 873,
master - mean (873ms) : 849, 898
. : milestone, 873,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5399) - mean (261ms) : 258, 264
. : milestone, 261,
master - mean (260ms) : 252, 268
. : milestone, 260,
section CallTarget+Inlining+NGEN
This PR (5399) - mean (860ms) : 837, 884
. : milestone, 860,
master - mean (854ms) : 828, 880
. : milestone, 854,
|
Benchmarks Report for tracer 🐌Benchmarks for #5399 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.StartFinishSpan‑net6.0 | 1.122 | 523.84 | 467.04 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 524ns | 0.278ns | 1.04ns | 0.00775 | 0 | 0 | 552 B |
master | StartFinishSpan |
netcoreapp3.1 | 692ns | 1.59ns | 6.15ns | 0.00736 | 0 | 0 | 552 B |
master | StartFinishSpan |
net472 | 740ns | 1.2ns | 4.65ns | 0.0877 | 0 | 0 | 554 B |
master | StartFinishScope |
net6.0 | 575ns | 1.29ns | 4.84ns | 0.00954 | 0 | 0 | 672 B |
master | StartFinishScope |
netcoreapp3.1 | 824ns | 1.4ns | 5.43ns | 0.00893 | 0 | 0 | 672 B |
master | StartFinishScope |
net472 | 929ns | 1.94ns | 7.51ns | 0.101 | 0 | 0 | 634 B |
#5399 | StartFinishSpan |
net6.0 | 467ns | 0.245ns | 0.948ns | 0.00771 | 0 | 0 | 552 B |
#5399 | StartFinishSpan |
netcoreapp3.1 | 747ns | 0.381ns | 1.43ns | 0.0075 | 0 | 0 | 552 B |
#5399 | StartFinishSpan |
net472 | 806ns | 0.701ns | 2.72ns | 0.0879 | 0 | 0 | 554 B |
#5399 | StartFinishScope |
net6.0 | 545ns | 0.238ns | 0.889ns | 0.00957 | 0 | 0 | 672 B |
#5399 | StartFinishScope |
netcoreapp3.1 | 828ns | 0.456ns | 1.71ns | 0.00895 | 0 | 0 | 672 B |
#5399 | StartFinishScope |
net472 | 956ns | 1.53ns | 5.94ns | 0.1 | 0 | 0 | 634 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #5399
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑netcoreapp3.1
1.119
1,072.73
958.28
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑netcoreapp3.1 | 1.119 | 1,072.73 | 958.28 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | RunOnMethodBegin |
net6.0 | 691ns | 1.01ns | 3.92ns | 0.00933 | 0 | 0 | 672 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 1.07μs | 2.59ns | 10ns | 0.00904 | 0 | 0 | 672 B |
master | RunOnMethodBegin |
net472 | 1.13μs | 2.24ns | 8.68ns | 0.1 | 0 | 0 | 634 B |
#5399 | RunOnMethodBegin |
net6.0 | 721ns | 0.954ns | 3.7ns | 0.00933 | 0 | 0 | 672 B |
#5399 | RunOnMethodBegin |
netcoreapp3.1 | 956ns | 1.45ns | 5.62ns | 0.00914 | 0 | 0 | 672 B |
#5399 | RunOnMethodBegin |
net472 | 1.12μs | 2.11ns | 8.15ns | 0.1 | 0 | 0 | 634 B |
f03c086
to
55ce50b
Compare
Summary of changes
Update the "clean" step to delete hidden e.g.
.nuke
files and foldersReason for change
rm -rf *
doesn't delete "hidden" folders/files like.nuke
or.github
so the clean steps weren't working, and meant that subsequent checkout steps were failingImplementation details
Delete the whole directory and recreate it. I looked at other options, but this was just the easiest and the easiest to understand
Test coverage
Tested against the branch manually
Other details
Third time lucky...