ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 64bit performance vs 32bit

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
petripiirainen Posted - Jan 12 2023 : 05:22:05
Have you noticed that 64bit Delphi applications (Delphi 11) are running slower than 32bit versions. It seems that if there is a lot of calculations (like blending modes etc) 64 bit applications are running 5-10% slower than 32bit version.

Here is a sample command line application with Imageen v11.4.5 and running time results (antivirus disabled)


ImageEnView1 := TImageEnView.Create(nil);
ImageEnView1.IO.LoadFromFile('E:\Testing\performance\out.bmp');
imageenview1.LayersAdd(ielkimage,0,0);
imageenview1.LayersAdd(ielkimage,0,0);
imageenview1.Layers[1].Assign(imageenview1.Layers[0]);
imageenview1.Layers[2].Assign(imageenview1.Layers[0]);
imageenview1.LayersCurrent := 2;
imageenview1.Proc.Negative;
imageenview1.Layers[1].Operation := ielOverlay;
imageenview1.LayersMergeAll();
ImageEnView1.IO.savetofile('E:\Testing\performance\out2.bmp');


Results:

PowerShell measure-command:

1000x668 pixels pixels BMP image (out.bmp)

32bit
TotalMilliseconds : 61.3192

64bit
TotalMilliseconds : 65.6645

6246x4170 pixels BMP image (out.bmp)

32bit
TotalMilliseconds : 819.6748

64bit
TotalMilliseconds : 911.3409



If I disable all "layers code", just load and save bitmap then results are same:

32bit:
TotalMilliseconds : 99.1932
64bit:
TotalMilliseconds : 101.8792



Is this 64bit Delphi compiler issue?
2   L A T E S T    R E P L I E S    (Newest First)
petripiirainen Posted - Jan 12 2023 : 23:43:01
I am running release versions.

xequte Posted - Jan 12 2023 : 14:26:26
Hi

I'm not seeing that here (Delphi 11 on Windows 11). I'm seeing both as quite similar with 64bit being slightly faster.

Are you running under the debugger?

Nigel
Xequte Software
www.imageen.com