Added profiling to the example test case