Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-1354

Massive Performance Problems because of getColorConvertOpAplhaSupported

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      I noticed that my svg was extremly sluggish using java temurin 17.07 + windows 11.

      After investigating with the Yourkit Profile it turns out that > 50% of the time is consumed in

      org.apache.batik.ext.awt.image.rendered.Any2LumRed.getColorConvertOpAplhaSupported() Any2LumRed.java

      I suggest this check should be converted to a static field, so it runs only once.

       

      Attachments

        1. image-2023-04-26-15-39-03-769.png
          357 kB
          Thorsten Goetzke

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Gösen Thorsten Goetzke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: