dotnet/roslyn

Possible test perf improvement using null stream for pdb sink

Open

#364 opened on Feb 10, 2015

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C# (20,414 stars) (4,257 forks)batch import
Area-CompilersFeature RequestTenet-Performancehelp wanted

Description

Should this test code

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

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

Contributor guide

Possible test perf improvement using null stream for pdb sink · dotnet/roslyn#364 | Good First Issue