Improving startup time in Atom with V8 snapshots
11–20 of 173 posts
Re: Improving startup time in Atom with V8 snapshots
#12Oh man, I wish I could use snapshots in the browser. In some extreme cases, I'm dealing with multi-minute startup times.
V8 Caching Mode, V8 caching strategy for CacheStorage
https://v8project.blogspot.ca/2015/07/code-caching.html
Edit: Not the same as snapshots mentioned in the article
Re: Improving startup time in Atom with V8 snapshots
#13Re: Improving startup time in Atom with V8 snapshots
#14Or you can not have a text editor in a browser. :) Cool article regardless
Must every thread about VSCode and Atom start the same way? It's a trade off: performance for a cross platform JavaScript app development. If that is a tradeoff you don't have to make, don't do it. Atom and VSCode have made that tradeoff. I don't know what rehashing this can possibly accomplish.
This seems destined to go the way of emacs. This is always what happens when an idealistic perspective wins out over a practical one in a development team.
Re: Improving startup time in Atom with V8 snapshots
#15Earlier quoted context omitted.
Must every thread about VSCode and Atom start the same way? It's a trade off: performance for a cross platform JavaScript app development. If that is a tradeoff you don't have to make, don't do it. Atom and VSCode have made that tradeoff. I don't know what rehashing this can possibly accomplish.
It's a bit the same issue then something like rails. Easy in the short run, but when you starting doing advance optimization - likw those - you wonder why not rewrite in a more performance oriented language.
The fact that it's built on web technologies, and web developers can make plugins easily and quickly and can hack on the core code is the entire reason for it's existence, and why it's so popular.
If you rewrite it in another stack, you basically just created an entirely new editor which isn't compatible in just about every way with atom.
Re: Improving startup time in Atom with V8 snapshots
#16Earlier quoted context omitted.
Must every thread about VSCode and Atom start the same way? It's a trade off: performance for a cross platform JavaScript app development. If that is a tradeoff you don't have to make, don't do it. Atom and VSCode have made that tradeoff. I don't know what rehashing this can possibly accomplish.
I don't really see what the benefit of JavaScript app development is. You don't need to use electron and JavaScript for portability, as far as I'm aware. For example, I know of Qt, and I'm sure there are other toolkits in other similarly mature platforms. This seems destined to go the way of emacs. This is always what happens when an idealistic perspective wins out over a practical one in a development team.
Also, emacs is one of the most successful text editors so I'm not sure I get your comparison.
Re: Improving startup time in Atom with V8 snapshots
#17Maybe now we can have actual source code protection?
Re: Improving startup time in Atom with V8 snapshots
#18Oh man, I wish I could use snapshots in the browser. In some extreme cases, I'm dealing with multi-minute startup times.
I think v8 does cache machine code in some cases. There are a couple of flags in chrome://flags you'll want to look at: V8 Caching Mode, V8 caching strategy for CacheStorage https://v8project.blogspot.ca/2015/07/code-caching.html Edit: Not the same as snapshots mentioned in the article