Skip to content

Latest commit

 

History

History
48 lines (25 loc) · 1.77 KB

README.md

File metadata and controls

48 lines (25 loc) · 1.77 KB

*** This extension is deprecated. Please use https://www.easyview.dev/ ***

DrCCTProf Viewer README

DrCCTProf Viewer is an extension atop Vscode. DrCCTProf Viewer can show multiple interactive views for users to go through the profiling data collecte by various tools. Moreover, it supports an easy way to corelate profiling results with program source codes. Currently, DrCCTProf Viewer supports two formats of profiling data: pprof format and drcctprof format. Thus, DrCCTProf Viewer can directly open profiling files produced by pprof and DrCCTProf.

Usage

Open DrCCTProf Viewer

There are three typical ways to open a file in pprof/DrCCTProf formats.

Tips: For go pprof output files, you need to unzip them first.

1. Open DrCCTProf Viewer from Vscode Explorer View

(1) Right-click the profile file.

(2) Click "show DrCCTProf Viewer".

open1

2. Open DrCCTProf Viewer from Vscode Editor View

(1) Click the profile file to open it with editor view.

(2) Click the "show DrCCTProf Viewer" button in the top right of the editor view.

open2

3. Make DrCCTProf Viewer as the default view by changing the file extension suffix

(1) Add an extension suffix (.drcctprof) to the unzipped profile file.

(2) Click the file to open the view of DrCCTProf Viewer.

open3

Use case

A demo to explore DrCCTProf Viewer

demo