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

100 times performance hit on creating images

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 2.0.6
    • None
    • Rendering

    Description

      We found that PDFBox creates a better image than poppler so we wanted to switch out our environment to get these improvements but found a file that took about 10 minutes to create one image with PDFBox and only about 6 seconds with poppler. So a 100 times performance hit if we where to change.

      I've done some rudimentary profiling on the code and found that most of the time is spent in ColorConvertOp.filter. Maybe there is a leaner way to implement this in order to get a better result?

      best regards
      Daniel

      Attachments

        1. callstack_1.png
          71 kB
          Daniel Persson
        2. callstack_2.png
          79 kB
          Daniel Persson
        3. test.pdf
          4.49 MB
          Daniel Persson

        Activity

          People

            Unassigned Unassigned
            kalaspuffar Daniel Persson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: