From cc9d18219af9375ad89eaa8a23f1e0bcffa5734e Mon Sep 17 00:00:00 2001 From: Adam Scarr Date: Mon, 7 Aug 2017 20:07:29 +1000 Subject: add debugging --- json/json_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'json') diff --git a/json/json_test.go b/json/json_test.go index 84fdd5c..8f2e148 100644 --- a/json/json_test.go +++ b/json/json_test.go @@ -6,6 +6,7 @@ import ( parsecJson "github.com/prataprc/goparsec/json" "github.com/stretchr/testify/require" + "github.com/vektah/goparsify" ) func TestUnmarshal(t *testing.T) { @@ -58,6 +59,7 @@ func BenchmarkUnmarshalParsify(b *testing.B) { _, err := Unmarshal(benchmarkString) require.NoError(b, err) } + goparsify.DumpDebugStats() } func BenchmarkUnmarshalStdlib(b *testing.B) { -- cgit v1.2.3