yabai icon indicating copy to clipboard operation
yabai copied to clipboard

`query --windows` take a very long time

Open brorbw opened this issue 7 months ago • 2 comments

Querying windows is taking a lot longer than expected even with few windows.

# Timing commands
yabai -m query --displays  0.00s user 0.00s system 77% cpu 0.010 total
yabai -m query --spaces  0.00s user 0.00s system 53% cpu 0.015 total
yabai -m query --windows  0.00s user 0.01s system 1% cpu 0.674 total

# Counting windows
~
➜ yabai -m query --windows | jq length
9

# Checking most recent version
~
➜ brew update && brew upgrade yabai
==> Updating Homebrew...
Already up-to-date.
Warning: yabai HEAD-40d1075 already installed

I'm on Sonoma

brorbw avatar Jul 09 '24 23:07 brorbw