add query speed logging

Need these to start optimizing queries