mgedmin / mgedmin/profilehooks

Mention gprof2dot in the docs, maybe add a helper for it

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
documentation
Dominant language
Python
Stars
338
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Note to self (since I always forget): use

```
@profile(filename='foo.prof', immediate=True)
```

and then use

```
gprof2dot foo.prof -f pstats | xdot -
```

to get this:
![ekrano nuotrauka is 2015-11-30 16-11-40](https://cloud.githubusercontent.com/assets/159967/11473769/1485b41a-977d-11e5-99f2-9c98c4a68617.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the project documentation and the implementation of the @profile decorator. Confirm whether this issue only requires documenting the gprof2dot and xdot commands or also a helper; it is done when the intended workflow is documented and any agreed helper has coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation, tooling
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.