Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any speed-up tips? #6

Closed
photonstorm opened this issue Feb 13, 2018 · 1 comment
Closed

Any speed-up tips? #6

photonstorm opened this issue Feb 13, 2018 · 1 comment

Comments

@photonstorm
Copy link

I'm using the foodoc template on a project with just over 1000 modules in it and it takes a painfully slow time to build the html, currently just over 1 hour. It doesn't crash, node happily carries on doing its thing and it eventually outputs all the files, but it makes doing test builds quite painful :)

Do you have any ideas on speeding it up? Maybe some node tweaks?

@steveush
Copy link
Owner

steveush commented May 1, 2018

Hi,

Apologies this is so late, been side tracked with work. I'm pretty sure there are a lot of optimizations to make within the template JS, quite frankly at the moment it's a bit of a mess and it is on my TODO list however when I can get to it is another matter. I'm just happy it didn't die running on a project with over a 1000 modules :)

I've just released version 0.0.9 where I've updated all the dependencies except for lunr so there may be some speed gains from the updates to them.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants