I think it is the underlying ImageIO "FactorFinder" mechanism that,
while asksing every ImageReaderSPI it finds in the classpth if it is
able to read a certain image, it runs into the TextImageReader and
asks it the same question. I think that what yu are seeing is the
consequence of some non-optimized code in the canDecode method
ImageReaderSPI.

Note that here we are running into the issue I raised here
http://jira.codehaus.org/browse/GEOT-1042?page=all.

Basically, IMHO, this class, along with the other needed classes,
shoul d be moved to its own plugin in order to not interfere with
other plugins'code. Since this classes mostly declares ImageIO plugin
they should become a fully-fledged coverage plugin.



Simone.


On 1/16/07, Andrea Aime <[EMAIL PROTECTED]> wrote:
> Hi,
> profiling the pyramid/mosaic plugins in geoserver
> I noticed a significant slowdown caused by TextImageReader
> trying to, well, do something I don't understand,
> due to the plugin system (I guess the plugin system is
> trying to locate the format that can handle an image and
> TextImageReader is answering).
>
> I've attached the profile here:
> http://jira.codehaus.org/secure/attachment/25243/profileLineFormat.html
>
> I think there are two ways to handle this:
> 1) optimize a lot that format reader
> 2) put it into its own plugin, since in Geoserver and uDig we don't
>    need it anymore
>
> What do you think?
> Cheers
> Andrea
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>


-- 
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions

http://www.geo-solutions.it

-------------------------------------------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to