Skip to main content

More Speed with cached Archetypes Schemas.

Project description

This package speeds up Archetypes Schemas and is a patch for Products.Archetypes.

It uses plone.memoize to cache Archetypes Schemas instead of factoring and modifying them every time they’re accessed. Factoring a schema is usually fast but in an average Plone Site, the ATDocument’s schema, for example, is accessed about 80 times per request. So caching it still makes sense, even if a single call is fast. With schematuning, ATDocument in PythonProfiler (which linearly slows down whole Python) came down from 1.518s down to 0.084s for Schema calls. This makes it roughly 18 times faster.


Roché Compaan and Hedley Roos found while working on one if their projects several performance issues. One of it was the often repeated BaseObject.Schema() method. Read about it on the Mailing-List.


GNU General Public License, GPL


  • Hedley Roos (tests, better cache-key, invalidation)
  • Jens Klein (initial code, maintainer) <>


JC Brand <>

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for archetypes.schematuning, version 1.2
Filename, size File type Python version Upload date Hashes
Filename, size archetypes.schematuning-1.2-py2.4.egg (53.0 kB) File type Egg Python version 2.4 Upload date Hashes View
Filename, size archetypes.schematuning-1.2.tar.gz (20.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page