https://bugs.gpodder.org/show_bug.cgi?id=1250

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from [email protected] 2011-11-01 13:12:04 GMT ---
I recently tried to profile gPodder on Maemo 5 and Harmattan. Unfortunately,
it's not as easy as the manual suggests as python-profiler is not available (at
least, I couldn't find a precompiled package).  Here's a possible work around:

    # wget http://packages.python.org/line_profiler/kernprof.py
    # python -m kernprof /usr/bin/gpodder

Kernprof saves the statistics in the file program.prof in the current directory
(in this case, it saves the data in gpodder.prof).

To analyize the data, you'll need to copy the file to a system that has
python-profiler installed. Then run:

    # python -m pstats gpodder.prof
    Welcome to the profile statistics browser.
    % sort time
    % stats 10
    ...

Also see:
http://hssl.cs.jhu.edu/~neal/woodchuck/blog/2011/11/01/Profiling_Python_Code/

-- 
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to