Skip to content

Commit

Permalink
add bench.py loops
Browse files Browse the repository at this point in the history
  • Loading branch information
AsterDY committed Oct 18, 2022
1 parent bdf14c0 commit c2bb6b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bench.py
Expand Up @@ -19,7 +19,7 @@
import subprocess
import argparse

repeat_time = 10
repeat_time = 100
gbench_prefix = "SONIC_NO_ASYNC_GC=1 go test -benchmem -run=none -count=%d "%(repeat_time)

def run(cmd):
Expand Down
2 changes: 1 addition & 1 deletion decoder/pools.go
Expand Up @@ -28,7 +28,7 @@ import (

const (
_MinSlice = 16
_MaxStack = 4096 // 64k slots
_MaxStack = 4096 // 4k slots
_MaxStackBytes = _MaxStack * _PtrBytes
_MaxDigitNums = 800 // used in atof fallback algorithm
)
Expand Down

0 comments on commit c2bb6b6

Please sign in to comment.