- This topic has 16 replies, 4 voices, and was last updated 4 years, 2 months ago by Lasse.
-
AuthorPosts
-
August 7, 2020 at 11:17 pm #69214LasseParticipant
The latest v15.13 is visibly slower than v15.12 on a very fast machine. I compared my programs side by side and the difference is very clear. Painting is sluggish and application starts slowly. Unfortunately I don’t have time to figure out what is causing this… maybe later. Have you noticed this?
August 8, 2020 at 9:22 am #69215HeDiBoParticipantDo you use data aware components in your project?
Because, I think I can see what you mean when page changing to pages with data aware components. It looks like all kind of different data records pass before the correct one is positioned,
I’ll go back to the previous version of AC to check this.August 8, 2020 at 9:56 am #69216HeDiBoParticipantI did not notice much improvement in AC 15.11
Must be your specific combination of AC controls.
In general I must say I’m not very impressed with the current speed of AC.
There’s definitely something wrong in the paint part. Look at the attached picture of the MegaDemo. The page for App scaling is not painted after switching to it from another part.Attachments:
You must be logged in to view attached files.August 8, 2020 at 9:57 am #69218HeDiBoParticipantI can add several other screen dumps of MegaDemo that are dead wrong.
August 8, 2020 at 10:07 am #69219HeDiBoParticipantTo get a view of the problems switch off all effects in the TsSkinManager – Effects page.
August 8, 2020 at 4:20 pm #69222LasseParticipantYeah, I use data aware components in my database administration tool (https://www.texteditor.pro/firebird/). I have made quite many optimizations for AlphaSkins to speed it up but the latest v.15.13 is remarkably slower than v.15.12 even with all the fixes I have made.
There are quite many loops which can be faster by just using variables to avoid getting items unnecessarily multiple times (it is slow). I also recommend FixInsight tool to point out bad code that we easily make in a hurry.
August 11, 2020 at 9:17 pm #69232SupportKeymasterHello!
Lasse, I have made many tests with comparing of v15 with versions 14 and v12.
Speed of work was near to v14 and much faster than v12.
Maybe you have enabled the Lighting effect animation? This may have influence to speed of work.
Can you help me to make a new test with slow work of components, please? Also, can you show some screenshots of slow forms?To Dick: the problem of repainting without animation is not linked with issue of this topic. Thank you for the info, it will be fixed in the nearest release.
August 13, 2020 at 10:14 am #69239LasseParticipantNo, I don’t use lightning effect. It didn’t work well last time I tried it. But I will try to find time (at weekend) to find the reason for this slowness. I remember seeing some suspicious code while I was merging the version but I will see…
August 13, 2020 at 12:41 pm #69240K.ObParticipantI can confirm an abnormal behaviour that limiting the paint/repaint messages per second.
I recall that i send your support this same example in the past (may be it was version 11, 12 or 13, i can’t remember), back then the problem was the count of draw per second in the attached sample something around 170 which is too high as it should be 10, and you fixed it back then,
Now with the same example i can’t reach 10 !, it is somewhere between 5-6 when the repaint is issued, means when the paint process went the right way through SkinManager.Hope this sample help.
Note: for you guys, if you still have older versions to test and confirm when that behavior had been changed it might narrow the problem for the Alpha team, and thank you all for your time.
Attachments:
You must be logged in to view attached files.August 13, 2020 at 3:39 pm #69242HeDiBoParticipantI ran it in Delphi XE4 with debugging on and I received at least 10 in each configuration.
Very nice utility.
But I have no problems.
It makes no difference, 32 bit, 64 bit, with or without debugging: it’s always 10, sometimes starting off as 9.August 13, 2020 at 4:06 pm #69243K.ObParticipantThank you HeDiBo very much !
This is very strange as mine can’t reach more than 6 on D2009, D2010, DXE5, DXE8 and Seattle, hope this will help finding and solving this issue.
Being more than 10 or less is not of important as the stable point is 10.
I searched my email archive and found when it was wrong and fixed, the version which was on my PC giving +170 was 11.18 (may be older versions too) and where fixed in v11.19 after contacting the support.
Now, i can’t find both versions to test them.The cause of this bottleneck might be in Windows 10 Build XXXX.
About slowness : I tested two applications and i can see some parts are faster and some parts of drawing is slower this is compared to v13.18
August 14, 2020 at 7:09 am #69245K.ObParticipantUpdate :
I found the old versions, so i built my test with both versions 11.18 and 11.19, the result now is:
11.18 does have around 100 paints per second with one CPU core at 100%
11.19 does have 7This is not what i remember as it was even mentioned in the emails with the support
11.18 +270 with one CPU core at 100%
11.19 exactly 10 with small variations (1 at most)To conclude, i have something wrong in my Windows 10 and my test might not be the best case to waste time with, my observed problem is not AlphaSkins tied but more likely something with system.
August 16, 2020 at 3:14 pm #69257SupportKeymasterThank you for the good test-app, some optimization will be available in the v15.14 already.
August 16, 2020 at 3:41 pm #69258K.ObParticipantThank you !
That is great to hear.
August 17, 2020 at 12:16 pm #69277LasseParticipantFinally had time to see what is the cause. Changes in acgpBlur procedure in acgpUtils.pas unit are causing the slowness.
I reverted that procedure to v15.12 and everything is fine now.
- This reply was modified 4 years, 3 months ago by Lasse.
August 19, 2020 at 8:00 pm #69293SupportKeymasterLasse, you can try the v15.14 already.
Some changes were added there.August 20, 2020 at 3:22 am #69300LasseParticipantIt is perfect now.
-
AuthorPosts
- The topic ‘v15.13 is slow’ is closed to new replies.