Performance Profile Viewer
Performance Profile Viewer is an extension for collecting and viewing performance profiles directly in VSCode. It can open profiles from GProf, PyInstrument, CProfile, HPCToolkit, Caliper, Tau, Score-P, Timemory, and raw JSON data. Currently, it supports a view of the call graph with run times and a flamegraph. NOTE: This extension requires the Python package hatchet to be installed. See Requirements for more info.
Viewing Performance Profiles
Open profiles using the command
Both of the views are dynamic. You can click around, explore the data, and even jump directly to the corresponding source code locations.
Collecting Profiling Data
Launching the different profilers for your programs is provided through VSCode
For instance, define tasks in your
Performance Profile Viewer uses the Python library
to parse and process the different profile types.
You must install it in order to use the extension.
Currently, the extension has been tested with Hatchet version 1.3.1
and Python 3.7 to 3.11.
Assuming there is a valid Python installation, then it can be installed with
Issues can be submitted under the issues tab on GitHub.
Copyright Daniel Nichols 2023
Performance Profile Viewer is published under the Apache 2.0 license. The flamegraph view uses d3-flame-graph, which is published under the Apache 2.0 license. Hatchet is published under the MIT license.