-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
High CPU Usage #6155
Comments
Based on the very CPU usage, I gotta assume that you're using HiDPI/Acrylic/large screen. Is any of these true? |
No, On the Alienware it's 1920x1080 non gsync panel and on ideapad end it's 1366x768 display
|
Hmm, that's certainly weird. Could you do something that's not disk i/o bound to check if that's what's causing this? That might at least help narrow the problem down. |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
What exactly what me to run? |
What if you just repeat the steps from this #1064 (comment)? Get big.txt from https://norvig.com/big.txt CMD command
PowerShell command
Ubuntu Bash command
|
Thanks for the report! So, here's the thing. I think this is really just going to be par for the course. There's a lot of work to be done in text rendering 😄 even things that happen off the GPU, like glyph shaping and font handling and buffer management and stuff. I'd love to see a performance trace, if anybody can get one, that shows why this is bad. 😄 We've explicitly made tradeoffs, sometimes, that use more CPU time to process things faster and queue them up for the slower steps of the pipeline. That's on purpose: if we can burst, get work done, and then have an easier time later we will often choose to do so. There's a weird inflection point we hit sometimes where we clean up a slow part of the terminal and it goes faster, and it going faster means that we burn up cycles doing the thing you asked us to do with higher expenditure for a shorter time. I'm not sure that's bad; it likely evens out to "better in the long run" For now, this is by-design. If it proves to be a bottleneck, however, I'd love to have that chat 😄 Thanks again! |
😄, anyhow i'm closing the issue. If i find anything to add i'll do that. |
Environment
Steps to reproduce
Created a Directory, CDing into that Directory. Create couple of Folders and add 10 files to both folders. run Tree Command
Expected behavior
Display Folder structure
Actual behavior
Displayed the Structure but High CPU usage aroung 60% on dual core i7-6500u (Lenovo Ideapad 310) and 50% on 6 core i7-8750h (Alienware 17 R5)
The text was updated successfully, but these errors were encountered: