public static void MonitorStream(Stream fileStream) { PerformanceMonitor.BeginStream(UseCompressSave ? lzstream : fileStream); }