simplify profiling

Reviewer: trivial