DelphiWorlds / Mosco

macOS app that helps developers, especially those using Delphi
MIT License
30 stars 7 forks source link

Mosco V140b2 process shows high CPU performance load during compile/deploy time #10

Closed Rollo62b closed 1 year ago

Rollo62b commented 1 year ago

Hi Dave,

thanks for the nice tools you provide, makes live easier.

When using within a small and normal Macos Ventura VM ( 2 cores, 4GB ) under Parallels, I noticed that the total processes might occupy 100% CPU. When closing Mosco and using PAServer alone, CPU usage stay perfectly below 100%. Why does Mosco eating so much ressources when compiling/deploying, while only PAServer should do the work ? Maybe this is some issue in V140b2 only, I hope you can fix it in the release.

DelphiWorlds commented 1 year ago

while only PAServer should do the work ?

I can still have a look at the CPU usage, however Mosco does not interact with PAServer - it executes all commands on its own.

Rollo62b commented 1 year ago

Just to give an impression: This is idle, with PAServer running, no Mosco running grafik

This is idle then deployment, with PAServer alone ( the heavy load start when RadStudio starts "Deplyoment" phase ), but the whole load stays well in acceptable limits. grafik

When Mosco is running, the idle load is already much higher ( see around the middle of the core bargraph). When deplyoment starts, Mosco, PAServer and other tasks adding much load. grafik

It seems Mosco is doing something in the background, maybe some polling threads or the like, which can eat up quite a lot of load.

Maybe that helps to better understand the issue.

#

DelphiWorlds commented 1 year ago

Pushed an installer for beta 3 that should fix the issue