tutorial notebook much slower in vscode than browser
bug
### Describe the bug
when I add marimo to a fresh uv environment and run the tutorial notebook in vscode, if whip the first slider back and forth, it starts to lag a few seconds behind, with the slider continuing to move by itself after I stop. No such issue running the same notebook through chrome or firefox.
I did some timing, and it appears the cell itself runs in about 7ms per iteration, but only runs about 40 times per second while lagging as described above, which suggests the bottleneck must be outside the cell execution?
### Environment
marimo 0.23.1
macOS 15.6.1 / M1 Max
<details>
```
marimo VS Code Extension Diagnostics
=====================================
Language Server (LSP):
UV Bin: Bundled (/Users/victor/.vscode/extensions/marimo-team.vscode-marimo-0.12.2-darwin-arm64/bundled/libs/bin/uv)
UV: 0.11.3 (45da18ac3 2026-04-01) ✓
Using bundled marimo-lsp via uvx
Python Extension:
Interpreter: /Users/victor/code-music/austin-carillon/.venv/bin/python
Version: 3.12.6
Environment: VirtualEnvironment (austin-carillon (3.12.6))
Python Language Server (ty):
Status: running ✓
Version: 0.0.26 (940305127 2026-03-26)
Binary: UvInstalled (/Users/victor/Library/Application Support/Code/User/globalStorage/marimo-team.vscode-marimo/libs/bin/ty)
Python: /Users/victor/code-music/austin-carillon/.venv/bin/python (3.12.6)
Ruff Language Server:
Status: disabled
Reason: Ruff extension (charliermarsh.ruff) is not installed.
Extension Configuration:
Version: 0.12.2
UV integration disabled: false
System Information:
Host: desktop
IDE: Visual Studio Code
IDE version: 1.115.0
Platform: darwin
Architecture: arm64
Node version: v22.22.1
Common Issues:
1. If notebooks won't open:
- Check Python interpreter is selected
- Ensure marimo is installed
- Check 'marimo-lsp' output channel for errors
2. If features are missing:
- Ensure marimo version is >= 0.22.4
- Try reloading the window
```
</details>
### Steps to reproduce
_No response_
0 条评论