# Suggestion for performance improvement

**URL:** <https://discussion.listary.com/t/suggestion-for-performance-improvement/2277>\
**Category:** General\
**Created:** [June 6, 2015, 9:23pm UTC](https://discussion.listary.com/t/suggestion-for-performance-improvement/2277 "2015-06-06T21:23:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![J\_Bereza](https://discussion.listary.com/user_avatar/discussion.listary.com/j_bereza/32/350_2.png) [@J\_Bereza](https://discussion.listary.com/u/J_Bereza)\
**Post date:** [June 6, 2015, 9:23pm UTC](https://discussion.listary.com/t/suggestion-for-performance-improvement/2277/1 "2015-06-06T21:23:41Z")

</div>

I found a thing that can be improved. It appears in case of images. The most visible is mainly for large images, long list, and location on a network drive. Sometimes it is necessary to wait 5 seconds to show results for a new search term.

But I’m not sure if it occurs only when you use SageThumbs or whether there would even have JPG images.

Anyway, I propose to interrupt retrieve information about entries in the list from the hard disk when you change the search term.

illustration: [http://sklad.bereza.cz/00-jarda/00\_screenshot/2015-06-06\_230716.jpg](http://sklad.bereza.cz/00-jarda/00_screenshot/2015-06-06_230716.jpg)

---

<div class="post-metadata">

**Author:** ![Channing](https://discussion.listary.com/user_avatar/discussion.listary.com/channing/32/5497_2.png) [@Channing](https://discussion.listary.com/u/Channing)\
**Post date:** [June 8, 2015, 4:50pm UTC](https://discussion.listary.com/t/suggestion-for-performance-improvement/2277/2 "2015-06-08T16:50:08Z")

</div>

This behavior has already been changed. The new version won’t show thumbnails for each image, it will use the unified Photoshop icon instead.

---

<div class="post-metadata">

**Author:** ![J\_Bereza](https://discussion.listary.com/user_avatar/discussion.listary.com/j_bereza/32/350_2.png) [@J\_Bereza](https://discussion.listary.com/u/J_Bereza)\
**Post date:** [June 8, 2015, 6:28pm UTC](https://discussion.listary.com/t/suggestion-for-performance-improvement/2277/3 "2015-06-08T18:28:31Z")

</div>

Thumbnails are good for a quick awareness of the approximate content. I’m happy with them. If someone bothers previews, perhaps could be switch off in a setting option. SageThumbs are generating preview for e.g. PSD and it has setting for max. file size. [http://sourceforge.net/projects/sagethumbs/](http://sourceforge.net/projects/sagethumbs/)

Rather, I would divide the process into two threads

1. One would print out a list of files and thumbnails.
2. The second will follow the text field. If the text field changes its content, will kill the first thread and start it again for another keyword. Or first thread could start third thread if you can not get rid of the delays in the second thread, because it depends on the operating system or something like this.

---

<div class="post-metadata">

**Author:** ![Channing](https://discussion.listary.com/user_avatar/discussion.listary.com/channing/32/5497_2.png) [@Channing](https://discussion.listary.com/u/Channing)\
**Post date:** [June 9, 2015, 9:31am UTC](https://discussion.listary.com/t/suggestion-for-performance-improvement/2277/4 "2015-06-09T09:31:04Z")

</div>

After rereading your thread, I found that I didn’t get it correctly in my previous reply.

In your illustration, if you change the text from “b.psd” to “b.psd foo” for example, 2 things will happen **simultaneously** :

1. Listary will search for “b.psd foo”.
2. Listary will continuously load icons for “b.psd” because _Listary won’t update the view until it has finished searching “b.psd foo” completely_.

In fact #1 is the bottleneck here, so you’re waiting for the actual search process of “b.psd foo” instead of loading thumbnails. Listary does cancel icon loadings automatically if the view is updated.

---

<div class="post-metadata">

**Author:** ![J\_Bereza](https://discussion.listary.com/user_avatar/discussion.listary.com/j_bereza/32/350_2.png) [@J\_Bereza](https://discussion.listary.com/u/J_Bereza)\
**Post date:** [June 9, 2015, 1:04pm UTC](https://discussion.listary.com/t/suggestion-for-performance-improvement/2277/5 "2015-06-09T13:04:28Z")

</div>

I am disagree. If I am typing eg. “_petr: .psd_” and “_petr:_” is specific file in network drive(=slow speed)… I see thumbnail generating. If I am writing “petr: .psd-” new results are showing exactly on the end of generating. Very precise coincidence in time. I tried it several times. So I think #1 is ready and waiting for end of work #2 I’ll try even without SageThumbs.

---

<div class="post-metadata">

**Author:** ![Channing](https://discussion.listary.com/user_avatar/discussion.listary.com/channing/32/5497_2.png) [@Channing](https://discussion.listary.com/u/Channing)\
**Post date:** [June 13, 2015, 12:19pm UTC](https://discussion.listary.com/t/suggestion-for-performance-improvement/2277/6 "2015-06-13T12:19:25Z")

</div>

Thanks for the information. I’ll check it again.
