[Mono-bugs] [Bug 57859][Nor] New - File::Copy runs very slowly

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 29 Apr 2004 18:13:58 -0400 (EDT)


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 bmaurer@users.sf.net.

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

--- shadow/57859	2004-04-29 18:13:58.000000000 -0400
+++ shadow/57859.tmp.32037	2004-04-29 18:13:58.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 57859
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bmaurer@users.sf.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: File::Copy runs very slowly
+
+Right now, the MCS build is very slow. The root cause is that the GAC
+utility calls File::Copy, which runs very slowly. For System.dll, a profile
+gives:
+
+########################
+ 6273.373       1  6273.373  
+Mono.Tools.Driver::runtime_invoke_int_string[](object,intptr,intptr,void*)
+  Callers (with count) that contribute at least for 1%:
+########################
+ 6273.367       1  6273.367   Mono.Tools.Driver::Main(string[])
+  Callers (with count) that contribute at least for 1%:
+           1  100 %
+Mono.Tools.Driver::runtime_invoke_int_string[](object,intptr,intptr,void*)
+########################
+ 6246.855       1  6246.855   Mono.Tools.Driver::Run(string[])
+  Callers (with count) that contribute at least for 1%:
+           1  100 % Mono.Tools.Driver::Main(string[])
+########################
+ 6237.030       1  6237.030   Mono.Tools.Driver::InstallAssembly(string[])
+  Callers (with count) that contribute at least for 1%:
+           1  100 % Mono.Tools.Driver::Run(string[])
+########################
+ 5686.337       1  5686.337   System.IO.File::Copy(string,string,bool)
+  Callers (with count) that contribute at least for 1%:
+           1  100 % Mono.Tools.Driver::InstallAssembly(string[])
+
+
+If i use `cp', the time is so small that I can't even measure it.