A quick&dirty hack for profiling your code