Skip to main content

Profiler skin for Zope3

Project description

This package provides a profiler skin which allows you to profile pages.

Detailed Documentation

Web-based Profiler

This package offers a profiler including a skin. This profiler allows you to profile views on a existing Zope3 application.

Let’s access the profiler start page:

>>> from z3c.etestbrowser.testing import ExtendedTestBrowser
>>> user = ExtendedTestBrowser()
>>> user.addHeader('Accept-Language', 'en')
>>> user.open('http://localhost/++skin++Profiler')

If you access the profiler, you can push the start button:

>>> user.getControl('Start').click()
>>> 'Show Profile' in user.contents
True

Now we can go to the help.html page which get profiled. Let’s use another browser for this.

>>> newBrowser = ExtendedTestBrowser()
>>> newBrowser.open('http://localhost/++skin++Profiler/help.html')
>>> newBrowser.url
'http://localhost/++skin++Profiler/help.html'

After calling the help.html page, we can go to the doProfile page and show the profile by clicking on the Show Profile button:

>>> user.getControl('Show Profile').click()

If we whould not call this form within this test, we whould see the profile data table. But we do not see the profile data table. Probably the testrunner conflicts with the monkey call.

CHANGES

0.6.0 (2009-02-19)

  • No longer used deprecated z3c.layer.

  • Fixed dependencies and tests.

0.5.1 (2008-01-24)

  • Bug: Fixed meta-data.

  • Bug: Fixed deprecation warning about the Zope Security Policy.

0.5.0 (2008-01-21)

  • Initial Release

Project details


Download files

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

Source Distribution

z3c.profiler-0.6.0.tar.gz (105.1 kB view details)

Uploaded Source

File details

Details for the file z3c.profiler-0.6.0.tar.gz.

File metadata

  • Download URL: z3c.profiler-0.6.0.tar.gz
  • Upload date:
  • Size: 105.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for z3c.profiler-0.6.0.tar.gz
Algorithm Hash digest
SHA256 85d51e5d6b50fdb6f6a54bf6a14484fd7301f287152256743da93cd8aea28f8c
MD5 137ac5fba5a5a1f5ac06098fd06f8068
BLAKE2b-256 0354995d09865ffd5f5bc963e0b524851e2cf3ea34f578a6d90fd7e2de4eb988

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page