public int Merge() { if (!File.Exists(Options.Before)) { Console.Error.WriteLine($"{Options.Before} file doesn't exist"); return(-1); } if (!File.Exists(Options.After)) { Console.Error.WriteLine($"{Options.After} file doesn't exist"); return(-1); } var excludeColumns = Options.ExcludeColumns?.Split(';'); var compareColumns = Options.CompareColumns?.Split(';'); var before = BenchmarkResult.Parse(Options.Before).RemoveColumns(excludeColumns); var after = BenchmarkResult.Parse(Options.After).RemoveColumns(excludeColumns); var result = Merge(before, after, compareColumns); result.Save(Options.Result); return(0); }