Created
January 19, 2019 00:46
-
-
Save llimllib/d14bbab0fa4c95dd38df756afb08f671 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -x | |
GODEBUG=gctrace=1 etl -data_dir=etl/data -skip_aws & | |
ETL_PID=$! | |
function finish { | |
kill -9 $ETL_PID | |
} | |
trap finish EXIT | |
# pip install psrecord | |
psrecord $ETL_PID --plot memory.png --log memory.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment