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
check.go
commandeer.go
convert.go
env.go
gen.go
genautocomplete.go
genchromastyles.go Use Chroma as new default syntax highlighter 2017-09-25 08:59:02 +02:00
gendoc.go
gendocshelper.go Revert "commands: Adjust docs path" 2017-07-06 10:34:04 +02:00
genman.go
hugo.go metrics: Detect partialCached candidates 2017-10-07 18:00:07 +02:00
hugo_windows.go
import_jekyll.go
import_jekyll_test.go
limit_darwin.go
limit_others.go
list.go
list_config.go
new.go releaser: Bump versions for release of 0.29 2017-09-26 19:23:15 +00:00
new_test.go
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
undraft.go
undraft_test.go
version.go