Preformance hit when lines on screen are long

未关闭
#375 1 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
csharp

调研方向

复现行长度超过 800 个字符时的滚动变慢问题,并将其与正常行长度的情况进行比较。跟踪编辑器的渲染路径,以确定是否绘制了屏幕外的部分,然后验证在这种情况下滚动性能不再显著下降。

由索引模型根据 Issue 内容生成。

描述

Hello. I've recently started using this editor in a project and have been loving it so far, however,
I noticed that the performance of the editor (when scrolling) decreased dramatically when the lines on the screen were realy long (800+ chars). I don't know why this is exactly, but I think it is because the out-of-view parts of the line are still being drawn. It would be great if someone could look into this, even tough it is an edgecase scenario!

Thanks!

主要语言
C#
星标
2.1k
派生
496
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

icsharpcode/AvalonEdit 的其他 Issue

查看 icsharpcode/AvalonEdit 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。