1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

Parallelizing the largest build processes (templates, pages, indexes). Seeing 300%+ improvement of total build time.

This commit is contained in:
spf13
2014-03-05 19:07:39 -05:00
parent d84f707da1
commit 3dfb475136
2 changed files with 81 additions and 53 deletions

View File

@ -15,8 +15,10 @@ package main
import (
"github.com/spf13/hugo/commands"
"runtime"
)
func main() {
runtime.GOMAXPROCS(runtime.NumCPU())
commands.Execute()
}