After the upgrade (from Hight Sierra to Catalina) some of my scripts became slow. Very slow.
They all display a table containing a list of files, and some info on these files.
Some are compiled or bundled scripts and uses a library to build & display the table in a window.
Others are Xcode apps and every thing is built using AppleScriptObjC from Xcode.
I’ve spent 2 entire days making tests and searching the web, looking after a workaround but found nothing.
It’s obvious that every routine where file/resource reading is involved take much more time to execute.
But also the display of an empty table is affected.
(All of these scripts used to take less than a second to complete and now they can take up to 5 seconds.)
At first, I thought that Spotlight indexation (and other “post-upgrade system housekeeping”) was the problem. But after 4 days now, Spotlight is fully indexed and
Activity Monitor does not show unusual resource consumption.
Does anyone here encounters the same issue?
Hope there is a known workaround for this issue…