Skip to content

Add Profiling (code performance analysis) capability #10645

Open
@ErwanDL

Description

@ErwanDL

It could be helpful to add profiling capabilities to the VSCode extension, similar to what is possible in PyCharm. The standard library module cProfile already provides a back-end for profiling a Python script, but it could benefit from having a more user-friendly front-end.

A possible first step to integrate this feature would be to add a "Profiling" tab, in which the user could see a table that summarizes the profiling results, and that he could sort and search in, to see what functions incur the most performance overhead. This could be similar to the "Statistics" tab in PyCharm's profiler (see previous link).

Do you think it would be reasonable and would add value to implement such a feature in the Python extension ?

NOTE : I saw that a similar request was made 2 years ago (#733), but I was wondering if your position on this had changed since then, especially as the border between VSCode and IDEs is getting blurrier and blurrier (which is definitely a good thing IMO).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-diagnosticsLogging/Features to facilitate diagnosing user problemsfeature-requestRequest for new features or functionalityneeds proposalNeed to make some design decisions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions