[Mono-bugs] [Bug 72966][Wis] New - Serialization/Deserialization mechanism of arrays is too slow

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 24 Feb 2005 09:15:13 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by vguzev@yandex.ru.

http://bugzilla.ximian.com/show_bug.cgi?id=72966

--- shadow/72966	2005-02-24 09:15:13.000000000 -0500
+++ shadow/72966.tmp.4757	2005-02-24 09:15:13.000000000 -0500
@@ -0,0 +1,78 @@
+Bug#: 72966
+Product: Mono: Runtime
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: Linux skif 2.4.25 #2 SMP Fri Apr 23 14:03:00 MSD 2004 i686 athlon i386 GNU/Linux
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: vguzev@yandex.ru               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Serialization/Deserialization mechanism of arrays is too slow
+
+Description of Problem:
+Serialization/Deserialization mechanism of arrays is too slow in Mono.
+
+Steps to reproduce the problem:
+1. Test the attached example both on Mono and MS.Net
+
+Actual Results:
+Mono:
+--8<----------------------------------------------
+[vadim@skif testbytearrayserialization]$ mono test.exe
+00:00:00.3406290
+00:00:10.0251350
+1
+[vadim@skif testbytearrayserialization]$ mono test.exe
+00:00:00.3418070
+00:00:10.0437260
+1
+[vadim@skif testbytearrayserialization]$ mono test.exe
+00:00:00.3604510
+00:00:09.9485910
+1
+[vadim@skif testbytearrayserialization]$ mono test.exe
+00:00:00.3418320
+00:00:10.0140450
+1
+--8<----------------------------------------------
+
+MS.Net:
+--8<----------------------------------------------
+D:\Vadim\MCSharp\Tests\testdeserializationofbytes>test
+00:00:02.5937500
+00:00:00.5156250
+1
+
+D:\Vadim\MCSharp\Tests\testdeserializationofbytes>test
+00:00:00.2031250
+00:00:00.8906250
+1
+
+D:\Vadim\MCSharp\Tests\testdeserializationofbytes>test
+00:00:00.1875000
+00:00:00.0625000
+1
+
+D:\Vadim\MCSharp\Tests\testdeserializationofbytes>test
+00:00:00.1406250
+00:00:00.0781250
+1
+--8<----------------------------------------------
+
+Expected Results:
+Deserialization in this sample should be done in less than 1 second...
+
+How often does this happen? 
+Always.
+
+
+Best regards,
+Vadim B. Guzev
+http://u.pereslavl.ru/~vadim/MCSharp/