You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by "Thorsten Goetzke (Jira)" <ji...@apache.org> on 2023/04/26 15:06:00 UTC
[jira] [Updated] (BATIK-1354) Massive Performance Problems because of getColorConvertOpAplhaSupported
[ https://issues.apache.org/jira/browse/BATIK-1354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thorsten Goetzke updated BATIK-1354:
------------------------------------
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.
!image-2023-04-26-15-39-03-769.png!
was:
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!
> 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
> Priority: Major
> 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 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.
> !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-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org