Speed improvements (folders pane and others)

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

Post Reply
AlterMann
Posts: 16
Joined: Fri May 25, 2007 11:42 pm

Speed improvements (folders pane and others)

Post by AlterMann »

Hi,

I am working with big (1000+ file) folders. I think XnView need, some viewing speed improvements in certain areas.

These are:

1- Folder pane: "Big" folder names appearing very slowly here. This can be improved.
2- Folder pane: "Off-screen" folders not processed! So when you scroll the tree, you have to wait for showing names. (Should be pre-prepared.)
3- If you click a "big" folder name in tree, you have to wait so much time for begin the showing thumbs. (And within this time, program locks-up.) This speed can be improved.
4- Changing modes between Browser and Viewer (double-click) can be faster.
5- Currentlly using "High quality zoom" algorithm and/or way of using it is performance killer.

I hope these problems is going to solve in future.

Note: You can see, these speed problems solved in other application: CompuPic Pro.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Speed improvements (folders pane and others)

Post by xnview »

AlterMann wrote: 1- Folder pane: "Big" folder names appearing very slowly here. This can be improved.
If you have many subfolders, it's perhaps the problem...
2- Folder pane: "Off-screen" folders not processed! So when you scroll the tree, you have to wait for showing names. (Should be pre-prepared.)
Yes, right!
3- If you click a "big" folder name in tree, you have to wait so much time for begin the showing thumbs. (And within this time, program locks-up.) This speed can be improved.
If you use the cache, XnView read first files and cache before to display it
4- Changing modes between Browser and Viewer (double-click) can be faster.
Perhaps no need to re read the file...
5- Currentlly using "High quality zoom" algorithm and/or way of using it is performance killer.
Note: You can see, these speed problems solved in other application: CompuPic Pro.
Currently i have no other way to resize quicker, it's already a optimized algorithm...
Pierre.
AlterMann
Posts: 16
Joined: Fri May 25, 2007 11:42 pm

Post by AlterMann »

I have an idea about folders: Maybe you can use an internal directory structure cache for displaying folders! Thus does not needed to re-read folders every time.

In a normal PC, files may change a lot, but folders change less. So caching that data is maybe a good idea for speed... (I am not talking about every folders, just thumbnail cached ones.)

Of course, actual folders structure must be check every time. Bu firstly (and instantly) using cached data.
Danny
Posts: 578
Joined: Sat Sep 04, 2004 5:09 pm

Re: Speed improvements (folders pane and others)

Post by Danny »

AlterMann wrote: 4- Changing modes between Browser and Viewer (double-click) can be faster.
Agreed: http://newsgroup.xnview.com/viewtopic.php?t=12852
Get the bugs fixed, THEN start adding features. It sucks, but someone has to do it.
Mooninaut
Posts: 4
Joined: Thu Apr 26, 2007 5:38 am
Location: California, USA

Re: Speed improvements (folders pane and others)

Post by Mooninaut »

xnview wrote:
AlterMann wrote: 3- If you click a "big" folder name in tree, you have to wait so much time for begin the showing thumbs. (And within this time, program locks-up.) This speed can be improved.
If you use the cache, XnView read first files and cache before to display it
I have noticed that large folders actually load slower with caching enabled than with caching disabled. This is because when thumbnails are not cached, they are generated one at a time and you can continue to browse while this occurs. However, if thumbnail caching is enabled, every thumbnail in the directory is loaded from the cache at once, and XnView does not respond to user input until all thumbnails are loaded.

The solution to this problem would be to load thumbnails from the cache one at a time, or a few at a time, instead of all at once.
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: Speed improvements (folders pane and others)

Post by JohnFredC »

XnView does not respond to user input until all thumbnails are loaded.
IMHO this is the real problem.
John
Post Reply