Profiling application performance according to data structure