[Geoserver-devel] [jira] (GEOS-4903) superfluous sorted collection used in WMS.getDimensionCollection

Ian Schneider created GEOS-4903:
-----------------------------------

             Summary: superfluous sorted collection used in WMS.getDimensionCollection
                 Key: GEOS-4903
                 URL: https://jira.codehaus.org/browse/GEOS-4903
             Project: GeoServer
          Issue Type: Improvement
          Components: WMS
    Affects Versions: 2.2.x
            Reporter: Ian Schneider
            Assignee: Andrea Aime

I noticed this on a VM where performance on a getcaps request degraded from ~3 seconds to ~100 seconds. After timing on a local machine, the specific trouble maker shapefile took 3.5 seconds (this was reduced to 1.7 seconds using the normal, unsorted feature collection). The particular shapefile does not have many attributes, but relatively large geometries.

At issue is the recent native sorting capability introduced by GEOT-3977

Because the consumers of the returned feature collection either a) sort the results themselves (UniqueVisitor) or b) scan the entire collection {Min,Max}Visitor, it appears that significant extra work is being done.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira