microsoft / microsoft/TypeScript

Support additional trace points

Offen
#40,460 0 Kommentare 4 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@jakebailey arbeitet bereits daran.

Seit 15.11.2021.

Rescheduled
Vorherrschende Sprache
Go
Sterne
111k
Forks
14.3k
Ø Merge
2 T. 4 Std.
Gemergte PRs (30 T.)
132

Beschreibung

Search Terms

Tracing, Logging

Suggestion

In addition to the trace points introduced in #40063, we've had requests for optional tracing of

  • inferTypesFrom
  • invokeOnce
  • getAccessibleSymbolChain
  • typeToTypeNode
  • getIntersectionType
  • getUnionType
  • instantiateType

As a result, we will also require a mechanism for indicating which are active in any given run. (Consider mimicking the format used by the debug package.) However, the default should probably remain similar to what's in #40063 since performance analysis is the primary use case.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.