You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a basic dashboard which I tried exporting (panel: 1.4.4, python 3.12.1) to both 'pyodide-worker' and 'pyodide' targets, and serving them with local web server (Five Server vscode extention).
The docs suggest the pyodide-worker method should be more performant, but at least when it comes to the initial load, it's a lot slower on both MS Edge (Win 11) and Chrome (Ubuntu). Is this expected?
Browser console log (Edge) for pyodide-worker below. First line is when I hit the reload button. "### DEBUG ###" lines are at the top of my python script (after the imports). It takes about 30 seconds.
This is probably not unexpected and I was planning on making a final decision around this. Currently the pyodide target simply installs all packages at once, while the pyodide-worker target installs dependencies one-by-one so the user can be informed of the progress. The latter is seemingly considerably slower. This is already addressed in #6859 by foregoing the progress updates (among other changes).
I have a basic dashboard which I tried exporting (panel: 1.4.4, python 3.12.1) to both 'pyodide-worker' and 'pyodide' targets, and serving them with local web server (Five Server vscode extention).
The docs suggest the pyodide-worker method should be more performant, but at least when it comes to the initial load, it's a lot slower on both MS Edge (Win 11) and Chrome (Ubuntu). Is this expected?
Browser console log (Edge) for pyodide-worker below. First line is when I hit the reload button. "### DEBUG ###" lines are at the top of my python script (after the imports). It takes about 30 seconds.
panel convert dashboard.py --to pyodide-worker --out pyodide-worker
Here are the logs for 'pyodide'. It takes only 21 seconds.
panel convert dashboard.py --to pyodide
The text was updated successfully, but these errors were encountered: