Micro having a lot of CPU load on big files even after closed
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- go
- 領域
- cli, performance
調査の方向性
Start by tracing how Micro releases a buffer and its syntax highlighting work after a file is closed; the report does not name a source file or test, so first locate the close and highlighting paths in the Go code. Reproduce with a roughly 1.2 MB C file, close it, and check whether CPU use remains high. Done means closing the file no longer leaves sustained CPU usage.
索引モデルが issue の本文から書いたものです。
説明
Description
I'm experiencing a problem when opening big files in Micro.
In the video attached, I open a C source-code file of around 1.2MB, right away you can notice high CPU usage while the file is open, this is understandable.
The problem here is that even after closing the file, CPU usage remais high as if the program still had that file loaded and processing something (I'd guess probably syntax highlighting because it seems incomplete when I open the file). The only way to solve this, as far as I tested, is to restart Micro.
https://github.com/user-attachments/assets/88344cc5-0fc6-4182-bda0-fa6d283799a2
If you have any more questions about my setup here i'd be glad to answer.
Best regards, love your project!
Environment
- Version: 2.0.15 (6a62575b)
- OS: Debian 13 (Linux 6.12.107)
- Terminal: alacritty
- 主要言語
- Go
- スター
- 29.8k
- フォーク
- 1.4k
- 平均マージ
- 1日 12時間
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
micro-editor/micro のほかの issue
-
feature syntax
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
micro-editor/micro#4289 ·
メンテナーはふだん 3 日以内に返信
-
Also bind alt-click for multi-cursors対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンfeature
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
micro-editor/micro#4260 ·
メンテナーはふだん 3 日以内に返信
-
XML syntax highlighting breaks if empty tag contains whitespace before close対応中かも @justadityaraj が 58 日前に担当しました。 オープンbug syntax
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
micro-editor/micro#4213 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
micro-editor/micro#3553 · コメント 5 件 ·
メンテナーはふだん 3 日以内に返信
-
syntax
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
micro-editor/micro#2969 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 3 日以内に返信
micro-editor/micro の issue をすべて見る
似ている issue
-
[v3] KeyBindingManager calls (Add/Remove) are not converted into a case-insensitive accelerator.KeyオープンBug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
runtime: usleep sleeps nanoseconds instead of microseconds on linux/mips and linux/mips64対応中かも @BRobertson7 が今日担当しました。 オープンcompiler/runtime
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
aws/aws-sdk-go-v2#3625 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
adrianbrad/queue#92 ·