2 ms·
"- dependency compilation is not parallelized - takes a lot of time and uses 10% of CPU" Dependencies are commonly in foreign programming languages, where the
by cess11 2y ago
"- dependency compilation is not parallelized - takes a lot of time and uses 10% of CPU"
Dependencies are commonly in foreign programming languages, where the compiler might run things concurrently outside of BEAM control. It's not uncommon that Mix is configured by dependencies to just pull a binary for the local architecture from some repo instead. Perhaps that's what you ought to do in your CI and deploy flows, instead of compiling everything.
"- a lot of knowledge is implicit (try checking if you can dynamically add children to a Supervisor)"
What do you mean, "implicit"? It's in the docs:
https://hexdocs.pm/elixir/DynamicSupervisor.html https://hexdocs.pm/elixir/DynamicSupervisor.html