atom/teletype

Long activation time

Open

#201 geöffnet am 15. Nov. 2017

Auf GitHub ansehen
 (2 Kommentare) (1 Reaktion) (0 zugewiesene Personen)JavaScript (2.400 Stars) (416 Forks)batch import
help wanted

Beschreibung

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.

Contributor Guide