hugo/commands
Bjørn Erik Pedersen 5800a20a25 metrics: Detect partialCached candidates
This commit adds a "cache potential" column when running `hugo --templateMetrics --templateMetricsHints`.

This is only calculated when `--templateMetricsHints` is set, as these calculations has an negative effect on the other timings.

This gives a value for partials only, and is a number between 0-100 that indicates if `partial` can be replaced with `partialCached`.

100 means that all execution of the same partial resulted in the same output.

You should do  some manual research before going "all cache".
2017-10-07 18:00:07 +02:00
..
benchmark.go commands: Use paths from PathSpec for walker 2017-05-09 14:07:43 +02:00
check.go Remove ShowPlan 2016-11-23 16:35:49 +01:00
commandeer.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
convert.go Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
env.go all: Use jww instead of fmt for printing 2016-11-22 22:06:48 +01:00
gen.go Add copyright header to that source files that don’t have one. 2015-12-10 15:19:38 -07:00
genautocomplete.go commands: Make first letter of flags' usage lowercase 2017-04-26 22:23:20 +02:00
genchromastyles.go Use Chroma as new default syntax highlighter 2017-09-25 08:59:02 +02:00
gendoc.go Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
gendocshelper.go Revert "commands: Adjust docs path" 2017-07-06 10:34:04 +02:00
genman.go Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
hugo.go metrics: Detect partialCached candidates 2017-10-07 18:00:07 +02:00
hugo_windows.go Move cobra.MousetrapHelpText to hugo_windows.go 2015-12-16 21:26:47 -07:00
import_jekyll.go hugo import jekyll support nested _posts directories 2017-07-01 10:15:22 +02:00
import_jekyll_test.go commands: Import Octopress image tag in Jekyll importer 2017-04-22 22:35:52 +02:00
limit_darwin.go commands: Adjust rlimit to 64000 2017-06-12 20:43:19 +02:00
limit_others.go Revert "commands: Remove the rlimit tweaking on macOS" 2017-06-12 20:35:19 +02:00
list.go Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00
list_config.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
new.go releaser: Bump versions for release of 0.29 2017-09-26 19:23:15 +00:00
new_test.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
release.go Set up Hugo release flow on CircleCI 2017-09-10 17:14:02 +02:00
server.go commands: Make noHTTPCache default false 2017-09-26 19:59:15 +02:00
server_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
undraft.go commands: Support human-readable YAML boolean values in undraft 2017-07-03 23:26:01 +02:00
undraft_test.go commands: Support human-readable YAML boolean values in undraft 2017-07-03 23:26:01 +02:00
version.go Run gofmt to get imports in line vs gohugoio/hugo 2017-06-13 19:12:10 +02:00