This project has been archived by its maintainers, and is no longer receiving any updates.
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
Contributors
JC Brand <jc@opkode.com>
Metadata
Release files for archetypes.schematuning 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| archetypes.schematuning-1.2.tar.gz | 20.9 kB | Without provenance | Details for archetypes.schematuning-1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| archetypes.schematuning-1.2-py2.4.egg | Legacy Egg format | - | - | Details for archetypes.schematuning-1.2-py2.4.egg |
Total release size: 74.0 kB
Release files / archetypes.schematuning-1.2.tar.gz
| Download URL | archetypes.schematuning-1.2.tar.gz |
|---|---|
| Size | 20.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b9fa8bd2c47fa2741ca706c48294af549bc00485e485158c00b319e87b1fe7c
|
|
BLAKE2b-256 checksum How to use checksums |
79e32895ad393aa3b0132069c96409529f105ebdb9903919a9f28f2fdef5762d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / archetypes.schematuning-1.2-py2.4.egg
| Download URL | archetypes.schematuning-1.2-py2.4.egg |
|---|---|
| Size | 53.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
6adb1ce7a17e0b1065fd3527c9a05053befab1f7c53609a2edcda5f80946e294
|
|
BLAKE2b-256 checksum How to use checksums |
7bb8cf6c77b777fb2e1cd041132d92a1963e5307f2b154fb0cff084ddeb2c547
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for archetypes.schematuning 1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.