diff options
| author | Adam Scarr <adam@vektah.net> | 2017-08-13 21:20:41 +1000 |
|---|---|---|
| committer | Adam Scarr <adam@vektah.net> | 2017-08-13 21:20:41 +1000 |
| commit | 139e7606f4ab68b469438956c378745f51f7b65b (patch) | |
| tree | 2eaa9cb87e008ecaffefc01c5da933f1ea9852dd /json | |
| parent | 1c37779bd46d988c9e7b4bdb846b9daa89856b7c (diff) | |
Update benchmarks
Diffstat (limited to 'json')
| -rw-r--r-- | json/json_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
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) |
