Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(CLI): enable Node cache before loading modules #366

Merged
merged 2 commits into from
Nov 4, 2024
Merged

Conversation

chenjiahan
Copy link
Member

Summary

Enable Node.js 22 new compile cache in Rslib CLI, this makes Node.js startup faster.

  • before:
Screenshot 2024-11-04 at 16 01 41
  • after:
Screenshot 2024-11-04 at 16 01 46

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copy link

codspeed-hq bot commented Nov 4, 2024

CodSpeed Performance Report

Merging #366 will not alter performance

Comparing node_cache_1104 (7456f29) with main (2e8b298)

Summary

✅ 5 untouched benchmarks

Copy link
Member

@fi3ework fi3ework left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL

@fi3ework fi3ework merged commit de71d3f into main Nov 4, 2024
18 checks passed
@fi3ework fi3ework deleted the node_cache_1104 branch November 4, 2024 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants