فهرست منبع

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>