.TH "HUGO\-BENCHMARK" "1" "Dec 2016" "Hugo 0.18.1" "Hugo Manual" .nh .ad l .SH NAME .PP hugo\-benchmark \- Benchmark Hugo by building a site a number of times. .SH SYNOPSIS .PP \fBhugo benchmark\fP [OPTIONS] .SH DESCRIPTION .PP Hugo can build a site many times over and analyze the running process creating a benchmark. .SH OPTIONS .PP \fB\-b\fP, \fB\-\-baseURL\fP="" hostname (and path) to the root, e.g. \[la]http://spf13.com/\[ra] .PP \fB\-D\fP, \fB\-\-buildDrafts\fP[=false] include content marked as draft .PP \fB\-E\fP, \fB\-\-buildExpired\fP[=false] include expired content .PP \fB\-F\fP, \fB\-\-buildFuture\fP[=false] include content with publishdate in the future .PP \fB\-\-cacheDir\fP="" filesystem path to cache directory. Defaults: $TMPDIR/hugo\_cache/ .PP \fB\-\-canonifyURLs\fP[=false] if true, all relative URLs will be canonicalized using baseURL .PP \fB\-\-cleanDestinationDir\fP[=false] Remove files from destination not found in static directories .PP \fB\-c\fP, \fB\-\-contentDir\fP="" filesystem path to content directory .PP \fB\-n\fP, \fB\-\-count\fP=13 number of times to build the site .PP \fB\-\-cpuprofile\fP="" path/filename for the CPU profile file .PP \fB\-d\fP, \fB\-\-destination\fP="" filesystem path to write files to .PP \fB\-\-disable404\fP[=false] Do not render 404 page .PP \fB\-\-disableRSS\fP[=false] Do not build RSS files .PP \fB\-\-disableSitemap\fP[=false] Do not build Sitemap file .PP \fB\-\-enableGitInfo\fP[=false] Add Git revision, date and author info to the pages .PP \fB\-\-forceSyncStatic\fP[=false] Copy all files when static is changed. .PP \fB\-\-i18n\-warnings\fP[=false] Print missing translations .PP \fB\-\-ignoreCache\fP[=false] Ignores the cache directory .PP \fB\-l\fP, \fB\-\-layoutDir\fP="" filesystem path to layout directory .PP \fB\-\-memprofile\fP="" path/filename for the memory profile file .PP \fB\-\-noChmod\fP[=false] Don't sync permission mode of files .PP \fB\-\-noTimes\fP[=false] Don't sync modification time of files .PP \fB\-\-pluralizeListTitles\fP[=true] Pluralize titles in lists using inflect .PP \fB\-\-preserveTaxonomyNames\fP[=false] Preserve taxonomy names as written ("GĂ©rard Depardieu" vs "gerard\-depardieu") .PP \fB\-\-renderToMemory\fP[=false] render to memory (only useful for benchmark testing) .PP \fB\-s\fP, \fB\-\-source\fP="" filesystem path to read files relative from .PP \fB\-\-stepAnalysis\fP[=false] display memory and timing of different steps of the program .PP \fB\-t\fP, \fB\-\-theme\fP="" theme to use (located in /themes/THEMENAME/) .PP \fB\-\-uglyURLs\fP[=false] if true, use /filename.html instead of /filename/ .SH OPTIONS INHERITED FROM PARENT COMMANDS .PP \fB\-\-config\fP="" config file (default is path/config.yaml|json|toml) .PP \fB\-\-log\fP[=false] Enable Logging .PP \fB\-\-logFile\fP="" Log File path (if set, logging enabled automatically) .PP \fB\-\-quiet\fP[=false] build in quiet mode .PP \fB\-v\fP, \fB\-\-verbose\fP[=false] verbose output .PP \fB\-\-verboseLog\fP[=false] verbose logging .SH SEE ALSO .PP \fBhugo(1)\fP