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# (4,257 forks)batch import
Area-CompilersFeature RequestTenet-Performancehelp wanted

Repository metrics

Stars
 (20,414 stars)
PR merge metrics
 (Avg merge 6d 17h) (256 merged PRs in 30d)

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