admin wrote:Technically retrieving the icons from ICO files also needs the files to be opened, just like EXEs. So if you have a folder full of ICOs it should show the same speed and a folder full of EXEs. If not it would point to your idea that EXEs get special treatment by Windows.
I have conducted a little informal testing on this, if you will bear with me.
I created 3 folders (icons, signed, and unsigned) and from the command prompt I created 20 copies of the same icon file in icons, 20 copies of a digitally signed exe file in signed, and 20 copies of an unsigned exe file in unsigned. The signed executable I used was the installer for
doPDF, the unsigned executable was the installer for
FileZilla Client -- they are both around 4 MB in size.
I then entered each folder in turn, and timed (using a regular stopwatch) roughly how long it took before all the icons were shown in the list. I did this test with XYplorer, then rebooted (to clear any cache) and did it with Total Commander on a fresh copy of the folders.
I performed this test on two machines; my comparatively slow Athlon64, and a fast quad-core Intel machine.
Icons
XY Slow machine: ~1 second
TC Slow machine: ~1 second
XY Fast machine: instant
TC Fast machine: instant
Unsigned executables
XY Slow machine: 14 seconds
TC Slow machine: 15 seconds
XY Fast machine: 6 seconds
TC Fast machine: 6 seconds
Signed executables
XY Slow machine: 56 seconds
TC Slow machine: 56 seconds
XY Fast machine: 30 seconds
TC Fast machine: 29 seconds
What I gather from this is:
- Something in Windows (or possible MSE, but my bet is Windows) cheks the signature on digitally signed executables when the icon is being retrieved.
- The time spent doing this does not depend on the file manager used -- XY and TC are equal
- Even on a fast machine, retrieving an icon from a signed executable takes a noticeable amount of time (~1.5 seconds), on a slow machine it feels like forever (~2.8 seconds)
The real difference between XY and TC, however, is
responsiveness. During the 30 seconds it took to load the icons on the fast machine, I could move around the file list and browse through other folders in the other pane in TC just fine, whereas XY locks up for 1.5 seconds, then the cursor jumps, lockup again, etc.
Once the icons are cached, both are of course equally fast and there are no problems, until the cache is cleared again.
(In case anyone wants to do their own testing, make sure you set up the test files from the command prompt or similar, so you do not get all the icons cached.)