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 parser: Refactor frontmatter parser and add tests 2017-03-11 17:52:25 +01: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