Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/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
You can’t perform that action at this time.