Performace analysis helpers