1. Brage Mogstad
  2. PowerBuilder
  3. Tuesday, 27 September 2022 07:44 AM UTC

Hello,
Im a 20+ years professional Powerbuilder developer thats experiencing slow object opening & saving in Appeon PB on large projects.
Adaptive Server Anywhere as backend DB and win 10 as OS.
Opening, changing and saving menu objects or other large objects with a lot of code has started to be very time consuming.
Over time the items starts to get slower and slower to open. A full rebuild used to help a lot, but after a while, even that doesnt help mutch.
Likewise the time spent on compiling goes up by 30%.
Its a rather large PFC project with inheritance and object orientation, aprox 12000 objects of various size.
I've done the usual "exclude files & folders" from virus scan, that actually speeded up things a lot, but it does not affect this issue.
The auto script feature is off.

So far, I've found a bit strange workaround. I've got 3 laptops, a workplace Dell Precision M6700 running on Samsung magican SSD RAM buffer (fast as a rocket), then a Dell Precision 7750 and a Lenovo t14s best fit for travel. I moved some sourcecode around on these machines, "et viola" the menuobject opened ligthening fast(!) The trick is to use a laptop where the code was not last compiled.

This leads me to suspect some fishy indexing or broken internal referencing is going on in Appeon while they are compiling the code.
It could ofcourse be a windows issue, that is, windows let go of some history on the object when its "new". 
Any ideas what might may be going on? 

Regards
Brage 


   

Attachments (1)
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 27 September 2022 18:07 PM UTC
  2. PowerBuilder
  3. # 1

Hi Brage ;

  What has helped me a lot in keeping up my IDE responsiveness in recent releases are:

  1. Increasing my PC memory to 16G minimum. I now try to have 32G where possible.
  2. Replacing my HD's with an SSD's
  3. Making sure that my O/S TEMP folder is using an SSD drive (if old HD's are still present)
  4. Improving my hardware ( I now use Ryzen 5 or higher AMD CPUs)
  5. Replacing my old graphics card with a higher end graphics card with more memory on board as well.
  6. Making sure that I optimize all my PBL's on a regular basis.

FWIW: I don't use the PFC but I know that if your PFC is not current but migrated over & over again version from older PFC versions that this can cause performance & functionality issues as well. As far has objects that have been "heavy scripted", I always try to offload / refactor these bulky scripts to keep them small & tight. If it's code that is executed "once in a while", I often offload this completely to Global Functions. Food for thought.

HTH

Regards ... Chris

PS: There was another good suggestion in a related thread about using a RAM Drive for better PB Compile speed.

Comment
  1. Brage Mogstad
  2. Tuesday, 27 September 2022 21:50 PM UTC
Yes, all valid points, and Ive done all these except upgrading the GPU. I dont think its a GPU issue though. My point is, if I use either of these laptops, all having good performance, decent amount of ram, all ssd or part ram drives, whatever I do, over time, the larger objects gets very slow. Especially the menu object, it lags for minutes. I'm leaning towards a Appeon bug, I'll post it as one tomorrow.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 28 September 2022 00:42 AM UTC
Hi Brage;

If you can include the source code of one of your observed slow Menu classes, I would then suggest opening a Support Ticket & upload this source so that Engineering can study this issue further.

Regards ... Chris
  1. Helpful 1
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.