Skip to content

v8: enable maglev on supported architectures#51360

Merged
nodejs-github-bot merged 1 commit intonodejs:mainfrom
kvakil:enable-maglev-default
Jan 8, 2024
Merged

v8: enable maglev on supported architectures#51360
nodejs-github-bot merged 1 commit intonodejs:mainfrom
kvakil:enable-maglev-default

Conversation

@kvakil
Copy link
Copy Markdown
Contributor

@kvakil kvakil commented Jan 4, 2024

Enable V8's new maglev compiler by default on supported architectures.
This brings modest performance improvements for short-lived workloads
like CLI programs (see the linked issue) and brings Node.js's
configuration slightly closer to Google Chrome's.

I marked this change as semver-major because Maglev can theoretically
cause performance regressions, although I haven't seen an example of
that in the (somewhat limited) benchmarking I've done.

Notable Change Summary: V8's Maglev Compiler is now enabled by
default on supported architectures (https://v8.dev/blog/maglev). Maglev
improves CPU performance for short-lived CLI programs by around 8%.

Fixes: #50690

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. build Issues and PRs related to build files or the CI. needs-ci PRs that need a full CI run. notable-change PRs with changes that should be highlighted in changelogs. performance Issues and PRs related to the performance of Node.js. semver-major PRs that contain breaking changes and should be released in the next major version. v8 engine Issues and PRs related to the V8 dependency.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable Maglev

6 participants