Live data from Hacker News

Improving startup time in Atom with V8 snapshots

blog.atom.io

1–10 of 173 posts

Re: Improving startup time in Atom with V8 snapshots

#3

Or 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.

Re: Improving startup time in Atom with V8 snapshots

#5
> Overall, on a stock installation, we made loading Atom almost 50% faster and snapshots were a crucial tool that enabled some otherwise impossible optimizations.

Note that this hasn't shipped on stable yet, but is available on 1.17 beta.

The article mostly lists the various problems and associated optimizations. Concise & nice read.

Re: Improving startup time in Atom with V8 snapshots

#7

Or 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.

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.

Re: Improving startup time in Atom with V8 snapshots

#8
post #6
post #4

Oh man, I wish I could use snapshots in the browser. In some extreme cases, I'm dealing with multi-minute startup times.

What kind of application are you building?

Electronics design software. :)

Most of the time is spent doing fine collisions with shapes coming out of an R-tree to build up a connection graph.

For the vast majority of designs, it's fast. For very dense, imported designs, it can get slow. (No two tools keep data in the same form, so translating leads to inefficiencies.)

Post reply on HN