Skip to content

Profiling memory and CPU usage

Andres Riancho edited this page Apr 5, 2014 · 15 revisions

Installing requirements

# Install meliae
sudo apt-get install cython
wget https://launchpad.net/meliae/trunk/0.4/+download/meliae-0.4.0.tar.gz
tar -zxpvf meliae-0.4.0.tar.gz
cd meliae-0.4.0.tar.gz
sudo python setup.py install

# Install yappi + RunSnakeRun
sudo pip install yappi --upgrade
sudo pip install RunSnakeRun --upgrade

Running w3af

W3AF_PROFILING=1 ./w3af_console -s scripts/test.w3af

Analysis

runsnake /tmp/yappi-w3af.cpu