Skip to content

并发分析,增量缓存#6

Open
AlexCat315 wants to merge 1 commit intoLiRenTech:mainfrom
AlexCat315:feature/concurrent-incremental-cache
Open

并发分析,增量缓存#6
AlexCat315 wants to merge 1 commit intoLiRenTech:mainfrom
AlexCat315:feature/concurrent-incremental-cache

Conversation

@AlexCat315
Copy link

@AlexCat315 AlexCat315 commented Mar 11, 2026

变更

  • 为 Git blame 增加受控并发执行,减少首次全量分析耗时
  • 新增文件级增量缓存,复用未变化文件的 blame 结果
  • 增加性能基准脚本,用于对比基线实现和当前实现的分析耗时

验证

  • corepack pnpm run compile
  • corepack pnpm run lint
  • node scripts/benchmark-performance.mjs

基准结果

  • 冷启动全量分析:约 1.27x 提升
  • 修改 3 个 tracked 文件后的再次分析:约 19.65x 提升

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant