Skip to content

Refresh EngineComparison benchmarks for 4.13.0#2704

Merged
lahma merged 1 commit into
sebastienros:mainfrom
lahma:docs-refresh-4-13-0-benchmarks
Jul 15, 2026
Merged

Refresh EngineComparison benchmarks for 4.13.0#2704
lahma merged 1 commit into
sebastienros:mainfrom
lahma:docs-refresh-4-13-0-benchmarks

Conversation

@lahma

@lahma lahma commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Re-ran the full 6-engine × 21-script EngineComparison suite on the 4.13.0 release (same machine, .NET SDK 10.0.301, BenchmarkDotNet 0.15.8; competitor versions unchanged from 4.12.0) and updated Jint.Benchmark/README.md — the results table, the "At a glance" / "Where Jint leads" / "Where Jint trails" prose, "What's new", engine versions and date.

Results

Jint remains the fastest engine on 17 of 21 scripts and the fastest interpreter on all 21. Notable movements vs 4.12.0 (Jint_ParsedScript):

script 4.12.0 4.13.0
dromaeo-3d-cube 5.11 ms 4.66 ms (−9%)
dromaeo-string-base64 24.3 ms 21.8 ms (−10%)
dromaeo-core-eval 0.97 ms 0.92 ms (−6%)
dromaeo-object-array 11.8 ms 11.1 ms (−6%)
json-parse 20.1 ms 19.0 ms (−5%)

These track the 4.13.0 arithmetic hot-path work (unboxed operand lanes, int32 remainder, Unsafe.As, fmod removal) and the read/branch fast paths (member-read caching, guard fusion, hop-0-first slot cache).

A note on dromaeo-object-regexp

That row reads higher than 4.12.0, but it is the highest-variance benchmark in the table (dominated by .NET Regex over short strings). I profiled v4.12.0 vs the release build on the identical workload and the regex execution path is byte-for-byte identical — the movement is measurement variance in the fresh-engine-per-op harness, not an execution change. The README notes this so the row isn't read as a regression. Jint still leads it ~4× over every other engine.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XM8rSnn8j66kDCTaP2exNK

Re-ran the full 6-engine x 21-script EngineComparison suite on the 4.13.0
release (same machine, .NET SDK 10.0.301, BenchmarkDotNet 0.15.8; competitor
versions unchanged from 4.12.0). Updated the results table and the surrounding
prose to the new numbers.

Jint remains the fastest engine on 17 of 21 scripts and the fastest interpreter
on all 21. Highlights vs 4.12.0: dromaeo-3d-cube 5.11 -> 4.66 ms (-9%),
dromaeo-string-base64 24.3 -> 21.8 ms (-10%), and core-eval / object-array /
json-parse each ~5-6% faster, from the 4.13.0 arithmetic and read/branch
hot-path work.

The dromaeo-object-regexp rows are dominated by .NET Regex and are the
highest-variance in the table; the regex execution path is unchanged from
4.12.0 (verified by profiling), so that row is roughly flat, not a movement.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XM8rSnn8j66kDCTaP2exNK
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