alfredapp / shortcuts-workflow

Run installed macOS shortcuts
BSD 3-Clause "New" or "Revised" License
247 stars 4 forks source link

Quering takes time #10

Closed alwinsamson closed 6 months ago

alwinsamson commented 6 months ago

Workflow version

v2024.1

Alfred version

5.1.4

macOS version

macOS Sonoma 14.3.1

Debugger output

[16:12:21.429] Shortcuts[Script Filter] Queuing argument '(null)'
[16:12:28.307] Shortcuts[Script Filter] Script with argv '(null)' finished
[16:12:28.312] Shortcuts[Script Filter] {"cache":{"seconds":300,"loosereload":true},"items":s

More details

Previous updates were much snappier, didn't even have to wait for this long.

vitorgalvao commented 6 months ago

This is now using the new caching mechanism in Alfred 5.5 Beta. You can update Alfred or download the previous version in the meantime if you prefer.

notDavid commented 5 months ago

@vitorgalvao Fyi, i'm having the same issue. The new version is much slower compared to before i updated the Workflow...

(Alfred 5.5 Build 2257, Monday 18th March 2024)

vitorgalvao commented 5 months ago

It can’t be the same issue, because the one above was based on the cache never being saved due to not having the correct Alfred version. What you’ll be be seeing is the cache being rebuilt more often and in the foreground, while previously it was always in the background and done less often. You should only see a slower build after restarting Alfred and then they’re instant.

notDavid commented 5 months ago

Thank you for clarifying @vitorgalvao

I'll keep an eye on when the issue occurs and report back if if needed, but, based on what you said, i think you are correct 😊

notDavid commented 4 months ago

@vitorgalvao fyi, i have downgraded to 2023.8 for now, it's much faster compared to the new 2024.1... 🤷🏼‍♂️