adrianvlupu / C4-Builder

This is a documentation builder. You feed it .md and .puml and it exports a site, pdf, or a markdown with navigation.
https://adrianvlupu.github.io/C4-Builder/
MIT License
562 stars 93 forks source link

feat: execute in parallel #67

Open Minipada opened 2 years ago

Minipada commented 2 years ago

Hi, First off, thanks for your work! I start having tons of diagrams on my repo and it starts taking time to build them. I made small changes to execute the build in parrallel. I'm no node/js developer so it might require fixes. Feel free to make change suggestions or take the code as is and rewrite it as a base. I'm also conscious this could be an option in the cli but it's far from my skills.

Here is the result difference.

Before image

After image