Uploaded image for project: 'Spring.NET'
  1. Spring.NET
  2. SPRNET-1259

Cache retrieval of CachingAspect custom attributes to improve performance

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.0 RC1
    • Fix Version/s: 1.3.0
    • Component/s: Spring-NET-AOP
    • Labels:
      None

      Description

      custom attributes retrieved by ICustomAttributeProvider.GetCustomAttribute() will return fresh attribute instances on each call. Since the CachingAspect attributes contain SpEL expressions that will be parsed each time, this degrades performance. Cache the attribute instances on per-method & and per-method-parameter basis

        Attachments

          Activity

            People

            Assignee:
            oakinger Erich Eichinger
            Reporter:
            oakinger Erich Eichinger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: