4 ms·
Comparing the entire Visual Studio Code with a little sample IDE application is kind of barely a test at all?
by aetherspawn 8y ago
Comparing the entire Visual Studio Code with a little sample IDE application is kind of barely a test at all?
- c-smile 8y agoThat's true. Better is to compare https://html-notepad.com https://html-notepad.com application. It's size is even smaller as it does not include V8. I mean that Visual Code has way more scripts to support different languages but these are text, highly compressible, files. In any case they are not loaded all at once but RAM consumption is still 6 times more than it could be for that type of application.
- aetherspawn 8y agoVSCode has a richer UI, more functionality and of course supports extensions, source control etc by default. It just does a whole lot more. I think you’d be better off comparing with an actual port of the example compiled for each engine.
- c-smile 8y agoCheck Typora Markdown editor: https://typora.io/ https://typora.io/ - it is a markdown editor made with Electron. It has as sort of WYSIWYG editor as markdown source editing so it is conceptually close to html-notepad. All basic ratios are the same - it consumes RAM 4-5 times more than it should. Same with distribution size and size on disk. Yet I think that it will be fair to compare Sublime Text and Visual Code as they have close functionality. Sublime (has its own DOM and uses script for plugins) consumes 10 times less RAM than Visual Code. Each Electron application is a full scale browser with its own JS VM instance and Node.js that is full scale web server with another instance of JS VM. It is just that for communication they use IPC rather than HTTP. As many E applications you are running as many browsers and servers you have in memory. That is by Electron's design - nothing new here.