Extract profile start/end to base class and stablize metrics for Custom perf tests
Merging origin/ayeshigeta/master-pending-stablizing-custom-perf-matrics into master