Home » U++ Library support » FileSel&FileList, Path » FileSel takes quite a lot of CPU on Windows
Re: FileSel takes quite a lot of CPU on Windows [message #58422 is a reply to message #58419] |
Thu, 19 May 2022 08:57 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
Tom1 wrote on Wed, 18 May 2022 13:42Mirek,
OK, now I can see it: I have a shortcut (link) on my desktop to an exe file on my server. So, the shortcut ("program1.exe - shortcut.lnk") points to "\\nas\share\program.exe". When I open FileSel, this causes the enormous CPU loading for quite some time.
If I map the \\nas\share to a network drive s: and change the shortcut to point to s:\program.exe, then the scanning proceeds much faster, just in a couple of seconds of CPU core domination.
How about making exe file icon loading optional through user configurable flag, such as: FileSel& LoadExeFileIcons(bool f); ?
BTW: Is it essential to load icons for network files at all?
Best regards,
Tom
Uhm, is this feature causing any problems? I mean, ok, CPU is high (for whatever reason, but my guess it is windows fault), but it runs in background and does not affect main thread. And I believe users do expect to see .exe icons after all...
Mirek
|
|
|
|
|
FileSel takes quite a lot of CPU on Windows
By: Tom1 on Fri, 22 April 2022 23:32
|
|
|
Re: FileSel takes quite a lot of CPU on Windows
By: mirek on Wed, 18 May 2022 10:11
|
|
|
Re: FileSel takes quite a lot of CPU on Windows
By: Tom1 on Wed, 18 May 2022 12:30
|
|
|
Re: FileSel takes quite a lot of CPU on Windows
By: Tom1 on Wed, 18 May 2022 13:42
|
|
|
Re: FileSel takes quite a lot of CPU on Windows
By: Tom1 on Wed, 18 May 2022 15:01
|
|
|
Re: FileSel takes quite a lot of CPU on Windows
By: mirek on Thu, 19 May 2022 08:57
|
|
|
Re: FileSel takes quite a lot of CPU on Windows
By: Tom1 on Thu, 19 May 2022 09:48
|
|
|
Re: FileSel takes quite a lot of CPU on Windows
By: mirek on Thu, 19 May 2022 09:55
|
|
|
Re: FileSel takes quite a lot of CPU on Windows
By: Tom1 on Thu, 19 May 2022 10:30
|
|
|
Re: FileSel takes quite a lot of CPU on Windows
By: mirek on Thu, 19 May 2022 10:33
|
|
|
Re: FileSel takes quite a lot of CPU on Windows
By: Tom1 on Thu, 19 May 2022 11:08
|
Goto Forum:
Current Time: Sun Apr 28 09:07:09 CEST 2024
Total time taken to generate the page: 0.04124 seconds
|