~scoopta/wofi#131: 
100% CPU usage before prompt's input text area is focused

Steps to reproduce:

  1. htop or top
  2. wofi -eGS run
  3. Observe wofi using 100% CPU
  4. Click input text area (don't need to start typing)
  5. Observe wofi using 0-2% CPU
Status
RESOLVED DUPLICATE
Submitter
~geo25rey
Assigned to
No-one
Submitted
4 years ago
Updated
4 years ago
Labels
bug

~scoopta 4 years ago

Well, I cannot reproduce this. There's a small spike at startup but it lasts only around a second or so and then immediately drops down, no need to click the text field or anything? Does this happen in other modes or just run?

~geo25rey 4 years ago*

It also happens when running dmenu_path | wofi -d but doesn't happen when running wofi -d

~geo25rey 4 years ago

Maybe duplicate of #35?

~geo25rey 4 years ago

Ok so after about ~13 seconds, the high CPU usage subsides. The high CPU usage is due to a large number of Wayland surface commits. I'm assuming 1 commit for each line of the dmenu_path

~scoopta REPORTED DUPLICATE 4 years ago

Yeah this is a duplicate of #35 so I'll close it as such...that being said you've given me an interesting idea on maybe improving this so I'll mess with that

Register here or Log in to comment, or comment via email.