fix: performance hungy logging
This commit is contained in:
parent
aef138533c
commit
b5c6cbaade
@ -146,7 +146,8 @@ class TableSerializer:
|
|||||||
self.serialized_output = {}
|
self.serialized_output = {}
|
||||||
amount_working_rows = self.vertical_len +2
|
amount_working_rows = self.vertical_len +2
|
||||||
for rid in range(2, amount_working_rows):
|
for rid in range(2, amount_working_rows):
|
||||||
logger.info(f"Working on row {rid}/{amount_working_rows} ")
|
if rid % 1000 == 0:
|
||||||
|
logger.info(f"Working on row {rid}/{amount_working_rows} ")
|
||||||
working_row = {}
|
working_row = {}
|
||||||
source_row = self.get_row_as_dict(rid)
|
source_row = self.get_row_as_dict(rid)
|
||||||
for source_cols, instructions in list(col_instructions.items()) + [
|
for source_cols, instructions in list(col_instructions.items()) + [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user