[Mono-bugs] [Bug 464135] New: New regexp compiler much slower (~80x) than the old one with certain regexps

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 7 09:14:45 EST 2009


           Summary: New regexp compiler much slower (~80x) than the old one
                    with certain regexps
           Product: Mono: Class Libraries
           Version: 2.2.x
          Platform: x86-64
        OS/Version: openSUSE 11.1
            Status: ASSIGNED
          Severity: Critical
          Priority: P5 - None
         Component: System
        AssignedTo: vargaz at gmail.com
        ReportedBy: mhabersack at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development

Created an attachment (id=263602)
 --> (https://bugzilla.novell.com/attachment.cgi?id=263602)
Test case

The attached test case demonstrates the issue. The source code comes from
MojoPortal (http://mojoportal.com/). Running the test on my machine
(Intel dual core, 2.2GHz) gives the following results:

Running tests...
Time for the new regexp compiler: 00:00:46.3967490
Time for the old regexp compiler: 00:00:00.5921550

Setting the severity to critical as it affects mojoportal performance (each
request takes 40+ seconds to complete) and the new engine is used by default in
the 2.2 branch. 
Exporting MONO_OLD_RX "fixes" the issue but I don't think this is a viable
solution for 2.2

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list