Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1732

reducing allocation sizes in DOMDocumentImpl.cpp

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.7.0
    • None
    • DOM
    • None
    • Debian gnu/Linux

    Description

      The debian maintainer of the Shibboleth packages forwarded a patch to me which I am attaching. This patch decreases the values of kHeapAllocSize and kMaxSubAllocationSize in DOMDocumentImpl.cpp. Evidently, decreasing the chunk size here has significantly improved performance of shibboleth. As far as I can tell, no one has reported this here. I see that this patch would not apply cleanly to the file on the trunk, and it appears that this stuff has already been tweaked for performance reasons, but perhaps someone can evaluate whether this is a sensible patch. The source of the path is someone I consider reliable, so I'm going to go ahead and patch the debian version of the packages. (I am the debian maintainer for the xerces packages.)

      Attachments

        1. allocation.patch
          0.8 kB
          Jay Berkenbilt

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            ejb@ql.org Jay Berkenbilt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment