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

feat(plugin/runner): Improve caching #7341

Merged
merged 1 commit into from
Apr 29, 2023
Merged

Conversation

kwonoj
Copy link
Member

@kwonoj kwonoj commented Apr 29, 2023

Description:

Previously disabled cache (storing compiled module in memory) still doesn't work, so falling back to storing raw bytes and create new module each time. This is the same behavior to the wasm build's approach.

Also minor improved caching root to include more information. Previous rustc didn't seem to work unfortunately, so removed but instead using plugin_runner's version.

@kdy1 kdy1 changed the title feat(plugin_runner): improve cache feat(plugin/runner): Improve caching Apr 29, 2023
@kdy1 kdy1 added this to the Planned milestone Apr 29, 2023
@kdy1 kdy1 enabled auto-merge (squash) April 29, 2023 11:13
Copy link
Member

@kdy1 kdy1 left a comment

Choose a reason for hiding this comment

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

swc-bump:

  • swc_plugin_runner

@kdy1 kdy1 merged commit 245163a into swc-project:main Apr 29, 2023
125 checks passed
kdy1 added a commit to kdy1/swc that referenced this pull request Apr 29, 2023
kdy1 added a commit that referenced this pull request Apr 29, 2023
**Description:**

This reverts commit 245163a.
@kdy1 kdy1 modified the milestones: Planned, v1.3.56 Apr 29, 2023
@kwonoj kwonoj deleted the plugin-cache branch April 30, 2023 03:42
@swc-project swc-project locked as resolved and limited conversation to collaborators May 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants