Mercurial > code > home > repos > light9
changeset 1772:66a55cb17cbf
notes on pyflame
Ignore-this: c61ea1e1f74d3b44c1d0d6aa4f7d9b09
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Sun, 03 Jun 2018 11:19:12 +0000 |
parents | 792bf30de608 |
children | 2fe4bb539b52 |
files | makefile |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/makefile Sun Jun 03 10:37:00 2018 +0000 +++ b/makefile Sun Jun 03 11:19:12 2018 +0000 @@ -132,3 +132,7 @@ test_js_watch: # have coffee continuously running watch -c node_modules/mocha/bin/mocha --compilers coffee:coffee-script/register --globals window,N3 light9/web/graph_test.coffee --colors + +profile_seq: + echo in lib, get https://github.com/uber/pyflame.git and https://github.com/brendangregg/FlameGraph.git + sudo lib/pyflame/src/pyflame -s 10 -p `pgrep -f effectsequencer` | perl -lpe 's,/home/drewp/projects-local/light9/,,g; s,env/local/lib/python2.7/site-packages/,,g;' | lib/FlameGraph/flamegraph.pl --width 2500 > /tmp/fl.svg