https://github.com/bep/hugo-benchmark
Builds a set of random, but real Hugo sites and prints some stats.
https://github.com/bep/hugo-benchmark
Last synced: about 1 year ago
JSON representation
Builds a set of random, but real Hugo sites and prints some stats.
- Host: GitHub
- URL: https://github.com/bep/hugo-benchmark
- Owner: bep
- License: mit
- Created: 2016-08-16T08:17:44.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-18T19:12:52.000Z (about 8 years ago)
- Last Synced: 2025-02-13T14:41:06.124Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hugo-benchmark
Benchmark for building a set of random, but real [Hugo](https://github.com/spf13/hugo) sites.
## Install and run
Clone an run the main:
```
git clone --recursive https://github.com/bep/hugo-benchmark.git
cd hugo-benchmark
go get -u -v
go test -bench=".*" -test.benchmem=true -count 3 > 1.bench
// checkout another Hugo branch
go test -bench=".*" -test.benchmem=true -count 3 > 2.bench
benchcmp -best 1.bench 2.bench
```