hugo/parser
Bjørn Erik Pedersen 0907a5c1c2 all: Temporarily revert to BurntSushi for TOML front matter handling
We still have go-toml as a transitive dependency, and it is the way to go eventually, but we care about speed, so let us wait that one out.

Note that the issue this fixes is about taxonomies, but I guess this is a general issue for sites with many pages that uses TOML as front matter.

```
benchmark                              old ns/op     new ns/op     delta
BenchmarkFrontmatterTags/TOML:1-4      23206         8543          -63.19%
BenchmarkFrontmatterTags/TOML:11-4     80117         18495         -76.92%
BenchmarkFrontmatterTags/TOML:21-4     140676        28727         -79.58%

benchmark                              old allocs     new allocs     delta
BenchmarkFrontmatterTags/TOML:1-4      173            60             -65.32%
BenchmarkFrontmatterTags/TOML:11-4     625            138            -77.92%
BenchmarkFrontmatterTags/TOML:21-4     1106           210            -81.01%

benchmark                              old bytes     new bytes     delta
BenchmarkFrontmatterTags/TOML:1-4      9231          2912          -68.45%
BenchmarkFrontmatterTags/TOML:11-4     19808         5184          -73.83%
BenchmarkFrontmatterTags/TOML:21-4     31200         7536          -75.85%
```

See #3541
Updates #3464
2017-06-03 09:22:57 +02:00
..
frontmatter.go all: Temporarily revert to BurntSushi for TOML front matter handling 2017-06-03 09:22:57 +02:00
frontmatter_test.go parser: Add BenchmarkFrontmatterTags 2017-06-03 08:53:56 +02:00
long_text_test.md Merge remote-tracking branch 'origin/parser' into mrg_praser 2013-09-17 15:52:40 -07:00
page.go parser: Accept JSON frontmatter without leading "{\n" 2017-03-13 17:19:03 +01:00
page_test.go parser: Refactor frontmatter parser and add tests 2017-03-11 17:52:25 +01:00
parse_frontmatter_test.go parser: Accept JSON frontmatter without leading "{\n" 2017-03-13 17:19:03 +01:00