Skip to content

Commit

Permalink
add take basic prof command
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonTian committed Aug 17, 2015
1 parent b2940ac commit 5855855
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions take_basic_prof
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

NODE_KILL=`which node-kill`

if [ -f "$HOME/.nodepath" ]; then
NODE_KILL=`cat $HOME/.nodepath`/node-kill;
fi

$NODE_KILL --v8-options --prof --pid=$1

0 comments on commit 5855855

Please sign in to comment.