You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added Background Compactor: CompactGUI will now try to keep watched folders compressed in the background by running when the system is idle, under the following conditions:
The system has been idle (i.e. no user mouse/keyboard input) and the monitored folder has also not been modified (e.g. by updates, user copying files, etc) within the last 5 minutes.
The background compressor will pause itself when user activity is detected, or if a manual compression/uncompression/analysing task is being run. It will then resume from where it left off after 5 minutes have elapsed, but it may skip any changes that were made to the folder in the time the compressor was paused. Before pausing, it will finish compressing the current file it is working on, to prevent corruption. If it unfortunately has to pause on a massive file on disk, this can take a minute.
The compressor will not run on any folder that has been totally uncompressed, as it uses the existing compression algorithms of the contained files to decide what compression to use. Totally uncompressed folders will still remain in the Watched list, but will need to be manually compressed again before the background compressor will take over again.
The background compressor ignores any skipped file settings for now.
While I've tested it in several situations, I cannot stress how important it is to be careful with this. There's currently no options to enable/disable the background compressor, or adjust the idle timeouts, hence the alpha tag. Please report bugs, especially runaway memory/disk/CPU usage
Optimisations:
Speed up GetPoorlyCompressedExtensions by up to 10x
Reuse FileInfo instances to make Core.Compactor.BuildWorkingFilesList() about 90x faster (from ~900ms to 10ms overall on a folder with 100,000 files)
Smaller optimisations to Watcher and Analyser classes
Bug Fixes:
Fix crash when a file is deleted after analysis starts but before it is completed
Fix duplicating entries in the Wiki Results tooltip
Fix Watcher continuously trying to update the WatchedFolders.json file on disk while idle.
Important!
Because this application uses .NET 6, you will need to install .NET 6 for the prerelease version of this.
2.76 MB: If you don't have the .NET 6 runtime installed when you try to run this, it will prompt you to download it from Microsoft
reacted with thumbs up emojireacted with thumbs down emojireacted with laugh emojireacted with hooray emojireacted with confused emojireacted with heart emojireacted with rocket emojireacted with eyes emoji
-
New Features:
While I've tested it in several situations, I cannot stress how important it is to be careful with this. There's currently no options to enable/disable the background compressor, or adjust the idle timeouts, hence the alpha tag. Please report bugs, especially runaway memory/disk/CPU usage
Optimisations:
GetPoorlyCompressedExtensions
by up to 10xFileInfo
instances to makeCore.Compactor.BuildWorkingFilesList()
about 90x faster (from ~900ms to 10ms overall on a folder with 100,000 files)Bug Fixes:
WatchedFolders.json
file on disk while idle.Important!
Because this application uses .NET 6, you will need to install .NET 6 for the prerelease version of this.
File Checksums
Like this project?
Please consider leaving a tip on Ko-Fi :)
Full Changelog: v3.3.0...v3.4.0-alpha.1
This discussion was created from the release Version 3.4 Alpha 1.
Beta Was this translation helpful? Give feedback.
All reactions