Permalink
Commits on Jul 19, 2017
  1. Add LICENSE, clear up BSD/MIT confusion

    Close #20.
    committed Jul 19, 2017
Commits on May 20, 2017
  1. Update version to 1.4.1

    committed May 20, 2017
  2. Merge pull request #19 from pwaller/issue-17

    Move 'tests' directory to standard 'test'
    committed on GitHub May 20, 2017
  3. Merge pull request #18 from mgorny/py3-test-fix

    tests: Fix StringIO import for Python 3
    committed on GitHub May 20, 2017
Commits on May 17, 2017
  1. tests: Fix StringIO import for Python 3

    Python 3 no longer provides a 'cStringIO' module. Use StringIO from 'io'
    module instead.
    mgorny committed May 17, 2017
Commits on Sep 3, 2016
  1. Cut 1.4.0

    committed Sep 3, 2016
  2. Merge pull request #15 from zbenjamin/master

    Name de-duplication, change units, and add some tests
    committed on GitHub Sep 3, 2016
Commits on Aug 18, 2016
  1. Misc cleanups

    zbenjamin committed Oct 5, 2015
  2. Add some minimal tests

    To make the tests deterministic, we have to do some sorting when generating
    output.
    
    These tests are not comprehensive by any means, but they're at least a start.
    zbenjamin committed Oct 1, 2015
  3. Fix reccallcount for subentries

    We don't actually use it, but having the data be wrong is begging for future
    bugs if it ever gets used.
    zbenjamin committed Sep 30, 2015
  4. Change units from ticks (milliseconds) to nanoseconds

    For profiles where many functions take less than 1 millisecond, the total time
    calculated via _summary() (the max total time) and the total time that
    kcachegrind calculates (the sum of the exclusive times) can be very large.  This
    leads to kcachegrind showing, e.g., that the most expensive function takes 220%
    of the total time.  Switching to nanosecond precision largely mitigates this and
    has the advantage of making less expensive functions show up in the profile
    (functions with a cost of 0 appear to be dropped).
    zbenjamin committed Sep 30, 2015
Commits on Sep 30, 2015
  1. Support multiple functions with the same name defined in the same file

    The callgrind format does not have a native way of representing multiple
    functions with the same name defined in the same file.  Such function are common
    in object-oriented code, where multiple classes can have methods with the same
    name.  We de-duplicate such methods by appending the line number they are
    defined on to the function name when there is a name collision.
    
    Prior to this commit, functions with the same name defined in the same file were
    aggregated together in the resulting callgrind profile.
    zbenjamin committed Sep 30, 2015
  2. Fix creating callgraph profiles directly from cProfile entries

    The format that pstats2entries returned did not quite match what cProfile
    entries look like.
    zbenjamin committed Sep 30, 2015
Commits on Jul 5, 2014
  1. Merge pull request #13 from pwaller/bump-1.3.2

    Bump version to 1.3.2
    committed Jul 5, 2014
  2. Bump to 1.3.2

    committed Jul 5, 2014
Commits on Feb 7, 2014
  1. Merge pull request #12 from mdboom/source-code-links

    Correctly specify source files
    committed Feb 7, 2014
Commits on Jan 28, 2014
  1. Update CONTRIBUTORS.txt

    mdboom committed Jan 28, 2014
Commits on Nov 27, 2013
  1. Merge pull request #10 from zyv/patch-3

    Python 3 compatibility (pyprof2calltree.py)
    committed Nov 27, 2013
  2. Merge pull request #11 from pwaller/version-bump

    Bump to 1.3.1
    committed Nov 27, 2013
  3. Python 3 compatibility (pyprof2calltree.py)

    In #8, I have missed few more instances of the same kind of problem: strings are saved to a file, which is opened as a binary stream. I'm sorry about that.
    zyv committed Nov 27, 2013
  4. Bump to 1.3.1

    committed Nov 27, 2013
  5. Merge pull request #9 from zyv/patch-2

    Update CONTRIBUTORS.txt
    committed Nov 27, 2013
  6. Update CONTRIBUTORS.txt

    As requested.
    zyv committed Nov 27, 2013
  7. Merge pull request #8 from zyv/patch-1

    Python 3 compatibility (pyprof2calltree.py)
    committed Nov 27, 2013
  8. Python 3 compatibility (pyprof2calltree.py)

    Fixes the following exception when converting Python profiling data to the callgrind format:
    
    ```
    Traceback (most recent call last):
      File "pyprof2calltree", line 9, in <module>
        load_entry_point('pyprof2calltree==1.3.0', 'console_scripts', 'pyprof2calltree')()
      File "pyprof2calltree.py", line 290, in main
        kg.output(open(outfile, 'wb'))
      File "pyprof2calltree.py", line 130, in output
        out_file.write('events: Ticks\n')
    TypeError: 'str' does not support the buffer interface
    ```
    zyv committed Nov 27, 2013
Commits on Nov 19, 2013
  1. Merge pull request #7 from pwaller/version-bump

    Version bump 1.3.0
    committed Nov 19, 2013
  2. Version bump

    committed Nov 19, 2013
  3. Merge pull request #6 from phleet/patch-1

    Update CONTRIBUTORS.txt
    committed Nov 19, 2013
  4. Update CONTRIBUTORS.txt

    jlfwong committed Nov 19, 2013