Skip to content

Commit db26660

Browse files
authored
adjust python perf-test script
1 parent a814b74 commit db26660

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/spectator/lang/py/perf-test.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ Test maximum single-threaded throughput for two minutes.
1010
import logging
1111
import time
1212

13-
from spectator import Config, Registry
14-
1513
logging.basicConfig(
1614
level=logging.INFO,
1715
format='%(asctime)s - %(name)s - %(levelname)s - %(thread)d - %(message)s'
1816
)
1917

18+
from spectator import Config, Registry
19+
2020
location = "udp"
2121
# location = "unix"
2222
registry = Registry(Config(location))

0 commit comments

Comments
 (0)