Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1997

[PATCH] Small performance improvements by adding static declarations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 2.5
    • None
    • fo/unqualified
    • None
    • Operating System: All
      Platform: All
    • 52206

    Description

      I was profiling an application running FOP 1.0 and found a few hotspots. Some of them have been already fixed in trunk ( e.g. FOP-1888 ).

      The ones requiring minimal changes are contained in this patch. It adds the 'static' declaration for loggers and removes 2 heavily used trace logging messages. I avoided to include bigger changes (mainly in FObj which would benefit by using a LinkedList instead of the siblings array) as bigger patches seem to be difficult to process ( #46962 )

      Attachments

        1. statics.patch
          3 kB
          Alexios Giotis

        Activity

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            alex.giotis Alexios Giotis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: