{ "info": { "author": "Anton Bobrov", "author_email": "baverman@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Operating System :: MacOS", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Internet", "Topic :: Scientific/Engineering", "Topic :: System :: Distributed Computing", "Topic :: System :: Monitoring", "Topic :: System :: Systems Administration" ], "description": "Flamegraph generator for python's `cProfile `_ stats.\n\n`Flamegraphs `_ allow to\nvisualize relations between functions in a very compact and understandable\nmanner.\n\n``Flameprof`` solves main problems of built-in cProfile reporting and can replace\n`gprof2dot `_ because later outputs\nvery huge graphs with a lot of noise.\n\n``Flameprof`` works with profile stat files obtained by\n`Profile.dump_stats() `_\ncall or via direct script profiling::\n\n python -m cProfile -o myscript.prof myscript.py\n\n\nInstall\n=======\n\nVia pip::\n\n pip install flameprof\n\nOr you can invoke ``flameprof.py`` directly::\n\n python flameprof.py input.prof > output.svg\n\n\nNative svg (--format=svg)\n=========================\n\nNative svg features:\n\n* compact function names with full names in a tooltip\n* precise timings (cumulative and total)\n* call counts (in a tooltip on hover)\n* green bars show stack frames where flameprof starts to guess timing ratios\n* inverted flamegraph to show total time of all calls\n\nGraph width, row height, font size and threshold can be set via appropriate cli\noptions.\n\n::\n\n flameprof requests.prof > requests.svg\n\n.. image:: https://cdn.rawgit.com/baverman/flameprof/master/img/requests.svg\n :alt: Requests profile\n :width: 100%\n :align: center\n\nInverted flamegraph:\n\n.. image:: https://cdn.rawgit.com/baverman/flameprof/master/img/httplib.svg\n :alt: Requests profile\n :width: 100%\n :align: center\n\n(Images are clickable)\n\n\nSvg generated with flamegraph.pl (--format=log)\n===============================================\n\nAlso ``flameprof`` can output trace log suitable as input for flamegraph.pl.\n\nYou can treat \"samples\" as microseconds by default (see ``--log-mult`` option).\n\n::\n\n flameprof --format=log requests.prof | flamegraph > requests-flamegraph.svg\n\n.. image:: https://cdn.rawgit.com/baverman/flameprof/master/img/requests-flamegraph.svg\n :alt: Requests profile with flamegraph.pl\n :width: 100%\n :align: center\n\n(Image is clickable)\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/baverman/flameprof/", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "flameprof", "package_url": "https://pypi.org/project/flameprof/", "platform": "any", "project_url": "https://pypi.org/project/flameprof/", "project_urls": { "Homepage": "https://github.com/baverman/flameprof/" }, "release_url": "https://pypi.org/project/flameprof/0.4/", "requires_dist": null, "requires_python": "", "summary": "cProfile flamegraph generator", "version": "0.4" }, "last_serial": 4633102, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "64120e2bdf86bb801eae070eaad05c9f", "sha256": "459004119f9803faded813126373d1e6f354a1351bd8249dd1e5d103a17483b3" }, "downloads": -1, "filename": "flameprof-0.1.tar.gz", "has_sig": false, "md5_digest": "64120e2bdf86bb801eae070eaad05c9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3892, "upload_time": "2017-09-17T01:02:28", "url": "https://files.pythonhosted.org/packages/b1/61/d16e8791b56dd4748e3d883e87c4ac5a764e83d2e33ff711c7366697759f/flameprof-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "aaab838e271603ce5d14232c182d0a04", "sha256": "b0461c5a3d8cf67ee0bcb0084c7d9fac28ae82d840dc2f610b809745c1f05d4f" }, "downloads": -1, "filename": "flameprof-0.2.tar.gz", "has_sig": false, "md5_digest": "aaab838e271603ce5d14232c182d0a04", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4860, "upload_time": "2017-09-17T11:12:51", "url": "https://files.pythonhosted.org/packages/95/54/2d5af696fbe2b42a374861ebfd0883962a666d1f02f6e7dd98b85bef7e6a/flameprof-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "08dc1d396729204e932a1e693e0c3563", "sha256": "f6562a1c1e076c32cbd9f2aad75ec20e0addd45853239f8a4880c9c5fa170fde" }, "downloads": -1, "filename": "flameprof-0.2.1.tar.gz", "has_sig": false, "md5_digest": "08dc1d396729204e932a1e693e0c3563", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4998, "upload_time": "2017-09-23T09:40:02", "url": "https://files.pythonhosted.org/packages/11/7f/38b6f48d673313c28c929858b5c9831c23c505425b681e89655666f4ae4f/flameprof-0.2.1.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "db44aebaf98dbaa0e24de20a4c6aa4c5", "sha256": "66a9d3230e9a58c9780eead6068cc7eef937a56fec64466a1792468b4d78b958" }, "downloads": -1, "filename": "flameprof-0.3.tar.gz", "has_sig": false, "md5_digest": "db44aebaf98dbaa0e24de20a4c6aa4c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5400, "upload_time": "2017-10-04T10:59:40", "url": "https://files.pythonhosted.org/packages/35/ef/2f4476f5db445074eada0a5ccd7254508eaed639750ab158a263efae5e90/flameprof-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "1e2fb6290cf768e14781d0bb33917c88", "sha256": "dbc86d4190cbbba624f1e0a40f44d9db96138e27534d83c8ef42d420857875a3" }, "downloads": -1, "filename": "flameprof-0.4.tar.gz", "has_sig": false, "md5_digest": "1e2fb6290cf768e14781d0bb33917c88", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7865, "upload_time": "2018-12-25T09:28:48", "url": "https://files.pythonhosted.org/packages/c0/e7/114f6710d31854b694598f577f9eac49d7f38b7fb8a55e86e2d3f848fd1c/flameprof-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1e2fb6290cf768e14781d0bb33917c88", "sha256": "dbc86d4190cbbba624f1e0a40f44d9db96138e27534d83c8ef42d420857875a3" }, "downloads": -1, "filename": "flameprof-0.4.tar.gz", "has_sig": false, "md5_digest": "1e2fb6290cf768e14781d0bb33917c88", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7865, "upload_time": "2018-12-25T09:28:48", "url": "https://files.pythonhosted.org/packages/c0/e7/114f6710d31854b694598f577f9eac49d7f38b7fb8a55e86e2d3f848fd1c/flameprof-0.4.tar.gz" } ] }