Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4517008

Java 2D printing performance : BufferedImage allocation slows printing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • 2d
    • rc1
    • generic
    • generic
    • Verified

      The attachments contain programs and benchmark results that show that printing
      a page has a significant (approx 0.25 sec) overhead outside of actual execution
      of the application supplied print() method. ie the overhead is in the JRE
      printing implementation.
      This figure is observed on a 550Mhz PIII with 256mb RAM and also a system
      that's a little faster than that.
      0.25 sec is not a lot for a couple of pages but a customer needs to print
      100 pages. This can make a several second printjob turn into a 30 second
      print job.


      Printing use merlin-rc1 vs 1.4 beta3 build, the rendering speed has been improved. Verify as Fixed.
      Here is the result run on win2000.
            merlin-rc1 beta3
            ---------- -----
      test11 601ms 2263ms
      test13 581ms 1722ms
      test2d 1512ms 2133ms

      ###@###.### 2001-12-19

            prr Philip Race
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: