-
Notifications
You must be signed in to change notification settings - Fork 9
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
Cache pyodide
modules
#1113
Merged
Merged
Cache pyodide
modules
#1113
Conversation
This file contains 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
loiswells97
temporarily deployed
to
previews/1113/merge
October 18, 2024 13:22
— with
GitHub Actions
Inactive
loiswells97
temporarily deployed
to
previews/1113/merge
October 21, 2024 15:05
— with
GitHub Actions
Inactive
loiswells97
temporarily deployed
to
previews/1113/merge
October 21, 2024 16:03
— with
GitHub Actions
Inactive
loiswells97
temporarily deployed
to
previews/1113/merge
October 21, 2024 16:24
— with
GitHub Actions
Inactive
loiswells97
temporarily deployed
to
previews/1113/merge
October 21, 2024 16:31
— with
GitHub Actions
Inactive
loiswells97
temporarily deployed
to
previews/1113/merge
October 22, 2024 08:32
— with
GitHub Actions
Inactive
loiswells97
temporarily deployed
to
previews/1113/merge
October 22, 2024 10:31
— with
GitHub Actions
Inactive
sra405
approved these changes
Oct 22, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Merged
loiswells97
added a commit
that referenced
this pull request
Oct 22, 2024
## [0.28.0] - 2024-10-22 ### Added - PyodideWorker setup for the editor (#1104) - Enabling `pyodide` support in the web component (#1090) - `Pyodide` `matplotlib` support (#1087) - Tests for running simple programs in `pyodide` and `skulpt` (#1100) - Fall back to `skulpt` if the host is not `crossOriginIsolated` (#1107) - `Pyodide` `seaborn` support (#1106) - `Pyodide` module caching (#1113) ### Changed - Upgrade to `webpack 5` (#1096) - Bump `pyodide` to `v0.26.2` (#1098) - Updated the ImportErrors message (#1105) - In ErrorMessage component added the way to display html elements in string (#1105) ### Fixed - Dynamic runner switching with more than one `python` file (#1097) - Pyodide running the correct file (`main.py`) when there are multiple `python` files (#1097) - Build to include public files (#1112) - Persisting choice of tabbed/split view when running `python` code (#1114)
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.
Refactored the
PyodideWorker
so thatpyodide
is not completely reloaded on each code run, but rather the globals representing user-defined variables and user-imported modules are cleared. This allows the modules that have already been loaded intopyodide
to be cached, massively reducing the latency on subsequent code runs.