diff options
author | spf13 <[email protected]> | 2014-03-05 19:07:39 -0500 |
---|---|---|
committer | spf13 <[email protected]> | 2014-03-05 23:48:42 -0500 |
commit | 3dfb4751366aadfec9056ca3bde4215067ee4a26 (patch) | |
tree | 3f8ee7213726eaa95d11264a35ca95373c34f8ab /main.go | |
parent | d84f707da1d46b7334ff10db2443ac17a17bbff2 (diff) | |
download | hugo-3dfb4751366aadfec9056ca3bde4215067ee4a26.tar.gz hugo-3dfb4751366aadfec9056ca3bde4215067ee4a26.zip |
Parallelizing the largest build processes (templates, pages, indexes). Seeing 300%+ improvement of total build time.
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -15,8 +15,10 @@ package main import ( "github.com/spf13/hugo/commands" + "runtime" ) func main() { + runtime.GOMAXPROCS(runtime.NumCPU()) commands.Execute() } |