1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

Remove page module dependence on opening files

The site is responsible for reading files, page only operates on
buffers.
This commit is contained in:
Noah Campbell
2013-09-04 16:57:17 -07:00
parent cb00917af6
commit d4d9da9f3a
5 changed files with 17 additions and 40 deletions

View File

@@ -16,9 +16,3 @@ func BenchmarkParsePage(b *testing.B) {
p = p
}
}
func BenchmarkNewPage(b *testing.B) {
for i := 0; i < b.N; i++ {
NewPage("redis.cn.md")
}
}