Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>PerfTipsNew to Visual Studio Code? Get it now.
PerfTips

PerfTips

huanent

|
8 installs
| (0) | Free
Implements debugger PerfTips as known from Visual Studio
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Visual Studio Code PerfTips

PerfTips is a VS Code debugging extension inspired by PerfTips in Visual Studio.

During breakpoint debugging, after you run Continue, Step Over, Step Into, or Step Out, the extension displays the execution time of that step next to where the debugger stops again. This helps you quickly see how long that step took.

Features

  • Debug-time performance tips similar to Visual Studio PerfTips
  • Shows elapsed time at the end of the current code line (for example: <=12ms elapsed)
  • Works directly in your debugging workflow without changing application code

Usage

  1. Start a debugging session (for example, press F5).
  2. After stopping at a breakpoint, run any of these debug actions:
    • Continue
    • Step Over
    • Step Into
    • Step Out
  3. When the program stops again, the elapsed time for that execution step appears on the right side of the current line.

How It Works (Brief)

  • Records the start time when a continue / next / stepIn / stepOut request is sent.
  • Calculates elapsed time when a stopped event is received.
  • Locates the top stack frame in the stackTrace response and renders the elapsed time as an editor decoration at the end of that line.

Typical Scenarios

  • Quickly identify which debug step is noticeably slower
  • Investigate performance issues in loops, I/O calls, or conditional branches
  • Do lightweight timing checks before introducing a full profiler

Notes

  • The displayed value is an approximate elapsed time from the last resume action to the current stop.
  • Results can be affected by debugger implementation details, breakpoint behavior, and runtime environment fluctuations.
  • This timing is useful for quickly spotting hotspots, but it is not a strict benchmark measurement.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft