Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4877

Matrix class performance improvements

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      I am testing text extraction from PDF and profiling the execution.

      I found that the third major time consumer is with matrix multiplicaitons.

      The Matrix class spends large amounts of time copying results to new instances. 

      Also, the if statements are slowing down execution as they kill performance in modern CPUs.

        Attachments

        1. PDFBOX-4877.patch
          3 kB
          Alfred
        2. PDFBOX-4877.patch
          20 kB
          Alfred

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              Faltiska Alfred

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1m
                1m
                Remaining:
                Remaining Estimate - 1m
                1m
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Issue deployment