Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions docs/src/performance.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
How to use our internal tools to profile and keep Zed fast.

# Tracy
# Flamechart/CPU profiling

Get a profile of the zed foreground executor
See what the CPU spends the most time on. Strongly recommend you use
[samply](https://github.com/mstange/samply). It opens an interactive profile in
the browser. See its README on how to install and run.

The profiler always runs in the background. You can save a trace from its UI or look at the results live.
# Task/Async profiling

Get a profile of the zed foreground executor and background executors. Check if
anything is blocking the foreground too long or taking too much (clock) time in
the background.

The profiler always runs in the background. You can save a trace from its UI or
look at the results live.

## Setup/Building the importer:

Expand Down