Skip to content

bench: compare .NET 10 JIT and NativeAOT compilation and execution - #387

Merged
akeit0 merged 1 commit into
mainfrom
codex/pr-nativeaot-benchmarks
Oct 27, 2026
Merged

akeit0 merged 1 commit into
mainfrom
codex/pr-nativeaot-benchmarks

Conversation

@akeit0

@akeit0 akeit0 commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

Add a separate NativeAOT benchmark host that shares the comparison workloads and Lua-CSharp wrapper. Measure source compilation and retained bytecode execution under JIT and NativeAOT, with the native compiler/runtime pinned to 10.0.14 and the CPU instruction set recorded.

Each benchmark process verifies its selected workload before timing. Document build prerequisites, bounded compilation batches and how to run a focused case. Generated run reports stay local.

Validation: the managed host checks all 15 distinct workloads in both string modes. Four selected JIT/NativeAOT measurements completed, including checksum checks inside the published native executables. Release build and CSharpier pass.

@akeit0
akeit0 force-pushed the codex/pr-nativeaot-benchmarks branch 2 times, most recently from 03536cc to 3e8a278 Compare October 27, 2026 06:08
@akeit0
akeit0 force-pushed the codex/pr-benchmark-comparison branch from e330ef8 to f54e526 Compare October 27, 2026 06:08
@akeit0
akeit0 changed the base branch from codex/pr-benchmark-comparison to main October 27, 2026 06:23
@akeit0
akeit0 force-pushed the codex/pr-nativeaot-benchmarks branch from 3e8a278 to 3ab6b48 Compare October 27, 2026 06:23
@akeit0
akeit0 marked this pull request as ready for review October 27, 2026 06:23
@akeit0
akeit0 merged commit afa5c51 into main Oct 27, 2026
2 checks passed
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