[RFC] Common: Add a buildin profiler

Same here.