First startup after windows boot is extremely slow

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, xnview

User avatar
BK201
Posts: 71
Joined: Fri Apr 06, 2012 3:43 pm

Re: First startup after windows boot is extremely slow

Post by BK201 »

xnview wrote: Fri Nov 19, 2021 10:54 am It's crazy, for XnView MP 64 bits after first startup

Windows 10 Pro (20H2): no big duration
log1.jpg

Windows 10 Pro (21H1), slow device: no duration greater than 0.09
log2.jpg

Do you have an anti spam and/or anti virus app?
oh fuck

I add xnview folder to exception and cold start takes 0.5 seconds now

I never expected anti-virus app would mess with a harmless image viewer! None of other applications are affected by this!
Anyway, FINALLY, NO SLOW STARTUP ANYMORE! :D
User avatar
xnview
Author of XnView
Posts: 36286
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: First startup after windows boot is extremely slow

Post by xnview »

BK201 wrote: Fri Nov 19, 2021 11:19 am Anyway, FINALLY, NO SLOW STARTUP ANYMORE! :D
Great :)
Pierre.
User avatar
BK201
Posts: 71
Joined: Fri Apr 06, 2012 3:43 pm

Re: First startup after windows boot is extremely slow

Post by BK201 »

xnview wrote: Fri Nov 19, 2021 11:38 am
BK201 wrote: Fri Nov 19, 2021 11:19 am Anyway, FINALLY, NO SLOW STARTUP ANYMORE! :D
Great :)
Me that bothered by this for 10 years feels like a stupid slug
User avatar
XnTriq
Moderator & Librarian
Posts: 5897
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: First startup after windows boot is extremely slow

Post by XnTriq »

This is great news :-D Just as I was running out of ideas…
cday
XnThusiast
Posts: 3063
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: First startup after windows boot is extremely slow

Post by cday »

One expects security software to check a new download, but it shouldn't be checking an application every time it is launched??

Could it be that changes in the 'MP filesize or some other parameter are being detected, maybe due to program configuration changes? A test for that possibility might be to launch, immediately close the program, then relaunch when nothing should have changed.
User avatar
BK201
Posts: 71
Joined: Fri Apr 06, 2012 3:43 pm

Re: First startup after windows boot is extremely slow

Post by BK201 »

cday wrote: Fri Nov 19, 2021 1:16 pm One expects security software to check a new download, but it shouldn't be checking an application every time it is launched??

Could it be that changes in the 'MP filesize or some other parameter are being detected, maybe due to program configuration changes? A test for that possibility might be to launch, immediately close the program, then relaunch when nothing should have changed.
It's really weird indeed, xnview is the only app that was slowed by anti-virus I ever known, I don't know who is responsible for this, ms defender or xnview
cday
XnThusiast
Posts: 3063
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: First startup after windows boot is extremely slow

Post by cday »

BK201 wrote: Sat Nov 20, 2021 5:29 am It's really weird indeed, xnview is the only app that was slowed by anti-virus I ever known, I don't know who is responsible for this, ms defender or xnview
Very speculatively, could it be that you have your settings and databases in Program (XnView) rather than User (System), and that changes in the program folder are being detected when the program is relaunched?
User avatar
BK201
Posts: 71
Joined: Fri Apr 06, 2012 3:43 pm

Re: First startup after windows boot is extremely slow

Post by BK201 »

cday wrote: Sat Nov 20, 2021 8:14 am
BK201 wrote: Sat Nov 20, 2021 5:29 am It's really weird indeed, xnview is the only app that was slowed by anti-virus I ever known, I don't know who is responsible for this, ms defender or xnview
Very speculatively, could it be that you have your settings and databases in Program (XnView) rather than User (System), and that changes in the program folder are being detected when the program is relaunched?
Yes, .ini and .db are in xnview folder
But there're many app store their .ini and .db in program folder too..
cday
XnThusiast
Posts: 3063
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: First startup after windows boot is extremely slow

Post by cday »

BK201 wrote: Sat Nov 20, 2021 9:40 am
cday wrote: Sat Nov 20, 2021 8:14 am Very speculatively, could it be that you have your settings and databases in Program (XnView) rather than User (System), and that changes in the program folder are being detected when the program is relaunched?
Yes, .ini and .db are in xnview folder
But there're many app store their .ini and .db in program folder too...
Always very speculatively, could it be that a rescan of XnView MP takes long enough to be noticeable, and that rescans of other apps if they occur are unnoticeable?