[opencms-dev] Performance Patch for Opencms
Achim Westermann
Achim.Westermann at gmx.de
Tue Aug 24 17:41:39 CEST 2010
Hi Harald,
maybe this is a candidate for an bugzilla entry along with the patch and a good explanation. Just to make sure that this is not forgotten in future releases.
kind regards,
Achim
-------- Original-Nachricht --------
> Datum: Tue, 24 Aug 2010 17:20:38 +0200
> Von: "Brabenetz, Harald" <harald.brabenetz at bearingpointconsulting.com>
> An: \'The OpenCms mailing list\' <opencms-dev at opencms.org>
> Betreff: [opencms-dev] Performance Patch for Opencms
> Hi,
>
> we created a performance-Patch for the Class CmsXmlEntityResolver.java
>
> The CmsXmlEntityResolver clears his cache on every publish event, even if
> no "schema-definition" where published.
> Also the LRU Cache has low dimensions (128 row-File-Content Entries and 64
> parsed Schema-Definition Entries for the whole online and offline
> project).
>
> * We made the following changes:
> 1. The Cache will only be cleared on publish-event if a Schema
> definition (*.xsd or *.dtd) where found in the publish-List.
> 2. The LRU-Cache were increased:
> o 1024 entries of row-File-Content (Map m_cacheTemporary)
> o 512 entries of already parsed Schema Defintion Objects (Map
> m_cacheContentDefinitions)
>
> The Patch is attached (Works at least for OpenCms 7.5.2 and 7.5.3)
>
> With friendly regards,
> Harald Brabenetz
>
> INFONOVA GmbH
> Sitz: Unterpremst?tten bei Graz
> Firmenbuchgericht: Landesgericht f?r ZRS Graz
> Firmenbuchnummer: FN 44354b
>
> The information in this email is confidential and may be legally
> privileged. If you are not the intended recipient of this message, any review,
> disclosure, copying, distribution, retention, or any action taken or omitted to
> be taken in reliance on it is prohibited and may be unlawful. If you are
> not the intended recipient, please reply to or forward a copy of this message
> to the sender and delete the message, any attachments, and any copies
> thereof from your system.
More information about the opencms-dev
mailing list