I used Jekyll before I migrated to Hugo. On my Jekyll before, I avoid using so many liquid and includes method, because it will open the file that I includes, and it takes more time to build.

I know that most of Hugo themes uses imports and partials for easier development purpose. But I want more simpler file and structure. So, I move most of the code inside imports and partials to the parents file.

My question:
Does moving the code inside imports and partials to the parents file can improve performance and building time? Which one is faster?

That’s definitely one of the faster builds on our system! It’s rare to see one that runs anything finish in under a minute considering the cache import/save and the rest of the setup like installing go and proper hugo versions.

I think a more useful question is how fast your site loads now It should be faster than before, or the build time is pretty irrelevant, right?