Skip to content

permanently 100% cpu #943

@vandenoever

Description

@vandenoever

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions