Преглед на файлове

Add benchmark category to the TextFormatter benchmarks

Tonttu преди 4 месеца
родител
ревизия
aeffe3e36e
променени са 2 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 1 0
      Benchmarks/Text/TextFormatter/ReplaceCRLFWithSpace.cs
  2. 1 0
      Benchmarks/Text/TextFormatter/StripCRLF.cs

+ 1 - 0
Benchmarks/Text/TextFormatter/ReplaceCRLFWithSpace.cs

@@ -8,6 +8,7 @@ namespace Terminal.Gui.Benchmarks.Text.TextFormatter;
 /// Benchmarks for <see cref="Tui.TextFormatter.ReplaceCRLFWithSpace"/> performance fine-tuning.
 /// </summary>
 [MemoryDiagnoser]
+[BenchmarkCategory (nameof (Tui.TextFormatter))]
 public class ReplaceCRLFWithSpace
 {
 

+ 1 - 0
Benchmarks/Text/TextFormatter/StripCRLF.cs

@@ -8,6 +8,7 @@ namespace Terminal.Gui.Benchmarks.Text.TextFormatter;
 /// Benchmarks for <see cref="Tui.TextFormatter.StripCRLF"/> performance fine-tuning.
 /// </summary>
 [MemoryDiagnoser]
+[BenchmarkCategory (nameof (Tui.TextFormatter))]
 public class StripCRLF
 {
     /// <summary>