[New-bugs-announce] [issue13839] -m pstats should combine all the profiles given as arguments

Matt Joiner report at bugs.python.org
Mon Jan 23 04:38:17 CET 2012


New submission from Matt Joiner <anacrolix at gmail.com>:

Frequently when profiling multiple threads, I need to combine several dump stat files. Currently -m pstats reads the profiling data at only the first path given. It should merge all the profiling data from all the paths given.

$ python3.3 -m pstats prof/5506-7f00f*

Minimalist patch attached.

----------
components: Library (Lib)
files: m-pstats-merge-profiles.patch
keywords: patch
messages: 151795
nosy: anacrolix
priority: normal
severity: normal
status: open
title: -m pstats should combine all the profiles given as arguments
type: enhancement
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file24294/m-pstats-merge-profiles.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13839>
_______________________________________


More information about the New-bugs-announce mailing list