Reduce some allocations by pooling or better disposal

This commit is contained in:
Adam Hathcock
2026-05-28 05:53:01 +01:00
parent aa34c22f39
commit 3ddfaaa899
12 changed files with 229 additions and 122 deletions

View File

@@ -33,7 +33,7 @@ public class Program
private static async Task RunWithProfiler(string[] args)
{
var profileType = "cpu"; // Default to CPU profiling
var outputPath = "./profiler-snapshots";l
var outputPath = "./profiler-snapshots";
// Parse arguments
for (int i = 1; i < args.Length; i++)