code for profiling
Merge https://github.com/prathyushaV/scrutinize_profiling