In my test, this reduced a clean Lemmy Docker build from ~600s to ~480s. Seems like the speedup comes mainly from building independent parts in parallel (like the typescript and rust parts). I dont see any speedup in incremental builds but maybe that needs additional configuration.

  • nutomicOPA
    link
    fedilink
    arrow-up
    2
    ·
    5 years ago

    Its a system setting, the only way we could affect it is by adding the env var to our scripts. A better idea would to mention it in the docs.