Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A python nose plugin to profile using cProfile rather than the default Hotshot profiler.

Project Description

A plugin to use cProfile to profile nosetests, rather than the built-in Hotshot profiler.

Profiling tests can help track down sources of performance issues in code, especially if a synthetic test can be created to focus on the area of concern.

The output generated by this plugin can easily be browsed using pstats_viewer, or any other pstats-compatible viewer.

Getting started


This is a plugin for nose, so it’s useless without that installed.


pip install nose-cprof


This plugin adds some new options to nosetests:

--with-cprofile       Enable plugin cProfiler:  Use this plugin to run tests
                      using the cProfile profiler.  [NOSE_WITH_CPROFILE]
                      Output file name; default "stats.dat"
                      Erase previously-collected profiling statistics before
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
nose-cprof-0.1.4.tar.gz (2.9 kB) Copy SHA256 Checksum SHA256 Source Sep 19, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting