{"id":20839160,"url":"https://github.com/sbdavid/flipper-plugin-launchperformancetree-client","last_synced_at":"2026-04-16T14:39:44.856Z","repository":{"id":123946549,"uuid":"371264498","full_name":"SBDavid/flipper-plugin-launchperformancetree-client","owner":"SBDavid","description":null,"archived":false,"fork":false,"pushed_at":"2021-06-02T09:35:05.000Z","size":175,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T05:00:07.237Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SBDavid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-05-27T06:06:39.000Z","updated_at":"2021-06-02T09:35:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"05da08a0-5efe-43e2-9447-8ee43dd46ba3","html_url":"https://github.com/SBDavid/flipper-plugin-launchperformancetree-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SBDavid/flipper-plugin-launchperformancetree-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SBDavid%2Fflipper-plugin-launchperformancetree-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SBDavid%2Fflipper-plugin-launchperformancetree-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SBDavid%2Fflipper-plugin-launchperformancetree-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SBDavid%2Fflipper-plugin-launchperformancetree-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SBDavid","download_url":"https://codeload.github.com/SBDavid/flipper-plugin-launchperformancetree-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SBDavid%2Fflipper-plugin-launchperformancetree-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31891037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T11:36:10.202Z","status":"ssl_error","status_checked_at":"2026-04-16T11:36:09.652Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T01:12:31.867Z","updated_at":"2026-04-16T14:39:44.850Z","avatar_url":"https://github.com/SBDavid.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flipper-plugin-launchperformance-tree\n\nlaunchperformance-tree是一个Flipper插件，它使用树形结构展现Js模块的加载速度和依赖关系。\n\n## 1. 主要功能\n- 查找加速速度缓慢的js模块，通过依次展开子树精确定位大型js模块的名称\n  - 你可以点击 `+` 展开模块依赖书，并通过不同的颜色判断模块加载速度是否有问题\n\n## 2. 建议选择大于5ms的过滤选项，以提高查找效率\n\n## 3. 数据说明\n### 3.1 时长\n一般包括js文件载入内存、jsCore解释js代码、jsCore执行代码中的define方法得到模块的基础信息，运行require方法得到模块的导出对象。JS模块存在相互依赖关系，如果模块A依赖模块B，那么模块A的加载时长中包含了B的加载时长。\n\n### 3.2 灰色模块\nbaseBundle中的模块，这些模块在线上环境会做预加载，所以不会占用首屏启动的时长，故不需要优化。\n\n### 3.3 红色模块\n加载时长超过20ms，表示很可能存在问题。但是项目入口文件的加载时长通常大于20ms，不需要过于担心。\n\n### 3.4 蓝色模块\n加载时长超过5ms\n\n### 3.5 绿色模块\n加载时长小于5ms\n\n## 4. 问题\n\n### 4.1 为什么父模块的时长不等于子模块时长直和\n有些模块使用懒加载模式，父模块的引用包含了懒加载模块的时长，但是被懒加载的子模块无法在父模块中显示。\n但是此时时间计算没有错误，只是无法显示出子模块，可以通过react-native-launchperformace-log插件进一步排查。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbdavid%2Fflipper-plugin-launchperformancetree-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbdavid%2Fflipper-plugin-launchperformancetree-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbdavid%2Fflipper-plugin-launchperformancetree-client/lists"}