Plugins slow to load

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

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
Drahken
Posts: 884
Joined: Sun Apr 10, 2005 4:29 pm

Plugins slow to load

Post by Drahken »

Xnview is slow to load when you have plugins installed. Without plugins, it loads instantly. With plugins, it takes several second to load them before you can do anything with the program. This long load time is the primary reason I prefer irfanview over xnview (even though xnview handles more formats and can open more than one pic at a time).
Irfanview: 227 plugin files, totalling 9.12megs
Xnview: 46 plugin files, totalling 7.9megs
You would think irfanview would take longer to load, yet it loads instantly, even with all those plugins.
If Xnview could be made to load as fast with plugins as it does without them, Xnview would become my image viewer of choice.
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Plugins slow to load

Post by xnview »

Drahken wrote:Xnview is slow to load when you have plugins installed. Without plugins, it loads instantly. With plugins, it takes several second to load them before you can do anything with the program. This long load time is the primary reason I prefer irfanview over xnview (even though xnview handles more formats and can open more than one pic at a time).
Irfanview: 227 plugin files, totalling 9.12megs
Xnview: 46 plugin files, totalling 7.9megs
You would think irfanview would take longer to load, yet it loads instantly, even with all those plugins.
If Xnview could be made to load as fast with plugins as it does without them, Xnview would become my image viewer of choice.
It's normal, in i***32, i's not really dynamic. With or without the plugin the entry is always here. XnView first check all plugins, ask for some informations, so it take some times to do that.
But i'll try to add a cache for plugins to speedup the startup.
Pierre.
User avatar
Drahken
Posts: 884
Joined: Sun Apr 10, 2005 4:29 pm

Post by Drahken »

Yeah, some kind of cache would be great. The installed plugins don't change often (people usually grab all the plugins they want when they initially download the prog), and the info xnview gets from the plugins (almost?) never changes, so re-aquiring that info each and every time is redundant. Caching a list of the installed plugins and their associated info, and then running a quick check to see if there aare any new plugins since the last startup should be much faster.
Post Reply