Refactored "perf.h"

Minor formatting changes.