an example application to study performance profiling