aglio icon indicating copy to clipboard operation
aglio copied to clipboard

Improve build time

Open willshulman opened this issue 9 years ago • 2 comments

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?

willshulman avatar Jul 11 '16 16:07 willshulman

@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.

kylef avatar Jul 21 '16 16:07 kylef

That's great thanks!

willshulman avatar Jul 25 '16 17:07 willshulman