atom/teletype

Long activation time

Open

#201 aberto em 15 de nov. de 2017

Ver no GitHub
 (2 comments) (1 reaction) (0 assignees)JavaScript (416 forks)batch import
help wanted

Métricas do repositório

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

Description

Prerequisites

  • Put an X between the brackets on this line if you have done all of the following:

Description

Teletype is taking a long time to activate for me at around ~190ms. Looks like deferred activation isn't possible, but would it be feasible to defer some requires until they're needed? For example, until you try to host or join a portal, are the majority of requires needed?

Steps to Reproduce

  1. Enable teletype
  2. Reload atom
  3. Look at how long teletype took to activate

Expected behavior: Preferably <25ms

Actual behavior: ~190ms

Reproduces how often: 100%

Versions

Atom    : 1.24.0-dev-192cde85a
Electron: 1.6.15
Chrome  : 56.0.2924.87
Node    : 7.4.0

Windows 10 x64.

Guia do colaborador