Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
1d2eb70a
Commit
1d2eb70a
authored
Nov 27, 2024
by
myhloli
Browse files
refactor(pdf_parse_union_core_v2): optimize page processing time logging
parent
132c2089
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
magic_pdf/pdf_parse_union_core_v2.py
magic_pdf/pdf_parse_union_core_v2.py
+1
-1
No files found.
magic_pdf/pdf_parse_union_core_v2.py
View file @
1d2eb70a
...
@@ -784,7 +784,7 @@ def pdf_parse_union(
...
@@ -784,7 +784,7 @@ def pdf_parse_union(
if
debug_mode
:
if
debug_mode
:
time_now
=
time
.
time
()
time_now
=
time
.
time
()
logger
.
info
(
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
start_time
=
time_now
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment