-
Notifications
You must be signed in to change notification settings - Fork 144
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
[Build] Fix version bump autogen files error #6464
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 for the fix!
Datadog ReportBranch report: ✅ 0 Failed, 467025 Passed, 3707 Skipped, 33h 21m 22.95s Total Time |
dff1481
to
1454b63
Compare
## Summary of changes Fix the build and the version-bump action ## Reason for change In #6457, @vandonr spotted that we accidentally, incorrectly, "bumped" the required version of cmake. ![image](https://github.com/user-attachments/assets/5843c1db-2dad-439e-8ed8-eeeb2d05def5) Additionally, the new calltargets_generated.g.cpp file _also_ now embeds the version, so we need to either update that, or stop embedding the version. @daniel-romano-DD is looking into the latter approach [here](#6464), so this PR is just a fix to unblock PRs. ## Implementation details - Revert the broken CMakeLists.txt - Fix the broken generated file - Be more discerning in our CMakeLists updates ## Test coverage Tested the version bump routine locally, and confirmed it works as expected now. ## Other details It would be _really_ nice if the version bumping just required bumping one or two values... That _might_ be somewhat feasible in the future, but for now...
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 (6464) - mean (69ms) : 65, 72
. : milestone, 69,
master - mean (68ms) : 66, 71
. : milestone, 68,
section CallTarget+Inlining+NGEN
This PR (6464) - mean (979ms) : 956, 1002
. : milestone, 979,
master - mean (978ms) : 959, 997
. : milestone, 978,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6464) - mean (108ms) : 105, 110
. : milestone, 108,
master - mean (107ms) : 105, 110
. : milestone, 107,
section CallTarget+Inlining+NGEN
This PR (6464) - mean (678ms) : 664, 693
. : milestone, 678,
master - mean (678ms) : 664, 693
. : milestone, 678,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6464) - mean (91ms) : 89, 93
. : milestone, 91,
master - mean (91ms) : 89, 94
. : milestone, 91,
section CallTarget+Inlining+NGEN
This PR (6464) - mean (639ms) : 622, 656
. : milestone, 639,
master - mean (636ms) : 618, 653
. : milestone, 636,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6464) - mean (194ms) : 190, 198
. : milestone, 194,
master - mean (193ms) : 190, 196
. : milestone, 193,
section CallTarget+Inlining+NGEN
This PR (6464) - mean (1,101ms) : 1072, 1131
. : milestone, 1101,
master - mean (1,104ms) : 1076, 1132
. : milestone, 1104,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6464) - mean (278ms) : 274, 282
. : milestone, 278,
master - mean (279ms) : 275, 283
. : milestone, 279,
section CallTarget+Inlining+NGEN
This PR (6464) - mean (874ms) : 844, 904
. : milestone, 874,
master - mean (872ms) : 851, 893
. : milestone, 872,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6464) - mean (267ms) : 263, 271
. : milestone, 267,
master - mean (267ms) : 262, 272
. : milestone, 267,
section CallTarget+Inlining+NGEN
This PR (6464) - mean (852ms) : 827, 877
. : milestone, 852,
master - mean (851ms) : 813, 889
. : milestone, 851,
|
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 (6464) (11.149M) : 0, 11149215
master (11.080M) : 0, 11079759
benchmarks/2.9.0 (11.033M) : 0, 11032866
section Automatic
This PR (6464) (7.288M) : 0, 7287725
master (7.154M) : 0, 7154253
benchmarks/2.9.0 (7.786M) : 0, 7785853
section Trace stats
master (7.512M) : 0, 7512246
section Manual
master (11.035M) : 0, 11035311
section Manual + Automatic
This PR (6464) (6.672M) : 0, 6671897
master (6.611M) : 0, 6611049
section DD_TRACE_ENABLED=0
master (10.155M) : 0, 10155447
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6464) (9.506M) : 0, 9505886
master (9.567M) : 0, 9566967
benchmarks/2.9.0 (9.495M) : 0, 9494821
section Automatic
This PR (6464) (6.346M) : 0, 6345514
master (6.361M) : 0, 6360592
section Trace stats
master (6.540M) : 0, 6540289
section Manual
master (9.643M) : 0, 9642857
section Manual + Automatic
This PR (6464) (5.894M) : 0, 5893945
master (5.877M) : 0, 5877320
section DD_TRACE_ENABLED=0
master (8.928M) : 0, 8928120
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6464) (9.939M) : 0, 9938987
master (9.916M) : 0, 9915888
benchmarks/2.9.0 (10.020M) : 0, 10019592
section Automatic
This PR (6464) (6.293M) : 0, 6293161
master (6.337M) : 0, 6336520
benchmarks/2.9.0 (7.255M) : 0, 7255257
section Trace stats
master (6.963M) : 0, 6963468
section Manual
master (9.842M) : 0, 9842464
section Manual + Automatic
This PR (6464) (6.082M) : 0, 6081719
master (6.172M) : 0, 6171910
section DD_TRACE_ENABLED=0
master (9.319M) : 0, 9318507
|
Benchmarks Report for tracer 🐌Benchmarks for #6464 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‑net472 | 1.123 | 928.44 | 826.62 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 452ns | 0.322ns | 1.25ns | 0.00812 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 660ns | 0.47ns | 1.82ns | 0.00756 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 695ns | 0.521ns | 2.02ns | 0.0915 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 544ns | 0.249ns | 0.963ns | 0.00975 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 717ns | 0.581ns | 2.25ns | 0.00958 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 929ns | 0.627ns | 2.35ns | 0.105 | 0 | 0 | 658 B |
#6464 | StartFinishSpan |
net6.0 | 458ns | 0.253ns | 0.979ns | 0.00806 | 0 | 0 | 576 B |
#6464 | StartFinishSpan |
netcoreapp3.1 | 611ns | 0.576ns | 2.23ns | 0.00765 | 0 | 0 | 576 B |
#6464 | StartFinishSpan |
net472 | 633ns | 0.49ns | 1.9ns | 0.0916 | 0 | 0 | 578 B |
#6464 | StartFinishScope |
net6.0 | 544ns | 0.137ns | 0.495ns | 0.00975 | 0 | 0 | 696 B |
#6464 | StartFinishScope |
netcoreapp3.1 | 695ns | 0.7ns | 2.71ns | 0.00942 | 0 | 0 | 696 B |
#6464 | StartFinishScope |
net472 | 826ns | 0.677ns | 2.62ns | 0.105 | 0 | 0 | 658 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | RunOnMethodBegin |
net6.0 | 621ns | 3.01ns | 12.1ns | 0.00988 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 930ns | 0.674ns | 2.61ns | 0.00935 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.12μs | 0.939ns | 3.64ns | 0.104 | 0 | 0 | 658 B |
#6464 | RunOnMethodBegin |
net6.0 | 630ns | 0.709ns | 2.75ns | 0.00983 | 0 | 0 | 696 B |
#6464 | RunOnMethodBegin |
netcoreapp3.1 | 977ns | 0.653ns | 2.53ns | 0.00931 | 0 | 0 | 696 B |
#6464 | RunOnMethodBegin |
net472 | 1.18μs | 1.05ns | 4.08ns | 0.105 | 0 | 0 | 658 B |
4c5da3c
to
95f058c
Compare
Removed unneeded file Removed utils function Rebase fix
Summary of changes
Fix autogen files checker error when version is bumped
Reason for change
Implementation details
Removed the version string from autoget files so when version bump happens, the autogen file checker does not fail.
Test coverage
Other details