Startup speed improvements

*** Please report new bugs here! ***

Moderator: Dreamer

nameless
Posts: 17
Joined: Wed Oct 06, 2004 9:41 am

Startup speed improvements

Post by nameless » Sat Mar 17, 2018 6:20 pm

I have quite a high-end Windows 10 x64 system, but typical startup speed for XnView MP 0.90 (x64) is quite slow, when launching as part of a file open. This observation is made in comparison to some other image viewers, which I will not name unless requested.

I understand that some of the really fast image viewers don't have the baggage that XnView MP does, but I'm hoping that something can be done to improve startup performance, as I'd prefer to avoid using a separate application just to view images.

Please note that this suggestion is made respectfully and without expectation.

User avatar
xnview
Author of XnView
Posts: 31358
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Startup speed improvements

Post by xnview » Thu Mar 29, 2018 2:36 pm

how much it takes to start it? when starting in browser you have not that?
Pierre.

nameless
Posts: 17
Joined: Wed Oct 06, 2004 9:41 am

Re: Startup speed improvements

Post by nameless » Wed Apr 04, 2018 9:05 pm

If the browser is already running, then opening an image is very fast. It just tends to take a few seconds when xnviewmp.exe is not running at all. (I think I understood your question correctly.)

User avatar
xnview
Author of XnView
Posts: 31358
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Startup speed improvements

Post by xnview » Thu Apr 05, 2018 5:21 am

so XnView is slow only when starting with a file (from OS file browser)?
Pierre.

nameless
Posts: 17
Joined: Wed Oct 06, 2004 9:41 am

Re: Startup speed improvements

Post by nameless » Thu Apr 05, 2018 5:25 am

Yes, that is correct.

User avatar
xnview
Author of XnView
Posts: 31358
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Startup speed improvements

Post by xnview » Thu Apr 05, 2018 1:36 pm

nameless wrote:Yes, that is correct.
when starting XnView in browser mode no delay? which format (jpeg)? do you have a lot of files in the folder? only image files in this folder?
Pierre.

nameless
Posts: 17
Joined: Wed Oct 06, 2004 9:41 am

Re: Startup speed improvements

Post by nameless » Thu Apr 05, 2018 3:44 pm

No delay when starting from the browser. I just tested with a folder having ~3,700 JPG files and nothing else.

It's the same with other image file types and folders, though. Startup speed is not terrible, but much slower than some other viewers.

User avatar
xnview
Author of XnView
Posts: 31358
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Startup speed improvements

Post by xnview » Fri Apr 06, 2018 5:16 am

which delay do you have when opening a file?
Pierre.

nameless
Posts: 17
Joined: Wed Oct 06, 2004 9:41 am

Re: Startup speed improvements

Post by nameless » Fri Apr 06, 2018 3:48 pm

Do you mean how long is the delay? It's about two seconds. Again, I know it's not terrible, but as many images as I open, it's a little annoying. And some viewers open the same files in about 1/4 second.

The delay does not vary much by file size. Tiny image files don't load much, if any, faster than relatively large image files. This tells me it's other overhead and not the reading of the file causing the delay.

User avatar
xnview
Author of XnView
Posts: 31358
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Startup speed improvements

Post by xnview » Sat Apr 07, 2018 6:36 am

nameless wrote:Do you mean how long is the delay? It's about two seconds. Again, I know it's not terrible, but as many images as I open, it's a little annoying. And some viewers open the same files in about 1/4 second.
yes not normal. do you have a lot of files in this folder? could you try to open an image from a folder with only this file?
Pierre.

nameless
Posts: 17
Joined: Wed Oct 06, 2004 9:41 am

Re: Startup speed improvements

Post by nameless » Sat Apr 07, 2018 10:03 am

I just chose a test file randomly. I see no noticeable difference in loading speed whether the test file is alone in a directory or if it is in the original directory with ~3,700 other files.

User avatar
xnview
Author of XnView
Posts: 31358
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Startup speed improvements

Post by xnview » Sat Apr 07, 2018 11:36 am

nameless wrote:I just chose a test file randomly. I see no noticeable difference in loading speed whether the test file is alone in a directory or if it is in the original directory with ~3,700 other files.
is it a jpeg? could you send me it?
Pierre.

nameless
Posts: 17
Joined: Wed Oct 06, 2004 9:41 am

Re: Startup speed improvements

Post by nameless » Sat Apr 07, 2018 3:51 pm

The same performance occurs with any file, so this one is not special, but I've attached it here anyway.
Attachments
0519381325.jpg

User avatar
xnview
Author of XnView
Posts: 31358
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Startup speed improvements

Post by xnview » Sun Apr 08, 2018 7:37 am

which is your setting General>Mode when starting...?
Pierre.

nameless
Posts: 17
Joined: Wed Oct 06, 2004 9:41 am

Re: Startup speed improvements

Post by nameless » Sun Apr 08, 2018 3:52 pm

That setting is set to "Normal".

Post Reply