14 ms·
Using https://github.com/xtermjs/xterm.js https://github.com/xtermjs/xterm.js as an example (the terminal used in vscode), they draw on a canvas to achieve bett
by sod 8y ago
Using https://github.com/xtermjs/xterm.js https://github.com/xtermjs/xterm.js as an example (the terminal used in vscode), they draw on a canvas to achieve better rendering in the browser. So I guess not javascript is the cpu hogging bottleneck, but the complexety of html/css. There are just too many footguns that slows down the rendering. If there only was something like "use strict" for html/css.