-
Notifications
You must be signed in to change notification settings - Fork 24
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
Built time is very long - + 15 minutes. #16
Comments
Yeah that sounds like something isn't working right there. Does it actually finish after 15 minutes or does it eventually just time out? I'm wondering if there's a memory leak or something somewhere. |
It's the same for local, server or any other enviroment. It completes after 20 minutes or so, - the problem is that it has to rebuilt everything. Would be very nice if you could just built one specific page, that you changed?! Only option would be to exclude all other pages, which seems like a bit overkill when you have +100 pages. |
I also have a few thousand items in a collection and it takes more than an hour to generate the static website... it seems like it's about 3-5s per page. I also tried the same content on Jigsaw static site generator it only takes about ~45s... |
Is the time a single page gets generated about the same time you'd see it load in the browser? |
I believe that yes, it does take as long as it does in the browser... however it's also a bit difficult to test because of the leaking data bug #38. The results from SSG look very different from the browser and often many pages are mixed together. So it could be processing all sorts of extra things and I wouldn't be able to do an exact comparison. |
Something else I could try later on is downloading my entire S3 asset bucket and testing SSG as if it was a local asset container. |
If a page is slow in the browser, it's going to be just as slow in the SSG. The SSG is rendering the page just like it does for the browser, but writing it to a file. If you're able to leverage (If #38 was fixed, I don't expect it to be any faster than what you get in browser, although it might be making it slower) We're going to look at ways to improve performance soon. |
In #54 I've added support for your files to be generated concurrently. It speeds things up a ton. If you want to try it out:
then
but change |
Great, I'll try it out! I've also been testing the |
I've got this Most of my pages generate in less than a second but the ones with assets take a few minutes sometimes, my I'm going to try my asset on DO spaces instead of S3 next, and I'll also try download all the assets to localhost and run SSG again to compare the build times. |
Does that podcast one take a long time on the non-static version of the site? |
Yes, I've just emailed you a zip file with my podcasts for you to try out. |
Built time is very long - + 15 minutes for a fairly normal site with 100 static pages.
Any way to optimize the built time?
The text was updated successfully, but these errors were encountered: