Skip to main content

A nose plugin that outputs one cProfile stat dump to a file, for each test.

Install

pip install nose-talisker

Format of the file name is:

module-name.class-name.test-name.elapsed-milli-seconds.timestamp.prof

For example:

zamboni.apps.files.tests.test_views.TestFileViewer.test_view_access_reviewed.001448ms.2011-06-09T01:50:34.323206.prof
zamboni.apps.files.tests.test_views.TestFileViewer.test_view_access_reviewed.001577ms.2011-06-09T01:56:51.694283.prof

Options

  • prof_path: the destination directory to write to. If not given a temporary one will be created for you. If you provide a directory, it must exist.

Usage

nosetests –with-talisker –prof-path=/tmp/output

This module is designed to be used by talisker to consume and view the profile results. The format is deliberately based upon the runprofileserver from the command extensions module, with the same option naming.

License: BSD Author: Andy McKay, andym@mozilla.com

Release files for nosetalisker 0.2.1

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

Source distribution (sdist)

Source distribution for nosetalisker 0.2.1
File Size Uploaded
nosetalisker-0.2.1.tar.gz 2.6 kB Details

Release files / nosetalisker-0.2.1.tar.gz

Download URL nosetalisker-0.2.1.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ae2ab69c52b20c1c396635433ee44c50d544e3d63db9392b00a51d41dba9176b
BLAKE2b-256 checksum
How to use checksums
a06bd02cb18bafb58dceeaf4f3c39192076c6f3cac4ac96f0437e77dd4362630
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 release file

0.2

1 release file

0.1

1 release file

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