Slow on larger repos
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- git, python
- 领域
- cli, performance
调研方向
No source files or tests are named. Start by profiling git stack restack and git stack list on the reported large and empty repositories, then trace the commands' runtime against commit and branch counts. Done means identifying and correcting the inefficiency so runtime does not scale unnecessarily with repository size.
由索引模型根据 Issue 内容生成。
描述
I'm on a repo with 580 commits in the HEAD tree (and 960 branches in git branch -av), and it roughly takes 17 seconds to run git stack restack, and 34 seconds to run git stack list.
On an empty repo, this seems to be much faster. On both cases, the stack height is 3. I believe there's an inefficiency somewhere that linearly increases the run-time with commit count.
- 主要语言
- Python
- 星标
- 17
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
stevearc/gitstack 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
-
bug
难度 3/5 1-2 天 新手友好度 42/100
-
难度 3/5 1-2 天 新手友好度 45/100
查看 stevearc/gitstack 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
-
难度 2/5 1-3 小时 新手友好度 88/100
use-agent-os/agent-os#3314 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
BasedHardware/omi#15662 · 1 条评论 ·
-
documentation help wanted
难度 2/5 1-3 小时 新手友好度 90/100
-
难度 2/5 1-3 小时 新手友好度 62/100
AiursoftWeb/AnduinOS-2#19 ·