Skip to content

Commit 66ae69d

Browse files
committed
Extends range of viewed profile statistics and renames the old ByteStream implementation to ByteStreamOld
1 parent ec79dab commit 66ae69d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

profile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def parse_replays():
2323
# Problem with the profiler is that it adds conciderable amount of overhead
2424
cProfile.run("parse_replays()","replay_profile")
2525
stats = Stats("replay_profile")
26-
stats.strip_dirs().sort_stats("time").print_stats(15)
26+
stats.strip_dirs().sort_stats("time").print_stats(30)
2727

2828
# start = time.time()
2929
# for run in range(1,4):

sc2reader/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def parse_serialized_data(self, byte_code=False):
220220

221221

222222
'''
223-
class ByteStream(object):
223+
class ByteStreamOld(object):
224224
"""Track and return the bytes for investigative and debugging purposes"""
225225
"""Most functions will return the byte_code as well when requested"""
226226

0 commit comments

Comments
 (0)