Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

permanently 100% cpu #943

Closed
vandenoever opened this issue Jul 6, 2019 · 2 comments
Closed

permanently 100% cpu #943

vandenoever opened this issue Jul 6, 2019 · 2 comments

Comments

@vandenoever
Copy link

In my terminal (Konsole on NixOS 19.04) tig uses 100% cpu permanently. It is responsive and works well, but the 100% is not normal.

perf record -g tig
perf report

gives

+   69.45%    69.43%  .tig-wrapped  libncursesw.so.6.1  [.] _nc_hash_map_sp
+   67.76%     0.00%  .tig-wrapped  [unknown]           [.] 0x00007fe87c006425
+    8.35%     8.34%  .tig-wrapped  libncursesw.so.6.1  [.] ClrBottom
+    5.50%     5.48%  .tig-wrapped  libncursesw.so.6.1  [.] doupdate_sp
+    3.35%     0.00%  .tig-wrapped  [unknown]           [.] 0x00007fe87cf895c0
+    3.20%     3.18%  .tig-wrapped  libncursesw.so.6.1  [.] _nc_scroll_optimize_sp
+    3.15%     0.00%  .tig-wrapped  [unknown]           [.] 0x00007fe87c000025
+    2.14%     2.12%  .tig-wrapped  libncursesw.so.6.1  [.] grow_hunks
@vandenoever
Copy link
Author

Running tig from console (not X) does not give 100% cpu. Running via ssh or as sudo tig also does not give 100% cpu. Running with minimal env variables in X (env -i PATH=$PATH TERM=$TERM tig) gives 100% cpu use.

@koutcher
Copy link
Collaborator

koutcher commented Jul 2, 2022

Does it still happen after 38c54de ?

@koutcher koutcher closed this as not planned Won't fix, can't repro, duplicate, stale Mar 29, 2024
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

No branches or pull requests

2 participants