module documentation
Profiling support for unit and performance tests. These are special purpose profiling methods which operate in a more fine-grained way than nose's profiling plugin.
Class |
|
Store per-platform/fn profiling results in a file. |
Function | count |
Undocumented |
Function | function |
Assert a target for a test case's function call count. |
Function | _start |
Undocumented |
Variable | _current |
String id of current test. |
Variable | _profile |
global ProfileStatsFileInstance. |
Assert a target for a test case's function call count. The main purpose of this assertion is to detect changes in callcounts for various functions - the actual number is not as important. Callcounts are stored in a file keyed to Python version and OS platform information. This file is generated automatically for new tests, and versioned so that unexpected changes in callcounts will be detected.