Skip to content

perf(benchmarks): bump TargetFramework net8.0 → net10.0 (#220)#227

Merged
Chris-Wolfgang merged 2 commits into
vNextfrom
tier2/220-benchmarks-net10
Jun 30, 2026
Merged

perf(benchmarks): bump TargetFramework net8.0 → net10.0 (#220)#227
Chris-Wolfgang merged 2 commits into
vNextfrom
tier2/220-benchmarks-net10

Conversation

@Chris-Wolfgang

Copy link
Copy Markdown
Owner

Summary

Src ships net10.0; benchmark numbers should reflect the modern runtime consumers actually use. Bumps benchmarks/Wolfgang.TryPattern.Benchmarks.csproj from <TargetFramework>net8.0</TargetFramework> to net10.0 and updates .github/workflows/benchmarks.yaml's setup-dotnet step from 8.0.x to 10.0.x so the post-merge benchmark publish keeps working.

Stacked on #226. Base auto-promotes to vNext when #226 merges.

Test plan

  • dotnet build benchmarks/Wolfgang.TryPattern.Benchmarks -c Release clean (0 warnings, 0 errors)
  • After merge to main: Benchmarks workflow run completes successfully (was previously red on the recent main push — same cause; this PR fixes it)

Protected-file note

This PR touches .github/workflows/benchmarks.yaml, which trips the Detect .NET Projects guard. Needs maintainer admin-bypass to merge per protected-file-pr-split. The csproj + workflow updates are tightly coupled (csproj alone breaks the workflow build; workflow alone has no project to run against), so they must land together.

Closes #220

The src project ships net10.0 as a target; benchmark numbers should
reflect what consumers on the modern runtime actually see. Bumps the
benchmarks csproj and the benchmarks.yaml SDK install to match.

The .github/workflows/benchmarks.yaml change makes this a protected-
file PR — needs admin-bypass merge per protected-file-pr-split.

Closes #220
Base automatically changed from tier2/221-readme-async-db-example-v2 to vNext June 30, 2026 00:33
@Chris-Wolfgang Chris-Wolfgang merged commit 17c6a48 into vNext Jun 30, 2026
@Chris-Wolfgang Chris-Wolfgang deleted the tier2/220-benchmarks-net10 branch June 30, 2026 00:34
Chris-Wolfgang added a commit that referenced this pull request Jun 30, 2026
Tier-2 cleanup round surfaced by the v0.3.3 AI code-review pass. No
public API change in Wolfgang.TryPattern itself; PATCH bump per SemVer.

Contents this release:

- Docs: README database example converted to Try.RunAsync /
  ExecuteReaderAsync (#226, closes #221)
- Perf: benchmarks project bumped net8.0 -> net10.0 + workflow SDK
  install bumped to 10.0.x (#227, closes #220)
- Fix: PublicApiAnalyzer manifest — Result<T>.Value.get moved into
  per-TFM split (modern: T?, legacy: T); the previous top-level entry
  was silently wrong against modern builds (#228, closes #219)
- Chore: xunit.runner.visualstudio bumped 3.0.0 -> 3.1.5 (latest 3.x
  GA; xunit core 2.9.3 stays put — 3.x runner supports xunit 1/2/3)
  (#229, closes #218)
- Chore: test directory + namespace aligned under single
  Wolfgang.TryPattern.Tests.Unit identity (directory, csproj,
  assembly, namespace, sln + stryker config) (#231, closes #222)
- Fix: scripts/build-pr.ps1 restored -UseBasicParsing on
  Invoke-WebRequest (#230, merged directly to main)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant