Add PerfUtils for measuring actions within a specified time