[Geoserver-devel] [JIRA] (GEOS-11087) Fix IsolatedCatalogFacade unnecessary performance overhead

Gabriel Roldan created an issue

GeoServer / ImprovementGEOS-11087

Fix IsolatedCatalogFacade unnecessary performance overhead

Issue Type:

ImprovementImprovement

Assignee:

Gabriel Roldan

Created:

31/Jul/23 4:28 PM

Priority:

MediumMedium

Reporter:

Gabriel Roldan

IsolatedCatalogFacade adds unnecessary overhead:

  • when the request is not an OWS request (signaled by Dispatcher.REQUEST.get() == null ) , it doesn’t need to filter out anything
  • count(Class, Filter) grabs an interator and counts its elements, can be avoided if
  • list(Class, Filter, Integer, Integer, SortBy...):CloseableIterator builds an ArrayList to return its iterator, when it should just filter the provided iterator

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100233-sha1:da16c62)

Atlassian logo