hugo/parser
Albert Nigmatzianov d3cd68e656 parser: Improve TOML frontmatter parser performance
Difference between toml.Load(string(datum)) and
toml.LoadReader(bytes.NewReader(datum)):
benchmark           old ns/op     new ns/op     delta
BenchmarkLoad-4     82068         78489         -4.36%

benchmark           old allocs     new allocs     delta
BenchmarkLoad-4     494            493            -0.20%

benchmark           old bytes     new bytes     delta
BenchmarkLoad-4     17009         16913         -0.56%
2017-03-20 09:02:35 +01:00
..
frontmatter.go parser: Improve TOML frontmatter parser performance 2017-03-20 09:02:35 +01:00
frontmatter_test.go
long_text_test.md
page.go parser: Accept JSON frontmatter without leading "{\n" 2017-03-13 17:19:03 +01:00
page_test.go
parse_frontmatter_test.go parser: Accept JSON frontmatter without leading "{\n" 2017-03-13 17:19:03 +01:00