Skip to content

Commit

Permalink
Merge pull request #1119 from myhloli/dev
Browse files Browse the repository at this point in the history
refactor(pdf_parse_union_core_v2): optimize page processing time logging
  • Loading branch information
myhloli authored Nov 27, 2024
2 parents 132c208 + 1d2eb70 commit 7fdbb6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magic_pdf/pdf_parse_union_core_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ def pdf_parse_union(
if debug_mode:
time_now = time.time()
logger.info(
f'page_id: {page_id}, last_page_cost_time: {time.time() - start_time}'
f'page_id: {page_id}, last_page_cost_time: {round(time.time() - start_time, 2)}'
)
start_time = time_now

Expand Down

0 comments on commit 7fdbb6e

Please sign in to comment.