# What impact does your computer/processor/ram/etc. have on Hugo build time?

**URL:** <https://discourse.gohugo.io/t/what-impact-does-your-computer-processor-ram-etc-have-on-hugo-build-time/16586>\
**Category:** support\
**Created:** [January 24, 2019, 1:22am UTC](https://discourse.gohugo.io/t/what-impact-does-your-computer-processor-ram-etc-have-on-hugo-build-time/16586 "2019-01-24T01:22:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bugsysailor](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bugsysailor/32/10293_2.png) [@bugsysailor](https://discourse.gohugo.io/u/bugsysailor)\
**Post date:** [January 24, 2019, 1:22am UTC](https://discourse.gohugo.io/t/what-impact-does-your-computer-processor-ram-etc-have-on-hugo-build-time/16586/1 "2019-01-24T01:22:04Z")

</div>

I’m working from a 9-year-old MacBook Pro, couldn’t even tell you the specs.

As I’m not familiar with Go and how Hugo compiles when running _server_, how much of an impact does running a more powerful computer have on Hugo’s build time? Am I going to see much of a difference with a tricked-out new machine? Has there been benchmarking on this?

Hope that’s a justifiable question 🙂

---

<div class="post-metadata">

**Author:** ![brunoamaral](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/brunoamaral/32/21144_2.png) [@brunoamaral](https://discourse.gohugo.io/u/brunoamaral)\
**Post date:** [January 24, 2019, 9:04am UTC](https://discourse.gohugo.io/t/what-impact-does-your-computer-processor-ram-etc-have-on-hugo-build-time/16586/2 "2019-01-24T09:04:53Z")

</div>

For example, when I run a hugo build on my macbook pro, I get a massive site built in about 30 seconds. On the production server, a virtual machine with less ram and processor, it takes over 2 minutes.

---

<div class="post-metadata">

**Author:** ![RickCogley](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rickcogley/32/10269_2.png) [@RickCogley](https://discourse.gohugo.io/u/RickCogley)\
**Post date:** [January 24, 2019, 9:50am UTC](https://discourse.gohugo.io/t/what-impact-does-your-computer-processor-ram-etc-have-on-hugo-build-time/16586/3 "2019-01-24T09:50:24Z")

</div>

When you use `hugo` to build you can benchmark with:

```auto
      --stepAnalysis display memory and timing of different steps of the program
      --templateMetrics display metrics about template executions
      --templateMetricsHints calculate some improvement hints when combined with --templateMetrics
  -v, --verbose verbose output
      --verboseLog verbose logging

```

then compare old to new.

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [January 24, 2019, 10:05am UTC](https://discourse.gohugo.io/t/what-impact-does-your-computer-processor-ram-etc-have-on-hugo-build-time/16586/4 "2019-01-24T10:05:50Z")

</div>

I’m running mostly on a 2015 MacBook 13 inch with 8 gigs of ram, so not super fast (which I think helps holding me a little grounded when it comes to Hugo development).

In general I would say that

- Hugo needs a failr amount of memory to run well. There have been posts here from user(s) who use Hugo with “notepad type” of PCs to do presentations. Using `hugo server --renderToDisk` was a solution for that scenario.
- Also, most of Hugo’s processing is performed concurrently, so more CPUs/cores will help.

---

<div class="post-metadata">

**Author:** ![bugsysailor](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bugsysailor/32/10293_2.png) [@bugsysailor](https://discourse.gohugo.io/u/bugsysailor)\
**Post date:** [January 24, 2019, 3:54pm UTC](https://discourse.gohugo.io/t/what-impact-does-your-computer-processor-ram-etc-have-on-hugo-build-time/16586/5 "2019-01-24T15:54:16Z")

</div>

Thanks for the insight.
