auchenberg / vscode-browser-preview

A real browser preview inside your editor that you can debug.
MIT License
4.39k stars 153 forks source link

Performance way worse than normal Chrome #139

Closed ghost closed 4 years ago

ghost commented 4 years ago

I am running a basic WebGL example and the performance and in the Browser Preview is really slow compared to the performance in standalone Chrome. Is this issue known?

auchenberg commented 4 years ago

Browser Preview is using Chrome' screencasting API, so performance depend on the perf of that API. For now this is the only way to embed a Chrome instance inside VS Code, so that's what we work with.

So yes, it's sadly a known issue. See https://github.com/auchenberg/vscode-browser-preview/issues/21