removed debugs, using faster approach to insert profiling results (insert .... select ....)