Open okmanideep opened 6 months ago
@okmanideep when testing out the changes for #107 I realised that even when using freeze -c full
still takes a lot of time but if you output it to .svg
it will create it instantly both with -c user
or -c full
.
My assumption here is that to encode the .png
image, takes a lot of time if is not the base config.
I logged out the time between getting the config and parsing the json, here are the results:
-c full
:
-c user
:
Additionally if you want the conversion to be faster, consider downloading librsvg, this makes it drop from 31.4s to 1.3s.
On MacOS you can use brew install librsvg
.
Is your feature request related to a problem? Please describe. Currently having to pass
-c user
every time. Also for some reasonfreeze -c user
is slower compared tofreeze
(Checked withls | freeze
)Describe the solution you'd like Make
$XDG_CONFIG/freeze/user.json
the default config when no config is passedDescribe alternatives you've considered NA
Additional context MacOS 14.4.1 (23E224), installed via
brew install charmbracelet/tap/freeze