From 139e7606f4ab68b469438956c378745f51f7b65b Mon Sep 17 00:00:00 2001 From: Adam Scarr Date: Sun, 13 Aug 2017 21:20:41 +1000 Subject: Update benchmarks --- json/json_test.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'json/json_test.go') diff --git a/json/json_test.go b/json/json_test.go index f020a40..13f2e40 100644 --- a/json/json_test.go +++ b/json/json_test.go @@ -4,6 +4,8 @@ import ( stdlibJson "encoding/json" "testing" + "os" + parsecJson "github.com/prataprc/goparsec/json" "github.com/stretchr/testify/require" "github.com/vektah/goparsify" @@ -53,6 +55,7 @@ func BenchmarkUnmarshalParsec(b *testing.B) { } func BenchmarkUnmarshalParsify(b *testing.B) { + goparsify.EnableLogging(os.Stdout) for i := 0; i < b.N; i++ { _, err := Unmarshal(benchmarkString) require.NoError(b, err) -- cgit v1.2.3