Skip to content

Install script and executor for pyflame in combination flamegraph

License

Notifications You must be signed in to change notification settings

wildi1/pyflame-flamegraph-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Pyflame & Flamegraph Installer and Executer

This Script installs the actual master of pyflame and flamegraph to the current folder. After installation, run the script again and you can profile a given python program by process-id the number of seconds you want.

Having profiling finished, the script automatically runs system's default browser and shows the profiled Flamegraph.

All profiled data is saved in the automatic created "profile_data" folder.

Parameters

$1: Process ID of the to profile python program

$2: Number of Seconds you want to profile it

Example Usage

With following command you profile the process "45632" 5 seconds.

pyflame-flamegraph.sh 45632 5

Contribute

You have got ideas or suggestions? Please feel free to contribute by forking, or contacting me.

About

Install script and executor for pyflame in combination flamegraph

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages