[Python-Dev] cProfile prints to stdout? (original) (raw)
skip at pobox.com skip at pobox.com
Sun Feb 26 01:13:04 CET 2006
- Previous message: [Python-Dev] cProfile prints to stdout?
- Next message: [Python-Dev] cProfile prints to stdout?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>> It is currently impossible to separate profile output from the
>> program's output.
Guido> It is if you use the "advanced" use of the profiler -- the
Guido> profiling run just saves the profiling data to a file, and the
Guido> pstats module invoked separately prints the output.
Sure, but then it's not "simple". Your original example was "... > file". I'd like it to be (nearly) as easy to do it right yet keep it simple.
Skip
- Previous message: [Python-Dev] cProfile prints to stdout?
- Next message: [Python-Dev] cProfile prints to stdout?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]