RaspberryPiFoundation / editor-ui

Code Editor web component
https://editor-static.raspberrypi.org
Apache License 2.0
36 stars 9 forks source link

Spike: Investigate caching WebAssembly modules to reduce latency #934

Closed loiswells97 closed 6 months ago

loiswells97 commented 7 months ago

Although the .whl files are cached between code runs, the fact that we need to reset pyodide between runs means that they need to be re-interpreted each time the code runs. This introduces some latency which we may be able to reduce if we cache using WebAssembly modules (see Slack thread for more details)

create-issue-branch[bot] commented 6 months ago

Branch issues/934-Cache_WebAssembly_modules_to_reduce_latency created!

loiswells97 commented 6 months ago

Thoughts