IndexedFidReader reads the index file inefficiently 
----------------------------------------------------

                 Key: GEOT-2401
                 URL: http://jira.codehaus.org/browse/GEOT-2401
             Project: GeoTools
          Issue Type: Improvement
          Components: data shapefile
    Affects Versions: 2.5.4
            Reporter: Andrea Aime
            Assignee: Jesse Eichar
             Fix For: 2.5.5


The NIO buffer allocated is just a handful of bytes, this results in a lot of 
OS calls. 
The inefficiency was introduced in GEOT-2050 to fix a bug. At the time I 
checked and it did nto seem to make a difference, benchmarks I run today show 
it actually causes the GeoServer performance over the FOSS4G 2008 benchmarks to 
significantly drop (57 req/s as is, over 85 after patching to read a buffer 
1024 times bigger).
I also made sure the bug reported in GEOT-2050 is fixed, the test cases 
introduced there still pass (that required some modifications other than just 
changing the buffer size of course)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to