Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS Code plugin #741

Open
rafaelha opened this issue Jan 12, 2025 · 1 comment
Open

VS Code plugin #741

rafaelha opened this issue Jan 12, 2025 · 1 comment

Comments

@rafaelha
Copy link

rafaelha commented Jan 12, 2025

I made a VS Code plugin that integrates nicely with py-spy. See here on VS Code Marketplace or GitHub.

It improves on the py-spy generated SVGs in several ways:

  • Inline profiling annotation on the left of the actual code in the editor
  • Jupyter notebook support (with inline annotations in the cells)
  • A flamegraph react app in vscode with click-to-source

I found that flame graphs can be a bit overwhelming at first for users unfamiliar with profiling. But inline annotations are easy to interpret. With this plugin, I really tried making profiling as easy as possible to lower the entry barrier for anyone interested in profiling their Python code.

Would you be interested in adding a link to this extension in the py-spy readme?

@vladionescu
Copy link

This is excellent, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants