debug is false in benchmark
This commit is contained in:
parent
88c72340e3
commit
1970a90813
|
@ -54,6 +54,7 @@ func TestParser(t *testing.T) {
|
||||||
|
|
||||||
func BenchmarkParser(t *testing.B) {
|
func BenchmarkParser(t *testing.B) {
|
||||||
log.Printf("start bench !!!!")
|
log.Printf("start bench !!!!")
|
||||||
|
debug = false
|
||||||
log.SetLevel(log.ErrorLevel)
|
log.SetLevel(log.ErrorLevel)
|
||||||
pctx, err := prepTests()
|
pctx, err := prepTests()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue