Atozed Forums
Call TPicture.Assign in an IntraWeb application is much slower - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: Call TPicture.Assign in an IntraWeb application is much slower (/thread-4065.html)



Call TPicture.Assign in an IntraWeb application is much slower - lmengyew - 04-26-2024

Hello guys,

I'm using Delphi 12 and IntraWeb 15.6.0. I encountered an issue where calling TPicture.Assign in an IntraWeb application is much slower (2 to 3 times) than in a VCL application. Any idea what the cause might be?

I have attached a sample project for your reference. Thank you.


RE: Call TPicture.Assign in an IntraWeb application is much slower - Alexandre Machado - 04-29-2024

I'll have a look. There is no special handling of image assignment in IntraWeb code. Whatever it is, likely to be a VCL/RTL issue.

I'll get back to you on this


RE: Call TPicture.Assign in an IntraWeb application is much slower - Alexandre Machado - 04-29-2024

I tested your application and I couldn't find any significant difference.

I modified your application to log the times on the form itself so we could compare the times for 10 consecutive runs. Here's the results:

[attachment=736]

The difference is statistically not significant. There is something else going on there....