Skip to content

bench: compare Lua-CSharp, MoonSharp and NuLua on .NET 10 - #386

Merged
akeit0 merged 1 commit into
mainfrom
codex/pr-benchmark-comparison
Oct 27, 2026
Merged

akeit0 merged 1 commit into
mainfrom
codex/pr-benchmark-comparison

Conversation

@akeit0

@akeit0 akeit0 commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

Separate retained-chunk execution, source compilation and state startup, using shared Lua workloads with independent checksums. Add the NuLua.Lua52 0.1.0 backend alongside MoonSharp 2.0.0, and keep the older suites behind --legacy.

Initialize only the measured engine. Use bounded compilation batches because MoonSharp retains loaded sources, and add control-flow, identifier, plain-string and escaped-string compiler cases. Return LuaState resources from the legacy shared benchmark core. With no arguments, use BenchmarkDotNet's selector rather than starting a broad run.

Provide reproduction commands and explain the measurement boundaries, including the native-memory limitation. Generated run reports stay local. Validation: all 15 distinct checksums pass twice on three engines and both Lua-CSharp string modes; 12 selected BenchmarkDotNet measurements completed; Release build and CSharpier pass. CI runs checksum verification, not timing measurements.

@akeit0
akeit0 force-pushed the codex/pr-benchmark-comparison branch from e330ef8 to f54e526 Compare October 27, 2026 06:08
@akeit0
akeit0 marked this pull request as ready for review October 27, 2026 06:22
@akeit0
akeit0 merged commit 6bdfacb 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