Skip to content

bench: add performance samples and simplified report#7

Merged
kzu merged 1 commit into
mainfrom
dev/bench
Jul 6, 2026
Merged

bench: add performance samples and simplified report#7
kzu merged 1 commit into
mainfrom
dev/bench

Conversation

@kzu

@kzu kzu commented Jul 6, 2026

Copy link
Copy Markdown
Member

Summary

  • Added minimal, self-contained samples under samples/ for:
    • no includes
    • #include
    • #ref
    • #include + #ref
  • Added samples/perf.md with the full detailed performance analysis (first-run, re-runs, edit/run, AOT matrix).
  • Simplified root readme.md:
    • Expanded top with value proposition for the go tool.
    • Usage examples using dnx go (as requested).
    • Performance section now focuses only on the key "unchanged re-run" scenarios (the sweet spot), with link to samples/perf.md for full details.
  • Includes the supporting fix in go.targets for proper short-circuit caching (demonstrated in the bench numbers).

All numbers were re-collected after changes, using RID-specific published go.exe and proper AOT variants.

See samples/perf.md and the updated tables in readme.md.

Related

This fulfills the bench goal for performance characteristics of go app.cs vs dotnet run / dotnet publish.

@kzu kzu enabled auto-merge (rebase) July 6, 2026 18:29
- Add minimal samples for no includes, #include, #ref, #include+#ref cases
- Add samples/perf.md with detailed performance analysis
- Simplify root readme.md to focus on value prop, dnx go usage examples, and unchanged re-run numbers only
- Include the go.targets cache fix needed to demonstrate short-circuiting re-runs
@kzu

kzu commented Jul 6, 2026

Copy link
Copy Markdown
Member Author

11 passed 11 passed

🧪 Details on Ubuntu 24.04.4 LTS

from retest v1.1.0 on .NET 10.0.9 with 💜 by @devlooped

@kzu kzu merged commit 6891a5b into main Jul 6, 2026
4 checks passed
@kzu kzu deleted the dev/bench branch July 6, 2026 18:32
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