{ "info": { "author": "WangWei", "author_email": "2317073226@qq.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# AndPerf\n\nAndroid \u4e0a\u7684\u4e00\u4e9b\u6027\u80fd\u8c03\u4f18\u5de5\u5177\n\n\n## \u5b89\u88c5\n```bash\npip3 install andperf\n```\n\n## \u4f7f\u7528\n#### `andperf dev-screen`\n![dev_screen.png](https://raw.githubusercontent.com/weixinfree/AndPerf/master/images/dev_screen.png)\n#### `andperf stat-thread`\n![stat_t.png](https://raw.githubusercontent.com/weixinfree/AndPerf/master/images/stat_t.png)\n#### `andperf top-activity`\n![top_activity.png](https://raw.githubusercontent.com/weixinfree/AndPerf/master/images/top_activity.png)\n#### `andperf fps`\n![fps.png](https://raw.githubusercontent.com/weixinfree/AndPerf/master/images/fps.png)\n#### `andperf gfx-hist`\n![gfx_historgram.png](https://raw.githubusercontent.com/weixinfree/AndPerf/master/images/gfx_historgram.png)\n#### `andperf meminfo-pie`\n![meminfo_pie.png](https://raw.githubusercontent.com/weixinfree/AndPerf/master/images/meminfo_pie.png)\n#### `andperf meminfo-trend`\n![meminfo_trend.png](https://raw.githubusercontent.com/weixinfree/AndPerf/master/images/meminfo_trend.png)\n\n## \u5b8c\u6574\u547d\u4ee4\u5217\u8868\n\n```bash\nandperf config \u8bbe\u7f6e\u7528\u6237\u81ea\u5b9a\u4e49\u914d\u7f6e\nandperf cpuinfo \u67e5\u770b\nandperf dev-mem \u67e5\u770b\u8bbe\u5907\u5185\u5b58\u4fe1\u606f\nandperf dev-screen \u67e5\u770b\u8bbe\u5907\u5c4f\u5e55\u4fe1\u606f\nandperf dump-config \u67e5\u770b\u5f53\u524d\u7684\u7528\u6237\u81ea\u5b9a\u4e49\u914d\u7f6e\nandperf dump-layout \u5bfc\u51fa\u5f53\u524d\u6808\u9876Activity\u5e03\u5c40\uff0c\u5e76\u5728\u6d4f\u89c8\u5668\u6253\u5f00\nandperf fps \u8ba1\u7b97fps\uff0c\u6700\u540e\u4f1a\u7ed8\u5236\u4e00\u5f20fps\u53d8\u5316\u56fe\nandperf gfx-hist \u67e5\u770bgfx\u6bcf\u5e27\u7ed8\u5236\u8017\u65f6\u5206\u5e03\u76f4\u65b9\u56fe\nandperf gfx-reset reset app \u7684gfxinfo\uff0c\u91cd\u65b0\u5f00\u59cb\u7edf\u8ba1\nandperf gfxinfo \u67e5\u770bapp\u7684gfxinfo\u4fe1\u606f\nandperf meminfo \u67e5\u770bapp\u7684meminfo\u4fe1\u606f\nandperf meminfo-pie \u5c06\u5f53\u524dapp\u7684\u5404\u90e8\u5206\u5185\u5b58\u5360\u7528\u6309\u7167\u997c\u56fe\u5c55\u793a\nandperf meminfo-trend \u5c55\u793aapp\u5404\u90e8\u5206\u5185\u5b58\u968f\u65f6\u95f4\u7684\u53d8\u5316\nandperf screencap \u622a\u56fe\u5e76\u5728\u6d4f\u89c8\u5668\u6253\u5f00\nandperf stat-thread \u7edf\u8ba1\u4e00\u6bb5\u65f6\u95f4\u5185app\u8fdb\u7a0b\u5185\uff0c\u5404\u7ebf\u7a0b\u83b7\u5f97\u5230\u7684\u65f6\u95f4\u7247\u5360\u6bd4\nandperf systrace \u8c03\u7528Android systrace \u547d\u4ee4\uff0c\u5e76\u5728chrome\u4e2d\u6253\u5f00\nandperf top-activity \u67e5\u770b\u5f53\u524d\u6808\u9876Activity\nandperf top-app \u67e5\u770b\u5f53\u524d\u6808\u9876App\n```\n\n## config\nconfig \u6307\u5b9aapp package name\uff0c\u53ef\u4ee5\u5728\u6267\u884c\u5176\u5b83\u6307\u4ee4\u65f6\u8282\u7701\u5f88\u591a\u8f93\u5165\n\n```bash\nandperf config --app=com.meelive.ingkee\n```\n\n## LICENSE\n[MIT](https://github.com/weixinfree/AndPerf/blob/master/LICENSE)\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/weixinfree/AndPerf", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "andperf", "package_url": "https://pypi.org/project/andperf/", "platform": "", "project_url": "https://pypi.org/project/andperf/", "project_urls": { "Homepage": "https://github.com/weixinfree/AndPerf" }, "release_url": "https://pypi.org/project/andperf/0.0.2b1/", "requires_dist": [ "matplotlib (==3.0.0)", "numpy (==1.15.1)", "pandas (==0.23.4)" ], "requires_python": "", "summary": "Android \u6027\u80fd\u8c03\u4f18\u5de5\u5177", "version": "0.0.2b1" }, "last_serial": 4469251, "releases": { "0.0.1b1": [ { "comment_text": "", "digests": { "md5": "29b0870e3b57a05c6062fb6d2573ff43", "sha256": "2233c5d07dc304293d9dd18cd1964607efb4b316807e082c7037ac5ce12e0eb5" }, "downloads": -1, "filename": "andperf-0.0.1b1-py3-none-any.whl", "has_sig": false, "md5_digest": "29b0870e3b57a05c6062fb6d2573ff43", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7224, "upload_time": "2018-11-08T13:06:55", "url": "https://files.pythonhosted.org/packages/4b/0c/42f562871235783c5e16da0aac72c4d82cd0ebfa9033322422e55bca3e0f/andperf-0.0.1b1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3b33d2b89043357dc4b2e5d0a0984104", "sha256": "824090a9c5b4666f28fb3abbe95370200a2adfccf88ffc02c78b3b286ff56522" }, "downloads": -1, "filename": "andperf-0.0.1b1.tar.gz", "has_sig": false, "md5_digest": "3b33d2b89043357dc4b2e5d0a0984104", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6671, "upload_time": "2018-11-08T13:06:57", "url": "https://files.pythonhosted.org/packages/7b/30/245a9fb79df2042ecd910d7229d505a6fcba5ac35a65702a6d5e4c956cec/andperf-0.0.1b1.tar.gz" } ], "0.0.1b2": [ { "comment_text": "", "digests": { "md5": "88d8779c470a714ece8d7d7cc49d2151", "sha256": "0aa46a1536b34683da9526d9136a6b09fba7bc0647906f825ac8a09f666cc8ab" }, "downloads": -1, "filename": "andperf-0.0.1b2-py3-none-any.whl", "has_sig": false, "md5_digest": "88d8779c470a714ece8d7d7cc49d2151", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9306, "upload_time": "2018-11-09T06:34:03", "url": "https://files.pythonhosted.org/packages/b4/c3/18cac4b90e152b5b12b50987a5cdd8a176d7cf3d28c591a2932d62a75200/andperf-0.0.1b2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "968b7efeb0548f968a4d852729e1fede", "sha256": "31e905db256557bb02bb5860edef3529956f55fbf25c841eaae4494c6f3a114e" }, "downloads": -1, "filename": "andperf-0.0.1b2.tar.gz", "has_sig": false, "md5_digest": "968b7efeb0548f968a4d852729e1fede", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7223, "upload_time": "2018-11-09T06:34:04", "url": "https://files.pythonhosted.org/packages/15/c0/b934e1110b8a1135a1b0a5f458682eba93dcd77b0123f553792b2fe66fe9/andperf-0.0.1b2.tar.gz" } ], "0.0.1b3": [ { "comment_text": "", "digests": { "md5": "b04b4377d7b530fcc8959493214a0687", "sha256": "7c787c9aa2073c4003918159d32aeed61299539334f922c84725c00169bb5cec" }, "downloads": -1, "filename": "andperf-0.0.1b3-py3-none-any.whl", "has_sig": false, "md5_digest": "b04b4377d7b530fcc8959493214a0687", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9291, "upload_time": "2018-11-09T12:11:15", "url": "https://files.pythonhosted.org/packages/42/8f/e6a9c41ab61c1b15ec6d4454d2c01faa4741ec3e06a7cce4883ff1011bf7/andperf-0.0.1b3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c3a42a98327a40813301bbde9fab3311", "sha256": "368d08990c76ea6d594de82124a192efe5f4cc8f579575e2000e1a575f628c6f" }, "downloads": -1, "filename": "andperf-0.0.1b3.tar.gz", "has_sig": false, "md5_digest": "c3a42a98327a40813301bbde9fab3311", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7226, "upload_time": "2018-11-09T12:11:16", "url": "https://files.pythonhosted.org/packages/1d/df/34bba1fff9c8ecaeddf04a4d372cc36da5c13c112cc550d5bdb0a1c331da/andperf-0.0.1b3.tar.gz" } ], "0.0.1b4": [ { "comment_text": "", "digests": { "md5": "6b1db8a3ca89659fe0617199847bd35f", "sha256": "a23368d8fb5a711d24842bbcde16aa0cc0377db8f825a288f5f512a9cf3b36c7" }, "downloads": -1, "filename": "andperf-0.0.1b4-py3-none-any.whl", "has_sig": false, "md5_digest": "6b1db8a3ca89659fe0617199847bd35f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9288, "upload_time": "2018-11-09T12:16:16", "url": "https://files.pythonhosted.org/packages/e6/c7/c35c46abba6e094c4aad82b659d2b5518e9e49fd0e6ad77e080f578c6ca6/andperf-0.0.1b4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9990ac74b9329ec109d35b90cb505dcf", "sha256": "c13019c284abfad874a55c535049e15785a3e9eb289ca4661837f9f176226daa" }, "downloads": -1, "filename": "andperf-0.0.1b4.tar.gz", "has_sig": false, "md5_digest": "9990ac74b9329ec109d35b90cb505dcf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7222, "upload_time": "2018-11-09T12:16:18", "url": "https://files.pythonhosted.org/packages/22/4b/8e99ed30fa17718f7b3be3af33d5f247048951b393dc471b4f36274de3cf/andperf-0.0.1b4.tar.gz" } ], "0.0.2b1": [ { "comment_text": "", "digests": { "md5": "e52a38196d15515d2d3519e6a24c291d", "sha256": "0d1dc71975e39fe5949125ed1483d9c45d3fdf53ee5d62e2518c6366cfc2097c" }, "downloads": -1, "filename": "andperf-0.0.2b1-py3-none-any.whl", "has_sig": false, "md5_digest": "e52a38196d15515d2d3519e6a24c291d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9302, "upload_time": "2018-11-09T12:41:04", "url": "https://files.pythonhosted.org/packages/50/56/768ffaad10efce1b710d995833aa822fc2109118b00f0ddcb3f6ccdc252e/andperf-0.0.2b1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9b20c91173d78696697c6269c3672a9d", "sha256": "416ce8678e14df7261c8d564d4728b5e13cd90763dbfb2911f159967fbeea7c5" }, "downloads": -1, "filename": "andperf-0.0.2b1.tar.gz", "has_sig": false, "md5_digest": "9b20c91173d78696697c6269c3672a9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7218, "upload_time": "2018-11-09T12:41:05", "url": "https://files.pythonhosted.org/packages/00/dd/7d493f990388d9d53878a546ed7a98dd09f17e321e68e4c906bc2169ad33/andperf-0.0.2b1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e52a38196d15515d2d3519e6a24c291d", "sha256": "0d1dc71975e39fe5949125ed1483d9c45d3fdf53ee5d62e2518c6366cfc2097c" }, "downloads": -1, "filename": "andperf-0.0.2b1-py3-none-any.whl", "has_sig": false, "md5_digest": "e52a38196d15515d2d3519e6a24c291d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9302, "upload_time": "2018-11-09T12:41:04", "url": "https://files.pythonhosted.org/packages/50/56/768ffaad10efce1b710d995833aa822fc2109118b00f0ddcb3f6ccdc252e/andperf-0.0.2b1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9b20c91173d78696697c6269c3672a9d", "sha256": "416ce8678e14df7261c8d564d4728b5e13cd90763dbfb2911f159967fbeea7c5" }, "downloads": -1, "filename": "andperf-0.0.2b1.tar.gz", "has_sig": false, "md5_digest": "9b20c91173d78696697c6269c3672a9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7218, "upload_time": "2018-11-09T12:41:05", "url": "https://files.pythonhosted.org/packages/00/dd/7d493f990388d9d53878a546ed7a98dd09f17e321e68e4c906bc2169ad33/andperf-0.0.2b1.tar.gz" } ] }