Spring Framework
  1. Spring Framework
  2. SPR-2703

Improve startup time when using aop:aspectj-autoproxy and annotations

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0 final
    • Fix Version/s: 2.0.4
    • Component/s: Core:AOP
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      Sometime between the later 2.0 release candidates and 2.0 final, startup time for our application roughly doubled.

      There's a related discussion on the forums at http://forum.springframework.org/showthread.php?t=30052

        Activity

        Hide
        Anders Wallgren added a comment -

        Outstanding! I'll grab the snapshot and give it a whirl.

        Show
        Anders Wallgren added a comment - Outstanding! I'll grab the snapshot and give it a whirl.
        Hide
        Juergen Hoeller added a comment -

        Make sure it's the next snapshot (a 2.0.4-20070330 one), since those changes have been committed just a few minutes ago...

        Thanks in advance for the feedback!

        Juergen

        Show
        Juergen Hoeller added a comment - Make sure it's the next snapshot (a 2.0.4-20070330 one), since those changes have been committed just a few minutes ago... Thanks in advance for the feedback! Juergen
        Hide
        Juergen Hoeller added a comment -

        FYI, build 2.0.4-20070329-31already includes those changes - even if not marked as 20070330 due to being generated in a US timezone

        Juergen

        Show
        Juergen Hoeller added a comment - FYI, build 2.0.4-20070329-31already includes those changes - even if not marked as 20070330 due to being generated in a US timezone Juergen
        Hide
        Anders Wallgren added a comment -

        That brings our startup times down from 13-18 seconds to 7-9 seconds. Not too bad!

        Show
        Anders Wallgren added a comment - That brings our startup times down from 13-18 seconds to 7-9 seconds. Not too bad!
        Hide
        Juergen Hoeller added a comment -

        That's good to hear!

        Being curious: How big is the difference between with and without AnnotationAwareAspectJAutoProxyCreator now for your configuration?

        Juergen

        Show
        Juergen Hoeller added a comment - That's good to hear! Being curious: How big is the difference between with and without AnnotationAwareAspectJAutoProxyCreator now for your configuration? Juergen

          People

          • Assignee:
            Juergen Hoeller
            Reporter:
            Anders Wallgren
            Last updater:
            Trevor Marshall
          • Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              7 years, 4 weeks, 2 days ago