I’m currently trying to figure out why I keep getting “spikes” in the main thread with relatively decent hardware (5700X3D, 5900XT).
The basic FPS is good, but it keeps dropping from 50 to 30 fps for a few seconds during flight.
In the debug console (?) I then noticed that the spikes always appear when Aerosoft One Utilities WASM seems to be doing something, and that every second.
After I removed the relevant folder from the community folder, the spikes no longer seem to appear.
Perhaps I have set something wrong so that Aerosoft One “pings” every second, but otherwise I might want to check with other users to see if they have the same problem.
You better make a post about this on Aerosoft’s forum or Discord so they can have a deeper look.
Your example could also be due to a bug somewhere else that is preventing AS utilities from receiving/sending data or whatever. What if you use the Utilities with a empty community folder, does it still spike?
I already reported this long time ago at Aerosoft. The problem is also caused by Noolaero VDGS, which is a variant used by some ORBX and Marketplace airports.
Basically there´s a script that polls for nearby SimObjects to detect airplanes that are on the way to parking areas and as animated objects (e.g: wind turbines) are also SimObjects, it hits performance for some reason. Indeed you can see how the spike appears on the manipulators thread, which is the one responsible for handling objects. The higher the amount of airports you have implementing this module the bigger the performance hit will be as more SimObjects will need to be processed per cycle. Indeed in areas near dense wind farms (Frisian Islands or Sentinel Wind Farm in Palm Springs, which has thousands of wind turbines), you can see up to 30 fps reduction, in this case caused by the huge amount of SimObjects in the area.
I created a post long time ago about this with a manual fix you can try. I have tried many updated versions of the VDGS modules over the time and none of them fixed the problem. While SimObjects assets don´t have any sub-category that can be used to refine filtering in the module and just include aircraft instead of all SimObjects I don´t think this can be fixed by creators, so for the time being I have removed that module completely (as explained in the post) as this is an optional one that won´t prevent airports to work.