ryanoasis / nerd-fonts

Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more
https://NerdFonts.com
Other
54.16k stars 3.63k forks source link

10x times faster docker patch #1507

Closed nobk closed 8 months ago

nobk commented 8 months ago

I am using docker run nerdfonts/patcher for patch my custom iosevka fonts. But I find that the fontforge command line is single process, only one CPU core are using. So I changed the docker script, make it use all CPU cores. And get 10x times faster when run docker patch on an i7-12700K. Only need 2 lines modification.

Finii commented 8 months ago

I have only a Ryzen7 3700U so I would expect a speedup of 3.5, but that still is significant!

:tada:

Well, that's the reason why I use gotta-patch-em with -j. That also has the advantage to read the config file. I guess we should someday unify the config files and incorporate them into the patcher itself. ... Sigh

github-actions[bot] commented 1 month ago

This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a new issue, complete the issue template with all the details necessary to reproduce, and mention this issue as reference.