Thorsten Goetzke created BATIK-1354:
---------------------------------------

             Summary: Massive Performance Problems because of 
getColorConvertOpAplhaSupported
                 Key: BATIK-1354
                 URL: https://issues.apache.org/jira/browse/BATIK-1354
             Project: Batik
          Issue Type: Bug
            Reporter: Thorsten Goetzke
         Attachments: image-2023-04-26-15-39-03-769.png

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

After investigating with the Yourkit Compiler 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.

!image-2023-04-26-15-39-03-769.png!

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-h...@xmlgraphics.apache.org

Reply via email to