diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-07-26 00:26:15 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-09-06 18:32:16 +0300 |
commit | c447b7dd6efcb662f177ad0c9037133361ed74e3 (patch) | |
tree | 30b51126bb467de39d20e68791fcc83fe03db0bd /commands/benchmark.go | |
parent | c4e7c37055a029a26d87ebeb21614efb3f0b0040 (diff) |
Rename MainSites to Sites
Having many *main* sites doesn't make much sense.
Diffstat (limited to 'commands/benchmark.go')
-rw-r--r-- | commands/benchmark.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/benchmark.go b/commands/benchmark.go index 53d2c8e9e..53e11c3f6 100644 --- a/commands/benchmark.go +++ b/commands/benchmark.go @@ -57,7 +57,7 @@ func benchmark(cmd *cobra.Command, args []string) error { return err } for i := 0; i < benchmarkTimes; i++ { - MainSites = nil + Sites = nil _ = buildSite() } pprof.WriteHeapProfile(f) @@ -76,7 +76,7 @@ func benchmark(cmd *cobra.Command, args []string) error { pprof.StartCPUProfile(f) defer pprof.StopCPUProfile() for i := 0; i < benchmarkTimes; i++ { - MainSites = nil + Sites = nil _ = buildSite() } } |