Skip to content

Explore GPU rendering in the editor #162445

@Tyriar

Description

@Tyriar

I did an exploration recently into using webgl in the editor by forking/integrating xterm.js' renderer into monaco. The results look very promising, here is a summary:

  • There are big wins to FPS/scrolling performance and overall smoothness of the application, especially for average/old hardware.
  • We could introduce an experimental renderer and progressively "upgrade" parts of Monaco as needed
  • Regardless of whether we pursue GPU acceleration, we should fine tune input latency performance Optimize editor for input latency #161622

Exploration branch: https://github.com/microsoft/vscode/tree/tyriar/webgl_monaco

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions