get_subsets_performance function

Internal function for calculating subset performance