# HG changeset patch # User Drew Perttula # Date 2018-06-03 11:19:12 # Node ID 66a55cb17cbf44ccb75160898cad8beb3e03b7b7 # Parent 792bf30de608c983fc87959e96a9d9fad1659872 notes on pyflame Ignore-this: c61ea1e1f74d3b44c1d0d6aa4f7d9b09 diff --git a/makefile b/makefile --- a/makefile +++ b/makefile @@ -132,3 +132,7 @@ test_js: 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