The goal of profiling is to find out the bottlenecks of the program, such as which function consumes most time, which function is called most times etc in order to improve application performance by "fixing" those hot spots.