Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 2, 2014
  1. @benjaminjkraft

    Add link to .cpuprofile to GAE Mini Profiler.

    benjaminjkraft authored
    Test Plan: Load a page, check that it works and imports into chrome happily.
    Reviewers: alan
    Reviewed By: alan
    Differential Revision:
Commits on Jan 7, 2014
  1. @jlfwong

    Add ability to download raw profiling data

    jlfwong authored
    This allows the raw data collected by the instrumented profiler to be
    downloaded, allowing further analysis using tools like kcachegrind/qcachegrind.
    In theory this allows production profiles to be analyzed locally, though that
    would rely on the assumption that data serialized using `marshal` on production
    would be deserializable using `marshal` on our dev machines.
    Test Plan:
    1. Set the profiler to use the instrumented profiler. Load a page.
    2. To the right of the "Profile" link to expand the profiling information, you
       should now see a "Download raw profile" link. Click this link and download
       a profile.
    Once you have the profile locally, you can load it with the python `pstats`
    module, or if you want to load it up in cachegrind, do the following (it might
    take a while):
    brew install graphviz qcachegrind
    sudo pip install pyprof2calltree==1.3.0
    (Woohoo, I got my PRs merged on pyprof2calltree to make it work with qcachegrind!)
    Assuming your profile ended up in `~/Downloads/abcd.profile`, load the profile
    up like this:
    pyprof2calltree -k -i ~/Downloads/abcd.profile
    Reviewers: ben
    Reviewed By: ben
    Differential Revision:
Commits on Jan 17, 2013
  1. @kamens

    Mini profiler now shows pending latency (I've wanted this forever) an…

    kamens authored
    …d whether or not the request was a loading request.
    Test Plan:
    Deployed to
    Hit on both loading and non-loading requests
    Clicked on mini profiler tab, then "Show More Request Info" and verified that pending ms and loading request data showed up
    Reviewers: alpert
    Differential Revision:
Commits on Jan 5, 2013
  1. @kamens

    Use simpler relative imports

    kamens authored
Commits on Jan 4, 2013
  1. @kamens
Commits on Nov 10, 2011
  1. @kamens

    Add logging output to mini profiler console, and more output cleanup …

    kamens authored
    …that we've been using internally for a while
Commits on Oct 10, 2011
  1. @mdornseif

    PEP8 compliance

    mdornseif authored
    Addressed concerns of:
        $ pyflakes .
        $ pep8 -r --ignore=E501 .
Commits on Jun 26, 2011
  1. @kamens

    Fix silly main() bug

    kamens authored
  2. @kamens

    Initial import

    kamens authored
Something went wrong with that request. Please try again.