Add notes about profiling with perf and Postgres

Useful, and contains some personal notes.