-
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
fix UpdateVendoredCode on mac #6490
Conversation
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.
Thanks! I still don't understand why though 😅
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 (6490) - mean (69ms) : 66, 71
. : milestone, 69,
master - mean (69ms) : 64, 73
. : milestone, 69,
section CallTarget+Inlining+NGEN
This PR (6490) - mean (979ms) : 955, 1003
. : milestone, 979,
master - mean (976ms) : 946, 1006
. : milestone, 976,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6490) - mean (107ms) : 105, 109
. : milestone, 107,
master - mean (107ms) : 105, 109
. : milestone, 107,
section CallTarget+Inlining+NGEN
This PR (6490) - mean (675ms) : 661, 688
. : milestone, 675,
master - mean (677ms) : 659, 694
. : milestone, 677,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6490) - mean (91ms) : 89, 93
. : milestone, 91,
master - mean (91ms) : 89, 93
. : milestone, 91,
section CallTarget+Inlining+NGEN
This PR (6490) - mean (632ms) : 614, 650
. : milestone, 632,
master - mean (629ms) : 614, 643
. : milestone, 629,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6490) - mean (195ms) : 190, 200
. : milestone, 195,
master - mean (193ms) : 188, 199
. : milestone, 193,
section CallTarget+Inlining+NGEN
This PR (6490) - mean (1,101ms) : 1071, 1130
. : milestone, 1101,
master - mean (1,099ms) : 1070, 1129
. : milestone, 1099,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6490) - mean (279ms) : 275, 284
. : milestone, 279,
master - mean (279ms) : 273, 284
. : milestone, 279,
section CallTarget+Inlining+NGEN
This PR (6490) - mean (870ms) : 835, 905
. : milestone, 870,
master - mean (874ms) : 844, 903
. : milestone, 874,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6490) - mean (267ms) : 262, 271
. : milestone, 267,
master - mean (267ms) : 261, 273
. : milestone, 267,
section CallTarget+Inlining+NGEN
This PR (6490) - mean (852ms) : 821, 884
. : milestone, 852,
master - mean (846ms) : 819, 873
. : milestone, 846,
|
Datadog ReportBranch report: ✅ 0 Failed, 229670 Passed, 2100 Skipped, 18h 22m 9.42s Total Time |
Benchmarks Report for tracer 🐌Benchmarks for #6490 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‑netcoreapp3.1 | 1.185 | 804.22 | 678.77 | bimodal |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 404ns | 0.252ns | 0.942ns | 0.00815 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 543ns | 0.273ns | 1.06ns | 0.00789 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 662ns | 0.46ns | 1.78ns | 0.0917 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 530ns | 2.9ns | 15.9ns | 0.00978 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 804ns | 1.43ns | 5.54ns | 0.00926 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 832ns | 0.577ns | 2.23ns | 0.104 | 0 | 0 | 658 B |
#6490 | StartFinishSpan |
net6.0 | 404ns | 0.218ns | 0.845ns | 0.00816 | 0 | 0 | 576 B |
#6490 | StartFinishSpan |
netcoreapp3.1 | 561ns | 0.391ns | 1.52ns | 0.00789 | 0 | 0 | 576 B |
#6490 | StartFinishSpan |
net472 | 712ns | 0.466ns | 1.81ns | 0.0915 | 0 | 0 | 578 B |
#6490 | StartFinishScope |
net6.0 | 551ns | 0.309ns | 1.16ns | 0.00962 | 0 | 0 | 696 B |
#6490 | StartFinishScope |
netcoreapp3.1 | 691ns | 3.46ns | 15.5ns | 0.00953 | 0 | 0 | 696 B |
#6490 | StartFinishScope |
net472 | 829ns | 1.4ns | 5.42ns | 0.105 | 0 | 0 | 658 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #6490
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0
1.212
714.08
589.39
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0 | 1.212 | 714.08 | 589.39 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | RunOnMethodBegin |
net6.0 | 714ns | 0.47ns | 1.82ns | 0.00953 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 911ns | 0.601ns | 2.33ns | 0.00915 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.05μs | 0.872ns | 3.38ns | 0.104 | 0 | 0 | 658 B |
#6490 | RunOnMethodBegin |
net6.0 | 589ns | 0.534ns | 2.07ns | 0.00975 | 0 | 0 | 696 B |
#6490 | RunOnMethodBegin |
netcoreapp3.1 | 947ns | 1.25ns | 4.85ns | 0.00923 | 0 | 0 | 696 B |
#6490 | RunOnMethodBegin |
net472 | 1.05μs | 0.695ns | 2.69ns | 0.104 | 0 | 0 | 658 B |
Summary of changes
force the name of the honeypot template because it's different on mac and on windows
Reason for change
the command was broken with the following error:
I discovered almost by chance that the resource had the "wrong" name in the dll when built on my mac. Forcing the name doesn't change anything on windows, and unifies the behavior on mac.
Implementation details
Test coverage
Other details