Add benchmark category to the TextFormatter benchmarks

This commit is contained in:
Tonttu
2025-03-15 11:21:08 +02:00
committed by Tig
parent 662e745395
commit aeffe3e36e
2 changed files with 2 additions and 0 deletions

View File

@@ -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
{

View File

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