Skip to main content

Plone Profile View

This package is designed to ease performace profiling of Plone websites.

Normally, if you want to profile Plone you need to run Zope with profiling active. This results in extreme performance drops and no way to properly target a specific section or functionality (AFAIK).

The product is a simple view that is made available only after installing the product through the site setup and available only to managers. This means that you can even run it in a production site, with no performace drops.

How to

There are two views exposed: @@profileview and @@profileview.ajax

@@profileview

Will run profiling on the current context and download a python cProfile dump which you can load in the viewer of your choice.

A target as well as arguments for the target can be specified via a get param (e.g. Plone/profileview?target=overview-controlpanel&kwargs={“a”=”b”})

@@profileview.ajax

Similar to @@profileview except it saves the output profile dump in a temp file and exposes an interactive in-site interface to query the dumped file.

A target as well as arguments for the target can be specified via hash params (e.g. /Plone/profileview.ajax#?target=overview-controlpanel&kwargs={“a”=”b”})

Depending on browser, you may need to refresh the page after changing the hash part of the URL.

Installation

[instance]
...
eggs =
    ...
    plone.profileview

Changelog

0.2 - (2016-05-20)

  • Cleanup: Remove profile in order not to leave traces within database [avoinea]

0.1 - (2016-05-12)

  • Initial release

Metadata

Release files for plone.profileview 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plone.profileview 0.2
File Size Uploaded Provenance Actions
plone.profileview-0.2.zip 208.1 kB Without provenance Details for plone.profileview-0.2.zip

Release files / plone.profileview-0.2.zip

Download URL plone.profileview-0.2.zip
Size 208.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0ae8824c0ee73802ff8b9a8eaa6ef2c8e8793187c401f1093ccb22b26c316e8c
BLAKE2b-256 checksum
How to use checksums
74fa6cbe28ea5addc821e72ca6afadf7fbc9ebddf1f46eddb92b912f63c663a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for plone.profileview 0.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.

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page