mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-03-27 11:08:32 +07:00
Merge pull request #1119 from myhloli/dev
refactor(pdf_parse_union_core_v2): optimize page processing time logging
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user