This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/50844] New: SimpleDateFormat too slow


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50844

             Bug #: 50844
           Summary: SimpleDateFormat too slow
    Classification: Unclassified
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: lsching17@gmail.com


The constructor of class "java.text.SimpleDateFormat" is too slow.

With the test script attached.

In a core 2 duo machine+linux kernel 2.6.38+1G ram, only around 70 objects can
be created per second

Compare to Sun jre 6 update 6, 100000+ objects can be created per second


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]