compare type collection performance