소스 검색

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>