Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Performance] Make app not check excluded folders #350

Open
6 tasks done
Palloxin opened this issue Oct 30, 2024 · 3 comments
Open
6 tasks done

[Performance] Make app not check excluded folders #350

Palloxin opened this issue Oct 30, 2024 · 3 comments
Labels
enhancement New feature or request needs triage Issue is not yet ready for PR authors to take up

Comments

@Palloxin
Copy link

Palloxin commented Oct 30, 2024

Checklist

  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one feature request.
  • I have read and understood the contribution guidelines.
  • [-] I optionally donated to support the Fossify mission.

Feature description

For performance reasons, dont make app check tge excluded folders.

Why do you want this feature?

When there are MANY files in my SD-card, the app at launch becomes... reallly slow; 20 seconds to load the albums at each launch...

Additional information

the more files(not even images, whatever kind) there are in my SD card, the more the app takes to load the albums at start.

I have another app that drops LOTS of files (not images, rarely there are) when I import(epubs) stuff, 20k+ in the "Android" folder.
When these files are present the app os REALLY slow. These fikes are .xhtml or .html files

I tried to exclude the folder "Android" but to no avail, the app still checks it wasting a lot.of time.

Without these files i menzioned the app loads just fine in 1 second or less. All my albums have 1000 images overall

I didnt count how many files there are, prob 30k+ overall (not images).

@Palloxin Palloxin added feature request Issue is about a new feature in the app needs triage Issue is not yet ready for PR authors to take up labels Oct 30, 2024
@Palloxin
Copy link
Author

PS: the system gallery app isnt that slow even with lots of files, even the android file pick that can gather all images.

@Aga-C Aga-C added enhancement New feature or request and removed feature request Issue is about a new feature in the app labels Oct 30, 2024
@JamesPous
Copy link

JamesPous commented Oct 30, 2024

I use fossify gallery for around 100.000 pictures, but in a small resolution (up to 3000x2000 pixels) jpeg size and <=500 KB for every file. My experience over many years with different gallerys (samsung gallery, a+ gallery, simple gallery and more) is nearly the same.
I am currently using a samsung tablet S7 with 6 GB RAM, Sandisk Micro SD card (Class 10) and Android 13.0 (latest updates from 2024). My system has a frew standard apps and many apps are totally uninstalled or deep freezed by adb tools.
Only a few small card games are installed. So there are only a few apps in ram.

The first start of fossify gallery is a bit slow. That is true.
Samsung gallery is very fast and A+ gallery is the second one.
At the third position is fossify gallery in terms of speed, but more important for me.

But in my opinion you can not fix it with included or excluded folders.
In my case the excluded folders always save more time and decrease the folder scanning time.
I always exclude most of the android system folders, because they have a large amount of files and directorys to scan!
Further I exclude the trash folder of android, where deleted files are hidden stored.

The best way to get fast access to your pictures on sd card is to use a folder system with short folder names and filenames.
Please do not use exotic characters in the folder or directory name, which get slowly recognized.
I sometimes optimize my micro sd card (ex-fat format) with a card reader at my windows 10 computer.
You can use privazer.com to optimize and clean the filesystem of the sd card.
If you have o&o defrag, you can also optimize the sd card.
The directorys and files get sorted in the file table, so you have a faster access to your data.
It is a great performance tuner.


Sometimes I am thinking, hat fossify gallery should show the folder- and filenames first.
After that it can generate or show the thumbnails of the folders and pictures.
But I do not know how the engine of fossify gallery works. My kotlin experience is very low.

@Palloxin
Copy link
Author

Palloxin commented Oct 30, 2024

My SD card is very cheap in terms of speed. My device is a huawei p8 lite 2017 (A8, miui 8).
Your phone is recent, mine is old and was already very cheap when it came out, so.. 20 seconds to load the albums :)

Excluded means, excluded. The hidden ones is what u are looking for (just hid and ready to be showed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage Issue is not yet ready for PR authors to take up
Projects
None yet
Development

No branches or pull requests

3 participants