Allow to customize the gold metrics comparison

@bug W-2164675@
@rev ayeshigeta dval@
Merging origin/rsalvador/master-pending-perfCustVariability into master