[Mono-bugs] [Bug 618816] New: compilers became very slow (#1000th slower than .net)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 30 12:29:11 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=618816

http://bugzilla.novell.com/show_bug.cgi?id=618816#c0


           Summary: compilers became very slow (#1000th slower than .net)
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.6.x
          Platform: 32bit
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: baptiste.escoffier at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=372958)
 --> (http://bugzilla.novell.com/attachment.cgi?id=372958)
sources of my slow compiling code

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.6)
Gecko/20100625 Firefox/3.6.6 ( .NET CLR 3.5.30729)

I try to compile a very big generated code (600 000 lines). This code is very
quite easy.
My code is compiled in about 15s with .net 3.5 (csc)
My code is compiled in about 6hr with mono 2.6.4 (gmcs)

I note that the compilation is fine with mono 2.4 but at the execution I get
the error :
"method xxxxx is too complex !"
with the code compiled with .net 3.5, the execution works fine.

with common small but complex source code, I have no problem with the speed of
compilation.

my sources are joined


Reproducible: Always

Steps to Reproduce:
1.generate a very big code with lot of goto label
2.compile it
3.wait a long long long time
Actual Results:  
very slow compilation

Expected Results:  
normally fast compilation

-- 
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