onivim/oni

Performance: V8 snapshots

Open

#381 aberto em 19 de abr. de 2017

Ver no GitHub
 (3 comments) (0 reactions) (0 assignees)TypeScript (336 forks)batch import
help wantedneeds-disambiguationperformance

Métricas do repositório

Stars
 (11.389 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Atom had an interesting strategy for improving startup performance in their blog post here: http://blog.atom.io/2017/04/18/improving-startup-time.html

They are leveraging V8 snapshots to output a JS heap. This saves all the parsing and processing of JS, which is non-trivial as the bundle.js for this project gets larger.

There are some restrictions (V8 snapshots run in a bare V8 context), so it's important to have solid testing to ensure we aren't breaking anything in these cases.

Guia do colaborador