dotnet/roslyn

Possible test perf improvement using null stream for pdb sink

Open

#364 建立於 2015年2月10日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)C# (20,414 star) (4,257 fork)batch import
Area-CompilersFeature RequestTenet-Performancehelp wanted

描述

Should this test code

c.Emit(new MemoryStream(), pdbStream: new MemoryStream()).Diagnostics.Verify(expected);

use Stream.Null instead of a memory stream for performance?

貢獻者指南