Skip to content
GitLab
Explore
Sign in
dbnomics-fetchers
documentation
Wiki
code optimization
code optimization
· Changes
Page history
Update code optimization
authored
Jan 23, 2018
by
Christophe Benz
Show whitespace changes
Inline
Side-by-side
code-optimization.md
View page @
9b7d3017
## Profiling
```
sh
pip
install
pyprof2calltree
apt
install
qcachegrind
```
```
sh
python
-m
cProfile
-o
out.cprof script.py args...
qcachegrind
out.cprof
pyprof2calltree
-k
-i
out.cprof
```