You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Edouard Tisserant 5c7eb7c296 added heavy gpg keyring load test case, a dtrace script to trace pEpEngine and gpgme while encrypting, and a python script to analyse trace 9 years ago
..
5k_pubring.gpg added heavy gpg keyring load test case, a dtrace script to trace pEpEngine and gpgme while encrypting, and a python script to analyse trace 9 years ago
README added heavy gpg keyring load test case, a dtrace script to trace pEpEngine and gpgme while encrypting, and a python script to analyse trace 9 years ago
log.dtrace added heavy gpg keyring load test case, a dtrace script to trace pEpEngine and gpgme while encrypting, and a python script to analyse trace 9 years ago
mp_load_test.py added heavy gpg keyring load test case, a dtrace script to trace pEpEngine and gpgme while encrypting, and a python script to analyse trace 9 years ago
profile.d added heavy gpg keyring load test case, a dtrace script to trace pEpEngine and gpgme while encrypting, and a python script to analyse trace 9 years ago
results.txt added heavy gpg keyring load test case, a dtrace script to trace pEpEngine and gpgme while encrypting, and a python script to analyse trace 9 years ago
trace_analysis.py added heavy gpg keyring load test case, a dtrace script to trace pEpEngine and gpgme while encrypting, and a python script to analyse trace 9 years ago

README

Tool to profile pEpEngine with dtrace.

To profile :

LC_ALL=en_US.UTF-8 PYTHONPATH=`pwd`/build/lib.macosx-10.11-x86_64-3.4:`pwd`/test python3.4 mp_load_test.py wait_for_debug

wait for Alice instance to respawn after loading 5k keyring, and pass PID to dtrace script

$ sudo dtrace -s profile.d 12345 > log.dtrace

dtrace script does no processing, but just stores event, otherwise it is too slow and drops some events. Events are the analysed with a python script :

$ cat log.dtrace | python3.4 trace_analysis.py > results.txt