[Mono-bugs] [Bug 557093] System.IO.StringReader.ReadLine is very slow for a string using Unix line endings
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Nov 20 08:08:27 EST 2009
http://bugzilla.novell.com/show_bug.cgi?id=557093
http://bugzilla.novell.com/show_bug.cgi?id=557093#c1
--- Comment #1 from Brett Kiefer <brett at fogcreek.com> 2009-11-20 13:08:24 UTC ---
Created an attachment (id=328667)
--> (http://bugzilla.novell.com/attachment.cgi?id=328667)
Test app for StringReader.ReadLine performance with different line endings
Sorry, should have included test app, attached here.
Sample runs without the patch:
brett at cartman:~$ mono TestString.exe
Test Dos (CRLF)
Done with Dos (CRLF) after 00:00:00.1018010
Test Unix (LF)
Done with Unix (LF) after 00:00:07.4834610
Test Weird (CR)
Done with Weird (CR) after 00:00:07.4789960
and with:
brett at cartman:~$ mono_with_stringreader_fix TestString.exe
Test Dos (CRLF)
Done with Dos (CRLF) after 00:00:00.0725630
Test Unix (LF)
Done with Unix (LF) after 00:00:00.0460130
Test Weird (CR)
Done with Weird (CR) after 00:00:00.0453460
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list