danielgtaylor / aglio

An API Blueprint renderer with theme support that outputs static HTML
4.75k stars 481 forks source link

Improve build time #273

Open willshulman opened 8 years ago

willshulman commented 8 years ago

I love aglio but it takes a long time to compile the native C code that protagonist / drafter bring in. Are there any ideas on how to improve the time it takes here? Could any of this stuff be packaged as binaries?

kylef commented 8 years ago

@willshulman https://github.com/danielgtaylor/aglio/pull/277 will move the Protagonist to become an optional dependency and you would be able to install Aglio without this optional dependency with npm install --no-optional I think. Note, without the optional dependency, using Aglio may become slightly slower, it will take a slightly longer time to parse API Blueprints.

There is a decision for you regarding upfront installation time vs the longer parse times.

willshulman commented 8 years ago

That's great thanks!