{ "info": { "author": "Dieter Maurer", "author_email": "dieter@handshake.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development" ], "description": "==========\ndm.profile\n==========\n\n\"profile.Profile\" improvement\n-----------------------------\n\nI started the implementation of this module in order to improve\nthe profiler's calibration using statistical methods.\nUnfortunately, variance proved to be far too high and my calibration trials\ndid not converge even for large sample sets.\nI had to abandon this approach.\n\nThe code is still there (in case anyone would like to look what I have\ntried) but I do not use it.\n\n\"pstats.Stats\" improvement\n--------------------------\n\nBeside the profiler's not so good calibration, I was not\nsatisfied with \"pstats\" format especially for the caller and callee analysis\nand with its insistence to write to \"stdout\".\n\nTherefore, I derived a new class ``Stats`` from ``pstats.Stats`` and added new\nmethods ``showStats``, ``showCallers`` and ``showCallees`` which\ncorrespond to ``print_stats``, ``print_callers`` and ``print_callees``.\nThey write to a file set with ``setOutputFile`` (default ``sys.stdout``)\nand use a different output format. For ``showCallers`` and ``showCallees``\nit is much more readable than the format used by ``print_callers`` and\n``print_callees``. I am not sure that this is also the case for the\nformat used for ``showStats`` versus ``print_stats``.\n\nWhen you are using \"Stats.print_callers\" or \"Stats.print_callees\"\nand find their output unreadable, then a switch to \"dm.profile.Stats\"\nmay be profitable for you.\n\nThe method ``showHeader`` outputs header information (with involved files,\ntop level functions, number of calls and profiled time).", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/dm.profile", "keywords": "profiling statistics caller callee analysis", "license": "BSD (see \"dm/profile/LICENSE.txt\", for details)", "maintainer": null, "maintainer_email": null, "name": "dm.profile", "package_url": "https://pypi.org/project/dm.profile/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/dm.profile/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/dm.profile" }, "release_url": "https://pypi.org/project/dm.profile/1.0/", "requires_dist": null, "requires_python": null, "summary": "Easier readable profile statistics -- especially for caller and callee analysis", "version": "1.0" }, "last_serial": 791253, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "c944bfef49d7e3bcc95e1f3a26e426e8", "sha256": "78679a396e864ba02975e8014c6807718663ba511fa1d96c19714ce89f6e7656" }, "downloads": -1, "filename": "dm.profile-1.0.tar.gz", "has_sig": false, "md5_digest": "c944bfef49d7e3bcc95e1f3a26e426e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5754, "upload_time": "2008-08-18T10:23:59", "url": "https://files.pythonhosted.org/packages/c2/37/b309ea83d6eb8415e349adf5dde102a94ec326818f7c03fef28d7fbb0e40/dm.profile-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c944bfef49d7e3bcc95e1f3a26e426e8", "sha256": "78679a396e864ba02975e8014c6807718663ba511fa1d96c19714ce89f6e7656" }, "downloads": -1, "filename": "dm.profile-1.0.tar.gz", "has_sig": false, "md5_digest": "c944bfef49d7e3bcc95e1f3a26e426e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5754, "upload_time": "2008-08-18T10:23:59", "url": "https://files.pythonhosted.org/packages/c2/37/b309ea83d6eb8415e349adf5dde102a94ec326818f7c03fef28d7fbb0e40/dm.profile-1.0.tar.gz" } ] }