docs(perf): compare main engines and set next optimization targets - #21
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue # (if available)
N/A
Description of changes
Archive a fresh comparison of repository-pinned QuickJS-ng, quickjs-jit automatic mode, and Bun 1.4.0 default configuration after #19 and #20 merged into clean main
47aeb11. Include forced Tier 1/2 diagnostics, raw samples, methodology/provenance, CSV, confidence intervals, charts, and an evidence-based next-stage optimization roadmap. No runtime behavior changes.Automatic JIT is faster than the interpreter in 8 workloads, statistically tied in 1, and slower in 13, based on per-workload paired 95% intervals. Selected results below express speed relative to the QuickJS-ng interpreter (1x = parity):
These are current-protocol results, not equally warmed peak-engine measurements: QuickJS and Bun differ in process-internal warmup and host timing boundaries. Native counters include warmup. Bun uses a recorded launcher that removes the runner's
--smolflag. The unmerged property candidate9ccda01is excluded.The roadmap prioritizes aligned measurement and steady-state counters, property and generic-call costs, automatic tiering/fallback overhead, then cold start and library hotspots. Property and generic-call stages propose a paired speed lower bound of 1.5x versus the same-harness main baseline, with eventual interpreter parity or better.
Evidence: full comparison, raw samples, methodology, next targets.
Validation:
Checklist