[GH-ISSUE #3948] 日志非常多的时候会有性能问题 #2726

Open
opened 2026-02-27 00:54:02 +03:00 by kerem · 1 comment
Owner

Originally created by @Seraphli on GitHub (May 18, 2025).
Original GitHub issue: https://github.com/electerm/electerm/issues/3948

Electerm Version and download file extension(Electerm版本和下载文件后缀)

1.90.8

Platform detail (平台详情)

windows

What steps will reproduce the bug?(重新问题的详细步骤)

我使用SSH连接到远程之后,远程开了一个tmux,这个session里一直在刷新新的日志,频率很高。如果我这个连接一直开着,electerm一直在接收日志的话,大概2个小时之后,electerm就会变得很卡,界面上也会出现一些乱码。发送ctrl+c的时候会发现远程其实收到了命令,但是本地还在刷之前没刷完的日志。只能关掉重新开。应该是性能问题。

What should have happened?(期望的结果)

不会卡顿。如果界面处理不了这么高频的日志的话,建议跳过一些日志,免得要显示的内容跟不上帧率然后队列越堆越多,最后停不下来。

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

No response

Additional information(其他任何相关信息)

No response

Originally created by @Seraphli on GitHub (May 18, 2025). Original GitHub issue: https://github.com/electerm/electerm/issues/3948 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) 1.90.8 ### Platform detail (平台详情) windows ### What steps will reproduce the bug?(重新问题的详细步骤) 我使用SSH连接到远程之后,远程开了一个tmux,这个session里一直在刷新新的日志,频率很高。如果我这个连接一直开着,electerm一直在接收日志的话,大概2个小时之后,electerm就会变得很卡,界面上也会出现一些乱码。发送ctrl+c的时候会发现远程其实收到了命令,但是本地还在刷之前没刷完的日志。只能关掉重新开。应该是性能问题。 ### What should have happened?(期望的结果) 不会卡顿。如果界面处理不了这么高频的日志的话,建议跳过一些日志,免得要显示的内容跟不上帧率然后队列越堆越多,最后停不下来。 ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) _No response_ ### Additional information(其他任何相关信息) _No response_
Author
Owner

@sailcom commented on GitHub (May 30, 2025):

设置--终端:

  • 保留终端显示行数,数量减小可加快打开速率;
  • 渲染类型修改为dom可以大大加快打开速率。
<!-- gh-comment-id:2920909861 --> @sailcom commented on GitHub (May 30, 2025): 设置--终端: - 保留终端显示行数,数量减小可加快打开速率; - 渲染类型修改为dom可以大大加快打开速率。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#2726
No description provided.