[Mono-list] Profiling web app to find where memory is going

Joshua Tauberer tauberer at for.net
Fri Jan 13 10:33:21 EST 2006


Ben Maurer wrote:
>> I'm not sure if this is related but there are some terrible
>> inefficiencies in following two classes
>>
>> mcs/class/corlib/System.IO/TextWriter.cs
>> mcs/class/System.Web/System.Web/HttpWriter.cs

There are also some possibly unnecessary allocations of "new byte[1]" in 
BufferedStream.ReadByte/WriteByte.  Might be better for the class to 
hold onto a single byte[] to reuse in each call?

-- 
- Joshua Tauberer

http://taubz.for.net

** Nothing Unreal Exists **




More information about the Mono-list mailing list