This cuts the time down from 6-7 seconds to 2-3 seconds for me, that is
great, thank you!
time raco setup --doc-index --no-pkg-deps layout 6.85s user 1.29s system
209% cpu 3.888 total
raco setup -n -j 1 --doc-index --no-pkg-deps --avoid-main layout 2.31s
user 0.47s system 99%
You could use `-n` to skip the ".zo"-building part, and there are
similar arguments for other steps.
You may also find it helpful to use `-j 1`. Although `raco setup`
should be smarter about spinning up places to build multiple documents
in parallel, it currently isn't.
At Tue, 2 Jun 2020
I like that I can run:
raco setup --doc-index my-collection-name
and it builds the documentation and makes it searchable on my local machine.
But I was wondering if there is a way to speed-up/skip some of the usual
setup stuff that happens before building the documentation?
Mail list logo