Repository navigation
perf(sourcegen): avoid nested value-tuple pipeline shapes in hook and polyfill generators - #7734
Conversation
… polyfill generators The hook generator chained three Combines of collected arrays and the polyfill generators combined two bools. Each of those tuple shapes made a cold compiler JIT its own copy of Roslyn's generic node code.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
[Low impact] The PR appears safe to merge; no actionable issues were found. SummaryThis PR reshapes two source-generator pipelines to reduce cold-build work without changing generated output.
No actionable issues found. Tests were not run during this review. Reviews (2) · Last reviewed commit: "perf(sourcegen): avoid nested value-tupl..." · Reviewed by Greptile |
|
Review: looks good. Both changes are behaviour-preserving refactors:
The PR reports no snapshot changes and the incremental tests passing. The ~8 ms gain is small and near the noise, but the change adds no complexity and removes the value-tuple generic instantiations. No blocking concerns. |
Updated [TUnit](https://github.com/thomhurst/TUnit) from 1.83.8 to 1.86.6. <details> <summary>Release notes</summary> _Sourced from [TUnit's releases](https://github.com/thomhurst/TUnit/releases)._ ## 1.86.6 <!-- Release notes generated using configuration in .github/release.yml at v1.86.6 --> ## What's Changed ### Other Changes * feat: convert string [Arguments] to CultureInfo, Uri and Version by @thomhurst in thomhurst/TUnit#7800 * fix(assertions): treat the same instance as equivalent in IsEquivalentTo by @mohsinaliwork686-rgb in thomhurst/TUnit#7799 ### Dependencies * chore(deps): update all non-major dependencies by @thomhurst in thomhurst/TUnit#7797 * chore(deps): update dependency verify.tool to v1 by @thomhurst in thomhurst/TUnit#7803 * chore(deps): update dependency mockolate to 4.1.1 by @thomhurst in thomhurst/TUnit#7802 ## New Contributors * @mohsinaliwork686-rgb made their first contribution in thomhurst/TUnit#7799 **Full Changelog**: thomhurst/TUnit@v1.86.0...v1.86.6 ## 1.86.0 <!-- Release notes generated using configuration in .github/release.yml at v1.86.0 --> ## What's Changed ### Other Changes * fix(assertions): keep the awaited value and drill-ins after Because by @JohnVerheij in thomhurst/TUnit#7788 * fix(assertions)!: collection checks no longer chain without And/Or by @thomhurst in thomhurst/TUnit#7791 * test: fix flaky owner-collection check in ExternalObjectOwnershipTests by @thomhurst in thomhurst/TUnit#7794 * fix(assertions): keep a value-type result of AssertionResult<T> as T by @JohnVerheij in thomhurst/TUnit#7793 ### Dependencies * chore(deps): update all non-major dependencies by @thomhurst in thomhurst/TUnit#7790 **Full Changelog**: thomhurst/TUnit@v1.85.7...v1.86.0 ## 1.85.7 <!-- Release notes generated using configuration in .github/release.yml at v1.85.7 --> ## What's Changed ### Other Changes * fix: read custom data source row metadata without reflection in source-generated mode by @thomhurst in thomhurst/TUnit#7784 ### Dependencies * chore(deps): update all non-major dependencies to 1.85.0 by @thomhurst in thomhurst/TUnit#7777 * chore(deps): update dependency coverlet.collector to 10.1.1 by @thomhurst in thomhurst/TUnit#7780 * chore(deps): update all non-major dependencies to 33.5.0 by @thomhurst in thomhurst/TUnit#7783 **Full Changelog**: thomhurst/TUnit@v1.85.0...v1.85.7 ## 1.85.0 <!-- Release notes generated using configuration in .github/release.yml at v1.85.0 --> ## What's Changed ### Other Changes * fix(deps): keep net8.0/net10.0 on OpenTelemetry 1.20.x by @thomhurst in thomhurst/TUnit#7758 * chore(deps): pin runtime-versioned packages to their target framework's major by @thomhurst in thomhurst/TUnit#7762 * Migrate the build pipeline to ModularPipelines v4 by @thomhurst in thomhurst/TUnit#7702 * ci: select Xcode 27.2 for the Apple smoke tests by @thomhurst in thomhurst/TUnit#7765 * chore(deps): cap Threading analyzers below 18.7.65 and FSharp.Core below 11 in Renovate by @thomhurst in thomhurst/TUnit#7766 * feat: respect system theme in HTML reports by @ahmedsamy56 in thomhurst/TUnit#7768 * feat: convert string [Arguments] through declared TypeConverters by @thomhurst in thomhurst/TUnit#7759 * ci: skip the scene manifest check for the Apple smoke app by @thomhurst in thomhurst/TUnit#7770 * fix: convert string [Arguments] to IParsable types under Native AOT by @thomhurst in thomhurst/TUnit#7761 ### Dependencies * chore(deps): update all non-major dependencies by @thomhurst in thomhurst/TUnit#7749 * chore(deps): update dependency mockolate to v4 by @thomhurst in thomhurst/TUnit#7757 * chore(deps): update dependency microsoft.templateengine.authoring.templateverifier to v11 by @thomhurst in thomhurst/TUnit#7718 * chore(deps): update all non-major dependencies by @thomhurst in thomhurst/TUnit#7751 ## New Contributors * @ahmedsamy56 made their first contribution in thomhurst/TUnit#7768 **Full Changelog**: thomhurst/TUnit@v1.84.0...v1.85.0 ## 1.84.0 <!-- Release notes generated using configuration in .github/release.yml at v1.84.0 --> ## What's Changed ### Other Changes * docs: show TUnit Native AOT in the homepage JIT race by @thomhurst in thomhurst/TUnit#7724 * chore(deps): update remaining TUnit packages to 1.83.8 by @thomhurst in thomhurst/TUnit#7728 * bench: run build benchmarks without build servers by @thomhurst in thomhurst/TUnit#7730 * perf(sourcegen): avoid nested value-tuple pipeline shapes in hook and polyfill generators by @thomhurst in thomhurst/TUnit#7734 * perf(sourcegen): make EquatableArray a class to cut cold-build JIT by @thomhurst in thomhurst/TUnit#7731 * perf(sourcegen): share one reference-type enabled flag across generators by @thomhurst in thomhurst/TUnit#7733 * ci: exempt v2 issues from the stale bot by @thomhurst in thomhurst/TUnit#7744 * feat(reporters): add file and line to JUnit test cases by @xanth in thomhurst/TUnit#7738 * fix: restore the net8.0 target for the packaged libraries by @thomhurst in thomhurst/TUnit#7743 * fix: restore net8.0/net9.0 support on the netstandard2.0 assets by @thomhurst in thomhurst/TUnit#7742 ### Dependencies * chore(deps): update all non-major dependencies by @thomhurst in thomhurst/TUnit#7722 * chore(deps): update dependency system.commandline to v3 by @thomhurst in thomhurst/TUnit#7723 * chore(deps): update all non-major dependencies by @thomhurst in thomhurst/TUnit#7725 * chore(deps): update dependency awssdk.sqs to 4.1.0 by @thomhurst in thomhurst/TUnit#7737 ## New Contributors * @xanth made their first contribution in thomhurst/TUnit#7738 **Full Changelog**: thomhurst/TUnit@v1.83.8...v1.84.0 Commits viewable in [compare view](thomhurst/TUnit@v1.83.8...v1.86.6). </details> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Updated [AngleSharp](https://github.com/AngleSharp/AngleSharp) from 1.10.2 to 1.10.4. <details> <summary>Release notes</summary> _Sourced from [AngleSharp's releases](https://github.com/AngleSharp/AngleSharp/releases)._ ## 1.10.4 Released on Sunday, November 15 2026. ## What's Changed - Fixed media elements never getting the controller of their resource - Fixed media elements forgetting what a script set before their resource arrived (e.g. `new Audio(src).play()` or the volume) - Fixed media elements not loading their `source` elements, and loading the first one regardless of its type - Fixed `paused` of a media element being false before it plays, and `duration` being 0 instead of `NaN` without a resource - Added the events of a media element's controller reaching the element and those of the state the element changes itself - Added `loop` and `autoplay` to media elements and media pausing once removed from their document - Added the `error` of a media element whose resource can't be played or decoded - Added `play()` of media elements giving a promise (`HtmlMediaElementExtensions.PlayAsync`) - Released 1.10.4 by @FlorianRappl in AngleSharp/AngleSharp#1414 **Full Changelog**: AngleSharp/AngleSharp@v1.10.3...v1.10.4 ## 1.10.3 Released on Friday, November 13 2026. ## What's Changed - Fixed events of a document's nodes not reaching its window (except `load`) - Fixed `composedPath()` of an event giving scripts no array and not starting with the target - Fixed a script element parsed with another type never running once a script gives it a source - Fixed other scripts running between a script and its `load` event when there is an event loop, so that SystemJS gave modules the registration of another script (e.g. failing micro frontends loaded with it) - Fixed the `code` of a keyboard event created from a key value being empty for the modifier keys (e.g. `ControlLeft` for `Control`) and the function keys - Released 1.10.3 by @FlorianRappl in AngleSharp/AngleSharp#1413 **Full Changelog**: AngleSharp/AngleSharp@v1.10.2...v1.10.3 Commits viewable in [compare view](AngleSharp/AngleSharp@v1.10.2...v1.10.4). </details> Updated [curb-cli](https://github.com/nullean/curb) from 0.14.2 to 0.15.1. <details> <summary>Release notes</summary> _Sourced from [curb-cli's releases](https://github.com/nullean/curb/releases)._ ## 0.15.1 ## 🐛 Bug Fixes - Keep an empty initializer the author opened out opened out by @Mpdreamz in #362 - Leave initializer lines where dotnet format does when their statement moves by @Mpdreamz in #361 - Keep the lines the author broke in a for header by @Mpdreamz in #360 **Full Changelog**: nullean/curb@0.15.0...0.15.1 ## 0.15.0 ## ✨ Features - Skip rewrites the project's C# version cannot compile by @Mpdreamz in #349 ## 🐛 Bug Fixes - End the line after a lambda block below its => and before an indexer's ] by @Mpdreamz in #354 - Keep a declaration's lines where the author broke it between declarators by @Mpdreamz in #353 - Keep a break just inside a using, fixed or foreach header's parentheses by @Mpdreamz in #348 - Put a tuple's ) after a block lambda on its own line by @Mpdreamz in #347 **Full Changelog**: nullean/curb@0.14.3...0.15.0 ## 0.14.3 ## 🐛 Bug Fixes - Keep a condition the author put below its ( at their column by @Mpdreamz in #344 - Leave an empty block statement out of csharp_empty_block_style by @Mpdreamz in #339 - Keep a break just inside a switch statement's parentheses by @Mpdreamz in #342 - Keep a flat body below a comment on a line of its own by @Mpdreamz in #341 **Full Changelog**: nullean/curb@0.14.2...0.14.3 Commits viewable in [compare view](nullean/curb@0.14.2...0.15.1). </details> Updated [Microsoft.CodeAnalysis.CSharp](https://github.com/dotnet/roslyn) from 5.9.0 to 5.12.0. <details> <summary>Release notes</summary> _Sourced from [Microsoft.CodeAnalysis.CSharp's releases](https://github.com/dotnet/roslyn/releases)._ No release notes found for this version range. Commits viewable in [compare view](https://github.com/dotnet/roslyn/commits). </details> Updated [Nullean.Argh](https://github.com/nullean/argh) from 0.30.0 to 0.30.1. <details> <summary>Release notes</summary> _Sourced from [Nullean.Argh's releases](https://github.com/nullean/argh/releases)._ ## 0.30.1 ## 🐛 Bug Fixes - Name the enum member a parameter's default refers to by @Mpdreamz in #151 - Make ./build.cs run: fix its shebang by @Mpdreamz in #150 ## 🧰 Maintenance - Build argh with the Runna packages, runna's new IDs by @Mpdreamz in #149 - Build argh with runna 0.1.0 instead of the last Nullean.Make by @Mpdreamz in #148 - Move Nullean.Make out to its own repository, runna by @Mpdreamz in #147 ## ⚙️ Automation - Run macOS on main only, and release only what main proved by @Mpdreamz in #146 **Full Changelog**: nullean/argh@0.30.0...0.30.1 <!-- public-api-changes --> ### API Changes: `Nullean.Argh.Core` ```diff Scanned: 📑 1 assemblies(s), Suggested change in version: Patch + 0 breaking change(s) detected. 🌟 0 new additions, 🔴 0 removals, 🔷 0 modifications ``` ### API Changes: `Nullean.Argh.Hosting` ```diff Scanned: 📑 1 assemblies(s), Suggested change in version: Patch + 0 breaking change(s) detected. 🌟 0 new additions, 🔴 0 removals, 🔷 0 modifications ``` ### API Changes: `Nullean.Argh.Interfaces` ```diff Scanned: 📑 1 assemblies(s), Suggested change in version: Patch + 0 breaking change(s) detected. 🌟 0 new additions, 🔴 0 removals, 🔷 0 modifications ``` Commits viewable in [compare view](nullean/argh@0.30.0...0.30.1). </details> Updated [System.IO.Abstractions](https://github.com/TestableIO/System.IO.Abstractions) from 23.0.0 to 23.0.1. <details> <summary>Release notes</summary> _Sourced from [System.IO.Abstractions's releases](https://github.com/TestableIO/System.IO.Abstractions/releases)._ ## 23.0.1 ## What's Changed * chore(deps): update dependency awexpect to v4 by @renovate[bot] in TestableIO/System.IO.Abstractions#1580 * chore(deps): update dependency awexpect.testably to v3 by @renovate[bot] in TestableIO/System.IO.Abstractions#1582 * chore(deps): update dependency microsoft.net.test.sdk to 18.12.0 by @renovate[bot] in TestableIO/System.IO.Abstractions#1583 * chore(deps): update dependency sharpcompress to 0.50.9 by @renovate[bot] in TestableIO/System.IO.Abstractions#1584 * chore(deps): update dependency awexpect to 4.1.0 by @renovate[bot] in TestableIO/System.IO.Abstractions#1585 * chore(deps): update dependency mockolate to v4 by @renovate[bot] in TestableIO/System.IO.Abstractions#1586 * chore(deps): update dependency awexpect.mockolate to v4 by @renovate[bot] in TestableIO/System.IO.Abstractions#1587 * chore(deps): update dependency awexpect to 4.2.0 by @renovate[bot] in TestableIO/System.IO.Abstractions#1588 * chore(deps): update dependency coverlet.collector to 10.1.1 by @renovate[bot] in TestableIO/System.IO.Abstractions#1589 * chore(deps): update dependency mockolate to 4.1.0 by @renovate[bot] in TestableIO/System.IO.Abstractions#1590 * fix: name the Unix root drive `/` instead of `/:\` by @mohsinaliwork686-rgb in TestableIO/System.IO.Abstractions#1591 ## New Contributors * @mohsinaliwork686-rgb made their first contribution in TestableIO/System.IO.Abstractions#1591 **Full Changelog**: TestableIO/System.IO.Abstractions@v23.0.0...v23.0.1 Commits viewable in [compare view](TestableIO/System.IO.Abstractions@v23.0.0...v23.0.1). </details> Updated [TestableIO.System.IO.Abstractions.TestingHelpers](https://github.com/TestableIO/System.IO.Abstractions) from 23.0.0 to 23.0.1. <details> <summary>Release notes</summary> _Sourced from [TestableIO.System.IO.Abstractions.TestingHelpers's releases](https://github.com/TestableIO/System.IO.Abstractions/releases)._ ## 23.0.1 ## What's Changed * chore(deps): update dependency awexpect to v4 by @renovate[bot] in TestableIO/System.IO.Abstractions#1580 * chore(deps): update dependency awexpect.testably to v3 by @renovate[bot] in TestableIO/System.IO.Abstractions#1582 * chore(deps): update dependency microsoft.net.test.sdk to 18.12.0 by @renovate[bot] in TestableIO/System.IO.Abstractions#1583 * chore(deps): update dependency sharpcompress to 0.50.9 by @renovate[bot] in TestableIO/System.IO.Abstractions#1584 * chore(deps): update dependency awexpect to 4.1.0 by @renovate[bot] in TestableIO/System.IO.Abstractions#1585 * chore(deps): update dependency mockolate to v4 by @renovate[bot] in TestableIO/System.IO.Abstractions#1586 * chore(deps): update dependency awexpect.mockolate to v4 by @renovate[bot] in TestableIO/System.IO.Abstractions#1587 * chore(deps): update dependency awexpect to 4.2.0 by @renovate[bot] in TestableIO/System.IO.Abstractions#1588 * chore(deps): update dependency coverlet.collector to 10.1.1 by @renovate[bot] in TestableIO/System.IO.Abstractions#1589 * chore(deps): update dependency mockolate to 4.1.0 by @renovate[bot] in TestableIO/System.IO.Abstractions#1590 * fix: name the Unix root drive `/` instead of `/:\` by @mohsinaliwork686-rgb in TestableIO/System.IO.Abstractions#1591 ## New Contributors * @mohsinaliwork686-rgb made their first contribution in TestableIO/System.IO.Abstractions#1591 **Full Changelog**: TestableIO/System.IO.Abstractions@v23.0.0...v23.0.1 Commits viewable in [compare view](TestableIO/System.IO.Abstractions@v23.0.0...v23.0.1). </details> Updated [TUnit](https://github.com/thomhurst/TUnit) from 1.83.8 to 1.86.6. <details> <summary>Release notes</summary> _Sourced from [TUnit's releases](https://github.com/thomhurst/TUnit/releases)._ ## 1.86.6 <!-- Release notes generated using configuration in .github/release.yml at v1.86.6 --> ## What's Changed ### Other Changes * feat: convert string [Arguments] to CultureInfo, Uri and Version by @thomhurst in thomhurst/TUnit#7800 * fix(assertions): treat the same instance as equivalent in IsEquivalentTo by @mohsinaliwork686-rgb in thomhurst/TUnit#7799 ### Dependencies * chore(deps): update all non-major dependencies by @thomhurst in thomhurst/TUnit#7797 * chore(deps): update dependency verify.tool to v1 by @thomhurst in thomhurst/TUnit#7803 * chore(deps): update dependency mockolate to 4.1.1 by @thomhurst in thomhurst/TUnit#7802 ## New Contributors * @mohsinaliwork686-rgb made their first contribution in thomhurst/TUnit#7799 **Full Changelog**: thomhurst/TUnit@v1.86.0...v1.86.6 ## 1.86.0 <!-- Release notes generated using configuration in .github/release.yml at v1.86.0 --> ## What's Changed ### Other Changes * fix(assertions): keep the awaited value and drill-ins after Because by @JohnVerheij in thomhurst/TUnit#7788 * fix(assertions)!: collection checks no longer chain without And/Or by @thomhurst in thomhurst/TUnit#7791 * test: fix flaky owner-collection check in ExternalObjectOwnershipTests by @thomhurst in thomhurst/TUnit#7794 * fix(assertions): keep a value-type result of AssertionResult<T> as T by @JohnVerheij in thomhurst/TUnit#7793 ### Dependencies * chore(deps): update all non-major dependencies by @thomhurst in thomhurst/TUnit#7790 **Full Changelog**: thomhurst/TUnit@v1.85.7...v1.86.0 ## 1.85.7 <!-- Release notes generated using configuration in .github/release.yml at v1.85.7 --> ## What's Changed ### Other Changes * fix: read custom data source row metadata without reflection in source-generated mode by @thomhurst in thomhurst/TUnit#7784 ### Dependencies * chore(deps): update all non-major dependencies to 1.85.0 by @thomhurst in thomhurst/TUnit#7777 * chore(deps): update dependency coverlet.collector to 10.1.1 by @thomhurst in thomhurst/TUnit#7780 * chore(deps): update all non-major dependencies to 33.5.0 by @thomhurst in thomhurst/TUnit#7783 **Full Changelog**: thomhurst/TUnit@v1.85.0...v1.85.7 ## 1.85.0 <!-- Release notes generated using configuration in .github/release.yml at v1.85.0 --> ## What's Changed ### Other Changes * fix(deps): keep net8.0/net10.0 on OpenTelemetry 1.20.x by @thomhurst in thomhurst/TUnit#7758 * chore(deps): pin runtime-versioned packages to their target framework's major by @thomhurst in thomhurst/TUnit#7762 * Migrate the build pipeline to ModularPipelines v4 by @thomhurst in thomhurst/TUnit#7702 * ci: select Xcode 27.2 for the Apple smoke tests by @thomhurst in thomhurst/TUnit#7765 * chore(deps): cap Threading analyzers below 18.7.65 and FSharp.Core below 11 in Renovate by @thomhurst in thomhurst/TUnit#7766 * feat: respect system theme in HTML reports by @ahmedsamy56 in thomhurst/TUnit#7768 * feat: convert string [Arguments] through declared TypeConverters by @thomhurst in thomhurst/TUnit#7759 * ci: skip the scene manifest check for the Apple smoke app by @thomhurst in thomhurst/TUnit#7770 * fix: convert string [Arguments] to IParsable types under Native AOT by @thomhurst in thomhurst/TUnit#7761 ### Dependencies * chore(deps): update all non-major dependencies by @thomhurst in thomhurst/TUnit#7749 * chore(deps): update dependency mockolate to v4 by @thomhurst in thomhurst/TUnit#7757 * chore(deps): update dependency microsoft.templateengine.authoring.templateverifier to v11 by @thomhurst in thomhurst/TUnit#7718 * chore(deps): update all non-major dependencies by @thomhurst in thomhurst/TUnit#7751 ## New Contributors * @ahmedsamy56 made their first contribution in thomhurst/TUnit#7768 **Full Changelog**: thomhurst/TUnit@v1.84.0...v1.85.0 ## 1.84.0 <!-- Release notes generated using configuration in .github/release.yml at v1.84.0 --> ## What's Changed ### Other Changes * docs: show TUnit Native AOT in the homepage JIT race by @thomhurst in thomhurst/TUnit#7724 * chore(deps): update remaining TUnit packages to 1.83.8 by @thomhurst in thomhurst/TUnit#7728 * bench: run build benchmarks without build servers by @thomhurst in thomhurst/TUnit#7730 * perf(sourcegen): avoid nested value-tuple pipeline shapes in hook and polyfill generators by @thomhurst in thomhurst/TUnit#7734 * perf(sourcegen): make EquatableArray a class to cut cold-build JIT by @thomhurst in thomhurst/TUnit#7731 * perf(sourcegen): share one reference-type enabled flag across generators by @thomhurst in thomhurst/TUnit#7733 * ci: exempt v2 issues from the stale bot by @thomhurst in thomhurst/TUnit#7744 * feat(reporters): add file and line to JUnit test cases by @xanth in thomhurst/TUnit#7738 * fix: restore the net8.0 target for the packaged libraries by @thomhurst in thomhurst/TUnit#7743 * fix: restore net8.0/net9.0 support on the netstandard2.0 assets by @thomhurst in thomhurst/TUnit#7742 ### Dependencies * chore(deps): update all non-major dependencies by @thomhurst in thomhurst/TUnit#7722 * chore(deps): update dependency system.commandline to v3 by @thomhurst in thomhurst/TUnit#7723 * chore(deps): update all non-major dependencies by @thomhurst in thomhurst/TUnit#7725 * chore(deps): update dependency awssdk.sqs to 4.1.0 by @thomhurst in thomhurst/TUnit#7737 ## New Contributors * @xanth made their first contribution in thomhurst/TUnit#7738 **Full Changelog**: thomhurst/TUnit@v1.83.8...v1.84.0 Commits viewable in [compare view](thomhurst/TUnit@v1.83.8...v1.86.6). </details> Updated [TUnit.Core](https://github.com/thomhurst/TUnit) from 1.83.8 to 1.86.6. <details> <summary>Release notes</summary> _Sourced from [TUnit.Core's releases](https://github.com/thomhurst/TUnit/releases)._ ## 1.86.6 <!-- Release notes generated using configuration in .github/release.yml at v1.86.6 --> ## What's Changed ### Other Changes * feat: convert string [Arguments] to CultureInfo, Uri and Version by @thomhurst in thomhurst/TUnit#7800 * fix(assertions): treat the same instance as equivalent in IsEquivalentTo by @mohsinaliwork686-rgb in thomhurst/TUnit#7799 ### Dependencies * chore(deps): update all non-major dependencies by @thomhurst in thomhurst/TUnit#7797 * chore(deps): update dependency verify.tool to v1 by @thomhurst in thomhurst/TUnit#7803 * chore(deps): update dependency mockolate to 4.1.1 by @thomhurst in thomhurst/TUnit#7802 ## New Contributors * @mohsinaliwork686-rgb made their first contribution in thomhurst/TUnit#7799 **Full Changelog**: thomhurst/TUnit@v1.86.0...v1.86.6 ## 1.86.0 <!-- Release notes generated using configuration in .github/release.yml at v1.86.0 --> ## What's Changed ### Other Changes * fix(assertions): keep the awaited value and drill-ins after Because by @JohnVerheij in thomhurst/TUnit#7788 * fix(assertions)!: collection checks no longer chain without And/Or by @thomhurst in thomhurst/TUnit#7791 * test: fix flaky owner-collection check in ExternalObjectOwnershipTests by @thomhurst in thomhurst/TUnit#7794 * fix(assertions): keep a value-type result of AssertionResult<T> as T by @JohnVerheij in thomhurst/TUnit#7793 ### Dependencies * chore(deps): update all non-major dependencies by @thomhurst in thomhurst/TUnit#7790 **Full Changelog**: thomhurst/TUnit@v1.85.7...v1.86.0 ## 1.85.7 <!-- Release notes generated using configuration in .github/release.yml at v1.85.7 --> ## What's Changed ### Other Changes * fix: read custom data source row metadata without reflection in source-generated mode by @thomhurst in thomhurst/TUnit#7784 ### Dependencies * chore(deps): update all non-major dependencies to 1.85.0 by @thomhurst in thomhurst/TUnit#7777 * chore(deps): update dependency coverlet.collector to 10.1.1 by @thomhurst in thomhurst/TUnit#7780 * chore(deps): update all non-major dependencies to 33.5.0 by @thomhurst in thomhurst/TUnit#7783 **Full Changelog**: thomhurst/TUnit@v1.85.0...v1.85.7 ## 1.85.0 <!-- Release notes generated using configuration in .github/release.yml at v1.85.0 --> ## What's Changed ### Other Changes * fix(deps): keep net8.0/net10.0 on OpenTelemetry 1.20.x by @thomhurst in thomhurst/TUnit#7758 * chore(deps): pin runtime-versioned packages to their target framework's major by @thomhurst in thomhurst/TUnit#7762 * Migrate the build pipeline to ModularPipelines v4 by @thomhurst in thomhurst/TUnit#7702 * ci: select Xcode 27.2 for the Apple smoke tests by @thomhurst in thomhurst/TUnit#7765 * chore(deps): cap Threading analyzers below 18.7.65 and FSharp.Core below 11 in Renovate by @thomhurst in thomhurst/TUnit#7766 * feat: respect system theme in HTML reports by @ahmedsamy56 in thomhurst/TUnit#7768 * feat: convert string [Arguments] through declared TypeConverters by @thomhurst in thomhurst/TUnit#7759 * ci: skip the scene manifest check for the Apple smoke app by @thomhurst in thomhurst/TUnit#7770 * fix: convert string [Arguments] to IParsable types under Native AOT by @thomhurst in thomhurst/TUnit#7761 ### Dependencies * chore(deps): update all non-major dependencies by @thomhurst in thomhurst/TUnit#7749 * chore(deps): update dependency mockolate to v4 by @thomhurst in thomhurst/TUnit#7757 * chore(deps): update dependency microsoft.templateengine.authoring.templateverifier to v11 by @thomhurst in thomhurst/TUnit#7718 * chore(deps): update all non-major dependencies by @thomhurst in thomhurst/TUnit#7751 ## New Contributors * @ahmedsamy56 made their first contribution in thomhurst/TUnit#7768 **Full Changelog**: thomhurst/TUnit@v1.84.0...v1.85.0 ## 1.84.0 <!-- Release notes generated using configuration in .github/release.yml at v1.84.0 --> ## What's Changed ### Other Changes * docs: show TUnit Native AOT in the homepage JIT race by @thomhurst in thomhurst/TUnit#7724 * chore(deps): update remaining TUnit packages to 1.83.8 by @thomhurst in thomhurst/TUnit#7728 * bench: run build benchmarks without build servers by @thomhurst in thomhurst/TUnit#7730 * perf(sourcegen): avoid nested value-tuple pipeline shapes in hook and polyfill generators by @thomhurst in thomhurst/TUnit#7734 * perf(sourcegen): make EquatableArray a class to cut cold-build JIT by @thomhurst in thomhurst/TUnit#7731 * perf(sourcegen): share one reference-type enabled flag across generators by @thomhurst in thomhurst/TUnit#7733 * ci: exempt v2 issues from the stale bot by @thomhurst in thomhurst/TUnit#7744 * feat(reporters): add file and line to JUnit test cases by @xanth in thomhurst/TUnit#7738 * fix: restore the net8.0 target for the packaged libraries by @thomhurst in thomhurst/TUnit#7743 * fix: restore net8.0/net9.0 support on the netstandard2.0 assets by @thomhurst in thomhurst/TUnit#7742 ### Dependencies * chore(deps): update all non-major dependencies by @thomhurst in thomhurst/TUnit#7722 * chore(deps): update dependency system.commandline to v3 by @thomhurst in thomhurst/TUnit#7723 * chore(deps): update all non-major dependencies by @thomhurst in thomhurst/TUnit#7725 * chore(deps): update dependency awssdk.sqs to 4.1.0 by @thomhurst in thomhurst/TUnit#7737 ## New Contributors * @xanth made their first contribution in thomhurst/TUnit#7738 **Full Changelog**: thomhurst/TUnit@v1.83.8...v1.84.0 Commits viewable in [compare view](thomhurst/TUnit@v1.83.8...v1.86.6). </details> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Third in the cold-build series after #7731 and #7733, and independent of both.
Two more places where a pipeline carried value-type tuple shapes that only TUnit uses, so a cold compiler had to JIT its own copy of
NodeStateTable<T>,CombineNode,TransformNodeetc. for each one:before.Collect().Combine(after.Collect()).Combine(beforeEvery.Collect()).Combine(afterEvery.Collect())produced((a, b), c)and(((a, b), c), d)tuples ofImmutableArray. The four collects are now combined in two pairs, each flattened to an array, then combined once. The result handed to the rest of the pipeline is the same four-element array as before.boolsteps combined into(bool, bool). Now one step over(Compilation, AnalyzerConfigOptionsProvider)that yields the source text to add, or null. The compilation step already re-ranHasAccessibleAttributeon every compilation, so this does no extra work per edit.Numbers
Cold
csc(no compiler server) ontools/speed-comparison/UnifiedTests, macOS arm64, measured againstmain. Two sets of 100 interleaved runs each, since the effect is close to the noise:About 8 ms on average.
Testing
TUnit.Core.SourceGenerator.Tests(net11.0): 395 passed, 1 skipped, no snapshot changesTUnit.SourceGenerator.IncrementalTests: 85 passedSummary by CodeRabbit