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

Reduce build time to speed up development #4

Open
OrkoHunter opened this issue Feb 16, 2019 · 0 comments
Open

Reduce build time to speed up development #4

OrkoHunter opened this issue Feb 16, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@OrkoHunter
Copy link
Collaborator

This project generates a lot of static web pages. Currently, the count is 12969 markdown files which are converted into HTML pages by Jekyll. It takes 246.02 seconds as of now. Every month, around 800 new pages are created. I believe the build time is reduced to some extent when it is developed on better machines.

My concern is, when someone is working on this project, they constantly regenerate the pages to find out the effects of the changes they are making. It used to take around 30 seconds last summer even with incremental build enabled. This is a huge drawback of Jekyll.

I have been experimenting with this very popular static page generator called Hugo, written in Go. It is very easy to install and use. And the reason why Jekyll should be replaced with Hugo for this project is that it is incredibly fast. Hugo claims that it takes <1ms per page to build. That would reduce the build time from ~250s to ~13 which is awesome!

The programming language is not a concern to us since we do not use anything ruby specific for Jekyll, nor we'll use anything Golang specific for Hugo. They have yaml based configs which work pretty neatly.

@OrkoHunter OrkoHunter added the enhancement New feature or request label Feb 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant