{ "info": { "author": "HBQA", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: MacOS", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only" ], "description": "\n[TOC]\n\n##\u7b80\u4ecb\n\n\u5229\u7528\u5de5\u5177\uff0c\u5373\u53ef\u5bf9android\u79fb\u52a8\u7aefAPP\u8fdb\u884c\u5feb\u901f\u7684\u6027\u80fd\u6d4b\u8bd5(CPU\u3001\u5185\u5b58)\u3001\u5f00\u53d1\u65e5\u5fd7\u7684\u67e5\u770b\u3001Crash\u65e5\u5fd7\u67e5\u770b\u7edf\u8ba1\u7b49\n\u6d4b\u8bd5\u4efb\u52a1\u5c31\u662f\u4fdd\u8bc1\u529f\u80fd\u7684\u6b63\u5e38\uff0c\u5e76\u4e14\u4e0d\u4f1a\u6709\u9057\u7559\u7684\u5185\u5b58\u5bf9\u8c61\uff0c\u9020\u6210\u5185\u5b58\u6cc4\u6f0f\u95ee\u9898\n\n\n##\u73af\u5883\u8981\u6c42\n+ macOS\n+ Python3.6\u53ca\u4ee5\u4e0a\n+ android adb \n\n\n##\u4f7f\u7528\n##\u6d4b\u8bd5\u6d41\u7a0b\n###0. \u524d\u63d0\n\t\u4f7f\u7528\u65f6\uff0c\u901a\u8fc7USB\u7ebf\u8fde\u63a5\u624b\u673a\u548c\u7535\u8111\u5373\u53ef\u3002\n\n\n###1. \u547d\u4ee4\u6d4b\u8bd5\n\n '''\n usage: heimdall3 [-h] [-d DEVICE_ID] [-s SAVE_PATH] [-p PACKAGE_PROCESS]\n [-t1 PEFORMANCE_INTERAL] [-t2 HROF_INTERAL]\n optional arguments:\n -h, --help show this help message and exit\n -d DEVICE_ID, --device_id DEVICE_ID\n Set device id to memory\n -s SAVE_PATH, --save_path SAVE_PATH\n Set path to save results\n -p PACKAGE_PROCESS, --package_process PACKAGE_PROCESS\n The given argument may be either a process\n name or pid, default is \"com.sankuai.meituan\"\n -t1 PEFORMANCE_INTERAL, --peformance_interal PEFORMANCE_INTERAL\n the interal of memory to get\n -t2 HROF_INTERAL, --hrof_interal HROF_INTERAL\n the interal of hrof to ge\n '''\n\n###\u5b57\u6bb5\u8bf4\u660e\n\tdevice_id: \u662f\u624b\u673a\u7684device id, \u901a\u8fc7adb \u67e5\u8be2\n\tsave_path\uff1a\u4fdd\u5b58\u7684\u76ee\u5f55\uff0c\u9ed8\u8ba4\u662f\u5f53\u524d\u76ee\u5f55\n\tpackage_process\uff1a \u8fd0\u884c\u7684\u7a0b\u5e8f\n\tpeformance_interal: \u662f\u8bfb\u53d6\u7684memory \u95f4\u9694\u65f6\u95f4\uff0c \u9ed8\u8ba4\u662f5s\n\throf_interal\uff1a\u662f\u62c9\u53d6\u5185\u5b58\u5feb\u7167\u7684\u95f4\u9694\u65f6\u95f4\uff0c\u9ed8\u8ba4\u662f10\u5206\u949f\n\n\n###2. \u4ee3\u7801\u6d4b\u8bd5\n\u5f00\u59cb\u76d1\u542c\n\n\tp = PerformanceManger()\n \tp.begin(device_id='HT7131700092', save_path='',package_process='', peformance_interal=5, hrof_interal=300)\n\n\u7ed3\u675f\u76d1\u542c\n\n\tp.end()\n\n\n###3. \u6d4b\u8bd5\u573a\u666f\n1. \u65b0\u5f00\u53d1\u6216\u8005\u6539\u8fdb\u7684\u67d0\u9879\u529f\u80fd\uff0c\u968f\u7740\u6d4b\u8bd5\u529f\u80fd\u7684\u53cd\u590d\u4f7f\u7528\n2. \u957f\u65f6\u95f4\u8fd0\u884c\u7684\u7a33\u5b9a\u6027\u6d4b\u8bd5\n3. \u53cd\u9988\u5207\u6362\u9875\u9762\uff0c\u6709\u6570\u636e\u7f13\u5b58\u7684\n\n\n###4. \u6d4b\u8bd5\u91cd\u70b9\n1. \u591a\u5f20\u56fe\u7247\u7684\u754c\u9762\uff0c\u5927\u56fe\u7247\n2. \u7f51\u7edc\u4f20\u8f93\u5927\u91cf\u7684\u6570\u636e\n3. \u540e\u53f0\u5f02\u6b65\u7ed9\u524d\u7aef\n\n\n###5. \u67e5\u770b\u7ed3\u679c\n1. \u9ed8\u8ba4\u4fdd\u5b58\u5728\u201dresults/device_id/\u65e5\u671f_\u65f6\u95f4\u201c\u6587\u4ef6\u4e0b\n\u6216\u8005\u4fdd\u5b58\u8def\u5f84\u201csave_path/device_id/\u65e5\u671f_\u65f6\u95f4\u201c\u4e0b\u3002\n\n2. \u67e5\u770bDalvik\u548c Native \u5185\u5b58\u503c\u7684\u5185\u5b58\u503c\u66f2\u7ebf,\u5185\u5b58\u53d8\u5316\u7684\u6ce2\u52a8\u60c5\u51b5\n\n\n###6. \u786e\u5b9a\u95ee\u9898\n1. \u4e00\u76f4\u5728\u589e\u957f\n2. \u5927\u5e45\u5ea6\u6ce2\u52a8\n\u4f7f\u7528 Memory Analyzer Tool (MAT)\u5206\u6790\u95ee\u9898\n\n***\n##\u9644\u5f55\n####\u4ee3\u7801\u6d41\u7a0b\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "heimdall-android", "package_url": "https://pypi.org/project/heimdall-android/", "platform": "", "project_url": "https://pypi.org/project/heimdall-android/", "project_urls": { "Homepage": "https://github.com" }, "release_url": "https://pypi.org/project/heimdall-android/0.0.7/", "requires_dist": null, "requires_python": "", "summary": "", "version": "0.0.7" }, "last_serial": 5311227, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "1a2aa9de54b092c284a97e4819168033", "sha256": "fc2582f9d1a4a3f4599e355beab20c22ed382fd7d4ae07ee335060c732be66fc" }, "downloads": -1, "filename": "heimdall_android-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "1a2aa9de54b092c284a97e4819168033", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12298, "upload_time": "2019-03-14T00:10:34", "url": "https://files.pythonhosted.org/packages/87/f5/0c78f6dddad9b0412c7feed551994cb7b2e53a147e849a15f51b124cd425/heimdall_android-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "53265cd17dee4b1c59023010cc5576c4", "sha256": "c63872ea28007dc2975a31ed720c9ba7883c35cc0533b632cccf8cc959c5451a" }, "downloads": -1, "filename": "heimdall-android-0.0.1.tar.gz", "has_sig": false, "md5_digest": "53265cd17dee4b1c59023010cc5576c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9231, "upload_time": "2019-03-14T00:10:36", "url": "https://files.pythonhosted.org/packages/30/5c/c56e3e5b544115bece464875d16be2305cb75355651abf2b1a4ec1679007/heimdall-android-0.0.1.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "1bb40015480a27128e4624cc68b07bca", "sha256": "f71203a92ddce31709a60d435ee16a6261bf40c2c6c8c466a409ad6309ef6340" }, "downloads": -1, "filename": "heimdall_android-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "1bb40015480a27128e4624cc68b07bca", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12335, "upload_time": "2019-04-02T11:22:01", "url": "https://files.pythonhosted.org/packages/ea/81/8376f44f78b60b1da15e4e2f426f16eece3e96a3b3db81ebe67e9e8450a2/heimdall_android-0.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d64e41f0c76f096d1609e16290bb898a", "sha256": "306b93f762baa4a215e5f7587e396de750c576a2f9dd48abefa4243200eca9ab" }, "downloads": -1, "filename": "heimdall-android-0.0.6.tar.gz", "has_sig": false, "md5_digest": "d64e41f0c76f096d1609e16290bb898a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9363, "upload_time": "2019-04-02T11:22:02", "url": "https://files.pythonhosted.org/packages/87/77/3d4cbd5ef8dc058e1638a599df2d58c81dd6f748b33c8b0c22fea5aaa583/heimdall-android-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "703a9049ad3d4e8f54471c94471b9148", "sha256": "8a509822ba36ae1675bd9be828bcd700c4f5331547f64b8ed226ddcff1e0a61b" }, "downloads": -1, "filename": "heimdall_android-0.0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "703a9049ad3d4e8f54471c94471b9148", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12589, "upload_time": "2019-05-24T07:26:10", "url": "https://files.pythonhosted.org/packages/a5/83/b2ce6c0a7b4c35343f34d67af75dc7b6ff5d3006286d7bbfefc9b99ade87/heimdall_android-0.0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b163d4b7ea896ab0607bb932e7fb2209", "sha256": "a4ddee664cbc0c5e3c55c773dcc0387182cd83567489cc01f2eee65c950f24ff" }, "downloads": -1, "filename": "heimdall-android-0.0.7.tar.gz", "has_sig": false, "md5_digest": "b163d4b7ea896ab0607bb932e7fb2209", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9588, "upload_time": "2019-05-24T07:26:11", "url": "https://files.pythonhosted.org/packages/c3/81/d789289814052916ffd3e2236aee483e7a6694094c8223f8113c33a8611a/heimdall-android-0.0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "703a9049ad3d4e8f54471c94471b9148", "sha256": "8a509822ba36ae1675bd9be828bcd700c4f5331547f64b8ed226ddcff1e0a61b" }, "downloads": -1, "filename": "heimdall_android-0.0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "703a9049ad3d4e8f54471c94471b9148", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12589, "upload_time": "2019-05-24T07:26:10", "url": "https://files.pythonhosted.org/packages/a5/83/b2ce6c0a7b4c35343f34d67af75dc7b6ff5d3006286d7bbfefc9b99ade87/heimdall_android-0.0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b163d4b7ea896ab0607bb932e7fb2209", "sha256": "a4ddee664cbc0c5e3c55c773dcc0387182cd83567489cc01f2eee65c950f24ff" }, "downloads": -1, "filename": "heimdall-android-0.0.7.tar.gz", "has_sig": false, "md5_digest": "b163d4b7ea896ab0607bb932e7fb2209", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9588, "upload_time": "2019-05-24T07:26:11", "url": "https://files.pythonhosted.org/packages/c3/81/d789289814052916ffd3e2236aee483e7a6694094c8223f8113c33a8611a/heimdall-android-0.0.7.tar.gz" } ] }