dotnet/roslyn

Possible test perf improvement using null stream for pdb sink

Open

#364 aperta il 10 feb 2015

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)C# (4257 fork)batch import
Area-CompilersFeature RequestTenet-Performancehelp wanted

Metriche repository

Star
 (20.414 star)
Metriche merge PR
 (Merge medio 6g 17h) (256 PR mergiate in 30 g)

Descrizione

Should this test code

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

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

Guida contributor