URI: 
       Adding total time to generated stats. - hugo - [fork] hugo port for 9front
  HTML git clone git@git.drkhsh.at/hugo.git
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit d4caa8ee9571089b6b7d602fe744f786d7af9fee
   DIR parent 51e309854821a5e943e8e64eea218bc82c8f2dc6
  HTML Author: spf13 <steve.francia@gmail.com>
       Date:   Wed, 10 Jul 2013 09:21:41 -0400
       
       Adding total time to generated stats.
       
       Diffstat:
         M main.go                             |       5 +++--
       
       1 file changed, 3 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/main.go b/main.go
       @@ -23,6 +23,7 @@ import (
                "path/filepath"
                "runtime/pprof"
                "sync"
       +        "time"
        )
        
        const (
       @@ -118,11 +119,11 @@ func serve(port string, config *hugolib.Config) {
        }
        
        func buildSite(config *hugolib.Config) *hugolib.Site {
       +    startTime := time.Now()
                site := hugolib.NewSite(config)
                site.Build()
       -
                site.Stats()
       -
       +        fmt.Printf("in %v ms\n", int(1000 * time.Since(startTime).Seconds()))
                return site
        }