question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extremely slow output causing unresponsive tab

See original GitHub issue

The problem is the same as described in #6394 which should have been fixed.

I encountered the same problem with .179 on Windows 11 x64, sometimes the symptom is much worse —

Tabby enters a status not responding to user inputs for the exact tab (while still printing lots of lines quickly overflow the scroll buffer); AND Tabby starts to use a significant amount of CPU (on a very high-end PC); AND Even if I repeatedly enter something like Ctrl-C immediately after entering the command that triggers a lot of output, it takes 10 seconds or 20 seconds or even longer to stop the output (especially when the output lines are colored). I tried rolling back to .176 and it seems better (still in verification).

A typical command to trigger the issue fgrep . -Inr / --color.

I can grab and attach a performance trace later (after I have time to reinstall .179 debug it) if it sounds necessary to you.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:3
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
wudishengcommented, Jun 11, 2022

Hi,

I’ve got some time to collect the performance profiles.

The way I collect these profiles is as below

  • Download portable versions of 1.0.176 and 1.0.179 (while 1.0.176 is still installed system-wide);
  • Prepare a directory code containing about 200MB source files;
  • For each of the portable versions above, and in a default WSL shell
    • Run command time ( find code | grep --color a ) several times (warm-up, to eliminate potential filesystem caching effects);
    • Start recording performance trace;
    • Run command time ( find code | grep --color a ) 3 times in a row, each time immediately after seeing the command prompt shows up (i.e. the output finishes scrolling and rendering);
    • Stop recording performance trace and save the profiling results;
  • Compress both profiles for comparison and upload.

The difference is significant — the command itself executes for about 0.5 second (as reported by time), and

  • For version 1.0.176, it took about 1 second to finish rendering;
  • For version 1.0.179, it took about 19 seconds, and maybe using more CPU (since the noise from adaptive fans is obviously louder than .176);

No configuration changed during the benchmark.

Let me know if you need more performance traces with certain actions (e.g. pressing Ctrl-C immediately after entering the command in .179).

Profile-1.0.176.json.gz Profile-1.0.179.json.gz

0reactions
wudishengcommented, Jun 16, 2022

Thanks a lot!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chrome becomes slow and unresponsive every day
Every single day my chrome will become very slow and unresponsive, every action takes several seconds longer than it should. It also affects...
Read more >
Browsers running slow (& not responding) on Windows 10
1. Open the browser. · 2. Press CTRL + Shift+ Delete on your keyboard the same time. · 3. A window will pop...
Read more >
13 Tips to Windows 11/Windows 10 Very Slow and ... - MiniTool
In order to fix the Windows 10/11 very slow and unresponsive issue, try these tips in this article to speed up your Windows...
Read more >
What to do if Galaxy Tab A runs slow | fix slow performance
Galaxy Tab A runs slow fix #1: Check the Memory ... One of the common reasons for slow performance issue on Android is...
Read more >
How to Fix Windows 10 when It Is Very Slow and Unresponsive
1. A computer that's been running stores a lot of information and data that could be slowing it down. Simply restarting your computer...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found