Changeset - 66a55cb17cbf
[Not reviewed]
default
0 1 0
Drew Perttula - 7 years ago 2018-06-03 11:19:12
drewp@bigasterisk.com
notes on pyflame
Ignore-this: c61ea1e1f74d3b44c1d0d6aa4f7d9b09
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
makefile
Show inline comments
 
@@ -129,6 +129,10 @@ test_js:
 
	node_modules/coffeescript/bin/coffee -c light9/web/*.coffee
 
	node_modules/mocha/bin/mocha --compilers coffee:coffee-script/register --globals window,N3 light9/web/graph_test.coffee
 

	
 
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
0 comments (0 inline, 0 general)