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 its accessed. Factoring a schema is usally fast anyway. I.e. in an average Plone Site a, ATDocuemnts schema is accessed per request 80 times. So caching it makes sense anyway, even if a single call is fast. With schematuning ATDocument in PythonProfiler (which linear slows down whole Python) came down from 1.518s down to 0.084s for Schema calls. This makes it roughly 18 times faster.
History
Roche Compaan and Hedley Ross 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file archetypes.schematuning-1.1.tar.gz
.
File metadata
- Download URL: archetypes.schematuning-1.1.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fee3880e7f0184ea8b486f7e8f8cb6129a595bb3bc29a252af46d454b3636193 |
|
MD5 | c42263c2b43cb28ca6f388256b4da8b8 |
|
BLAKE2b-256 | d5fe691b920510334b45bfec388d5130944f25da7b088e94c5ba0a8243e42910 |