Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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.

History

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.

License

GNU General Public License, GPL

Authors

  • Hedley Roos (tests, better cache-key, invalidation)
  • Jens Klein (initial code, maintainer) <dev@bluedynamics.com>

Contributors

JC Brand <jc@opkode.com>

Release History

Release History

This version
History Node

1.2

History Node

1.1

History Node

1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
archetypes.schematuning-1.2-py2.4.egg (53.0 kB) Copy SHA256 Checksum SHA256 2.4 Egg Jan 22, 2010
archetypes.schematuning-1.2.tar.gz (20.9 kB) Copy SHA256 Checksum SHA256 Source Jan 22, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting