atom/teletype

Long activation time

Open

#201 ouverte le 15 nov. 2017

Voir sur GitHub
 (2 commentaires) (1 réaction) (0 assignés)JavaScript (416 forks)batch import
help wanted

Métriques du dépôt

Stars
 (2 400 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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.

Guide contributeur