hugo/hugolib
Bjørn Erik Pedersen 50d11138f3 hugolib: Add a cache to GetPage
Looks to be slightly slower with the low number of section pages, but the 1000 regular pages seem to add value.

```
benchmark                     old ns/op     new ns/op     delta
BenchmarkGetPage-4            97.7          145           +48.41%
BenchmarkGetPageRegular-4     7933          161           -97.97%

benchmark                     old allocs     new allocs     delta
BenchmarkGetPage-4            0              0              +0.00%
BenchmarkGetPageRegular-4     0              0              +0.00%

benchmark                     old bytes     new bytes     delta
BenchmarkGetPage-4            0             0             +0.00%
BenchmarkGetPageRegular-4     0             0             +0.00%
```
2017-05-26 10:42:45 +03:00
..
testdata
404_test.go
alias.go
alias_test.go
author.go
case_insensitive_test.go
config.go commands, hugolib: Deprecate disable404, disableRSS, disableSitemap, disableRobotsTXT 2017-05-10 20:00:08 +02:00
config_test.go
datafiles_test.go
disableKinds_test.go
embedded_shortcodes_test.go
gitinfo.go
handler_base.go
handler_file.go
handler_meta.go
handler_page.go hugolib: Handle shortcode per output format 2017-05-13 22:44:15 +03:00
handler_test.go
hugo_info.go
hugo_sites.go hugolib: Handle shortcode per output format 2017-05-13 22:44:15 +03:00
hugo_sites_build.go hugolib: Handle shortcode per output format 2017-05-13 22:44:15 +03:00
hugo_sites_build_test.go hugolib: Enable leaktest 2017-05-23 20:40:20 +03:00
media.go
menu.go
menu_old_test.go
menu_test.go
multilingual.go
node_as_page_test.go
page.go hugolib: Add a cache to GetPage 2017-05-26 10:42:45 +03:00
page_collections.go hugolib: Add a cache to GetPage 2017-05-26 10:42:45 +03:00
page_collections_test.go hugolib: Support regular pages in .Site.GetPage 2017-05-26 10:42:45 +03:00
page_output.go
page_paths.go hugolib: The deprecated Extension, Now and TargetPath will now ERROR 2017-05-10 20:05:52 +02:00
page_paths_test.go
page_permalink_test.go
page_taxonomy_test.go
page_test.go
page_time_integration_test.go
pageCache.go
pageCache_test.go
pageGroup.go
pageGroup_test.go
pageSort.go
pageSort_test.go
pagesPrevNext.go
pagesPrevNext_test.go
pagination.go
pagination_test.go
path_separators_test.go
permalinker.go
permalinks.go
permalinks_test.go
robotstxt_test.go
rss_test.go
scratch.go
scratch_test.go
shortcode.go hugolib: Handle shortcode per output format 2017-05-13 22:44:15 +03:00
shortcode_test.go hugolib: Handle shortcode per output format 2017-05-13 22:44:15 +03:00
shortcodeparser.go
shortcodeparser_test.go
site.go hugolib: Speed up GetPage 2017-05-23 15:18:26 +03:00
site_output.go hugolib: Fix output formats override when no outputs definition given 2017-05-17 19:00:15 +03:00
site_output_test.go hugolib: Fix RSSLink vs RSS Output Format 2017-05-17 22:14:31 +03:00
site_render.go hugolib: Handle shortcode per output format 2017-05-13 22:44:15 +03:00
site_test.go hugolib: Support regular pages in .Site.GetPage 2017-05-26 10:42:45 +03:00
site_url_test.go
siteJSONEncode_test.go
sitemap.go
sitemap_test.go
taxonomy.go hubolib: Embed Page in WeightedPage 2017-05-09 23:58:25 +02:00
taxonomy_test.go
template_engines_test.go
template_test.go
testhelpers_test.go hugolib: Add BenchmarkGetPage 2017-05-23 12:10:15 +03:00
translations.go