private static void MeasureIntPropertyClassComparasions() { var tuples = GenerateRandomIntPropertyClassPairs(); var value = MeasureComparer(new IntPropertyClassEqualityComparer(), tuples); var valueReflection = MeasureComparer(ComparerFactory.CreateRecursiveReflectionComparer <IntPropertyClass>(), tuples); Console.WriteLine($"{NumberOfCompares} comparasions. Native comparer: {value} miliseconds, " + $"reflection comparer: {valueReflection} miliseconds. "); }