Przeglądaj źródła

Add benchmark category to the TextFormatter benchmarks

Tonttu 4 miesięcy temu
rodzic
commit
aeffe3e36e

+ 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>