facebookarchive/prepack

Collect statistics that help understand Prepack effects

Open

#934 aberto em 26 de ago. de 2017

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (520 forks)batch import
enhancementhelp wanted

Métricas do repositório

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

Description

Prepack runs the global code, and we could collect some runtime information to help assess what Prepack does:

  • How many objects get created when running the interpreter? (And how many survive and get serialized?)
  • How many object properties get updated? (And how many are serialized?)
  • How many times does each type of AST node get evaluated? (Pretty much all of those computations, except for some literals, object allocations, property updates, will get eliminated by Prepack.)

When forking and merging control-flow, compute the maximum value for each explored case.

Guia do colaborador