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()
}