""");
+ builder.AppendLine("""
""");
+ builder.AppendLine($"""
{Encode(benchmark.Name)}
""");
+ builder.AppendLine($"""
{Encode(benchmark.Description)}
""");
+ builder.AppendLine("""
""");
+ builder.AppendLine($""" Mode: {Encode(mode)}""");
+ builder.AppendLine($""" Samples: {run.Options.Samples.ToString(CultureInfo.InvariantCulture)}""");
+ builder.AppendLine($""" Measurement: {Encode(benchmark.MeasurementDescription)}""");
+ builder.AppendLine("""
""");
+ builder.AppendLine("""
""");
+ builder.AppendLine("""
""");
+
+ builder.AppendLine(""" """);
+ builder.AppendLine("""
Legacy-simulated vs checked-out
""");
+ builder.AppendLine("""
""");
+ builder.AppendLine("""
""");
+ builder.AppendLine(""" """);
+ builder.AppendLine($""" | {Encode(benchmark.ParameterNames[0])} | {Encode(benchmark.ParameterNames[1])} | {Encode(benchmark.ParameterNames[2])} | Alloc ratio (L/C) | Time ratio (L/C) | """);
+ builder.AppendLine("""
""");
+ builder.AppendLine(""" """);
+ foreach (var comparison in comparisons)
+ {
+ builder.AppendLine(""" """);
+ builder.AppendLine($""" | {comparison.Scenario.P1.ToString(CultureInfo.InvariantCulture)} | """);
+ builder.AppendLine($""" {comparison.Scenario.P2.ToString(CultureInfo.InvariantCulture)} | """);
+ builder.AppendLine($""" {comparison.Scenario.P3.ToString(CultureInfo.InvariantCulture)} | """);
+ builder.AppendLine($""" {comparison.AllocationRatio.ToString("0.##", CultureInfo.InvariantCulture)}x | """);
+ builder.AppendLine($""" {comparison.ElapsedRatio.ToString("0.##", CultureInfo.InvariantCulture)}x | """);
+ builder.AppendLine("""
""");
+ }
+ builder.AppendLine(""" """);
+ builder.AppendLine("""
""");
+ builder.AppendLine("""
""");
+ builder.AppendLine("""
""");
+ }
+
+ builder.AppendLine("""