hugo/resources
Bjørn Erik Pedersen fa2d7adf10 page: Add some concurrency to the building of the related page index
But only in the case where we know that we will need to access the Page fragments/tableofcontents.

In normal situations this will spread naturally across the CPU cores, but not in the situation where
`site.RegularPages.Related` gets called as part of e.g. the single template.

```bash
name            old time/op    new time/op    delta
RelatedSite-10    18.0ms ± 2%    11.9ms ± 1%  -34.17%  (p=0.029 n=4+4)

name            old alloc/op   new alloc/op   delta
RelatedSite-10    38.6MB ± 0%    38.6MB ± 0%     ~     (p=0.114 n=4+4)

name            old allocs/op  new allocs/op  delta
RelatedSite-10      117k ± 0%      117k ± 0%   +0.23%  (p=0.029 n=4+4)
```

See #10711
2023-02-22 20:37:41 +01:00
..
images Only invoke a given cached partial once 2023-01-25 17:35:23 +01:00
internal Only invoke a given cached partial once 2023-01-25 17:35:23 +01:00
jsconfig
page page: Add some concurrency to the building of the related page index 2023-02-22 20:37:41 +01:00
postpub Add page fragments support to Related 2023-02-21 17:56:41 +01:00
resource Add page fragments support to Related 2023-02-21 17:56:41 +01:00
resource_factories Only invoke a given cached partial once 2023-01-25 17:35:23 +01:00
resource_transformers tocss: Simplify the hugo:vars type handling 2023-02-22 13:26:10 +01:00
testdata
docs.go Misc doc, code refactoring to improve documentation 2023-01-04 18:01:26 +01:00
errorResource.go Add page fragments support to Related 2023-02-21 17:56:41 +01:00
image.go Only invoke a given cached partial once 2023-01-25 17:35:23 +01:00
image_cache.go
image_extended_test.go
image_test.go Add page fragments support to Related 2023-02-21 17:56:41 +01:00
integration_test.go
post_publish.go
resource.go Add page fragments support to Related 2023-02-21 17:56:41 +01:00
resource_cache.go
resource_cache_test.go
resource_metadata.go
resource_metadata_test.go
resource_spec.go Add fill HTTP Response info into .Data in resources.GetRemote 2023-01-16 14:44:15 +01:00
resource_test.go
testhelpers_test.go
transform.go Add page fragments support to Related 2023-02-21 17:56:41 +01:00
transform_test.go Add page fragments support to Related 2023-02-21 17:56:41 +01:00