The performance of the CSS translator is highly dependent on not just the
size of the CSS style, but also the nature of the filters involved.  In the
time frame you mention (GeoServer 2.2.5 to 2.3) I made some changes to the
algorithm that traded off performance in some cases for others.  Overall it
is an improvement (in my estimation) but I'm aware there are some classes
of input that suffered.  It would be nice to fall back on the old approach
in those cases but at the time I wasn't able to think of a good heuristic.
The new approach introduces a preprocessing step before computing the
viable combinations of CSS rules, perhaps we could instrument that somehow
and fall back to the old approach if it is taking too long.

In either case, the CSS translator itself would definitely become a
bottleneck far before the SLD renderer does, even with the giant SLD output
from the CSS translator.


On Thu, May 15, 2014 at 5:53 AM, Simon Hartley <shart...@airdata.co.uk>wrote:

> When I compare GeoCSS 0.7.2 to 0.7.5 by theselves from Github, the
> conversion speed of the latter version is 15 times slower.
>
>
>
> Simon Hartley
>
>
>
>
>
> *From:* Jody Garnett [mailto:jody.garn...@gmail.com]
> *Sent:* 14 May 2014 21:03
> *To:* Andrea Aime
> *Cc:* Simon Hartley; geoserver-users@lists.sourceforge.net
>
> *Subject:* Re: [Geoserver-users] SLD Alternatives
>
>
>
> It was not clear to me what the "speed issues" were. Speed in conversion,
> or resulting rendering speed from the generated styles.
>
>
> Jody Garnett
>
>
>
> On Wed, May 14, 2014 at 7:27 AM, Andrea Aime <andrea.a...@geo-solutions.it>
> wrote:
>
> On Wed, May 14, 2014 at 3:18 PM, Simon Hartley <shart...@airdata.co.uk>
> wrote:
>
> Hi,
>
>
>
> Does anyone have any recommendations for easily building and maintaining
> SLD styles?
>
> We’ve tried using the GeoServer CSS extension and were initially happy
> with it, but we’re going to have to abandon it after major speed issues.
>
>
>
> You could also consider sponsoring a speedup of the css->sld conversion ;-)
>
>
>
> Cheers
>
> Andrea
>
>
>
> --
>
> ==
>
> Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
>
> for more information.
>
> ==
>
>
>
> Ing. Andrea Aime
>
> @geowolf
>
> Technical Lead
>
>
>
> GeoSolutions S.A.S.
>
> Via Poggio alle Viti 1187
>
> 55054  Massarosa (LU)
>
> Italy
>
> phone: +39 0584 962313
>
> fax: +39 0584 1660272
>
> mob: +39  339 8844549
>
>
>
> http://www.geo-solutions.it
>
> http://twitter.com/geosolutions_it
>
>
>
> -------------------------------------------------------
>
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform
> available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
>
> *** This communication has been sent from World Fuel Services
> Corporation or its subsidiaries or its affiliates for the intended
> recipient
> only and may contain proprietary, confidential or privileged information.
> If you are not the intended recipient, any review, disclosure, copying,
> use, or distribution of the information included in this communication
> and any attachments is strictly prohibited. If you have received this
> communication in error, please notify us immediately by replying to this
> communication and delete the communication, including any
> attachments, from your computer. Electronic communications sent to or
> from World Fuel Services Corporation or its subsidiaries or its affiliates
> may be monitored for quality assurance and compliance purposes.***
>
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform
> available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


-- 
David Winslow
Boundless - http://boundlessgeo.com/
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to