microsoft / microsoft/TypeScript

Refine tracing functionality

Open
#40,461 0 comments 2 reactions 1 assignee View on GitHub

@jakebailey is already working on this.

Since Nov 15, 2021.

Domain: Performance Infrastructure Rescheduled
Dominant language
Go
Stars
111k
Forks
14.3k
Avg merge
2d 4h
Merged PRs (30d)
132

Description

Search Terms

Tracing, Logging

Suggestion

Further improvements on #40460:

  • Tracing from tsserver
  • Post-processing script to handle size & unterminated dumps
  • Optimize tracing._ calls (done via tracing?._)
  • Using sampling to reduce tracing costs
  • Possibly use a proper sampling (worker) thread
    • Filter include/exclude command-line selection (not needed if sampling thread works)
  • Adjust expression source locations in post processing script
  • Improve UI by embedding tracing as a library (since there are no better visualizers)
  • Consolidating data and metadata into a single file
  • Enabling streaming gzip?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.