Bug 489927 - Tighter integration with Baloo: Use Baloo's index to speed up chart generation
Summary: Tighter integration with Baloo: Use Baloo's index to speed up chart generation
Status: RESOLVED INTENTIONAL
Alias: None
Product: filelight
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-08 13:46 UTC by postix
Modified: 2024-07-11 13:14 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2024-07-08 13:46:23 UTC
If you have Baloo running on your system already and it has indexed _most_ of the files, it would make much sense in my opinion to

1) use Baloo's index to gather files / the sum of their sizes 

and

2) for files and folders Baloo hasn't indexed yet (most likely because they were excluded from the index), fallback to the original recursive search + as a bonus update Baloo's filename / xattr index in the same step (excluding excluded folders)

This way generating the charts could become way faster for larger file systems, especially on slow devices (HDDs for instance) and you'd not need to build up two separate indexes, which largely overlap.
Comment 1 Harald Sitter 2024-07-11 07:34:44 UTC
There is no interest in integrating with baloo.
Comment 2 tagwerk19 2024-07-11 13:14:33 UTC
I'm not sure Baloo saves the filesize, it's not something that balooshow lists