From e7b0b666d1e46fcedeff3e981baf86c2cadbe7d7 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 16 Jan 2026 16:43:56 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E5=B9=B6?= =?UTF-8?q?=E8=A1=8COCR=E5=AD=90=E4=BB=BB=E5=8A=A1=E7=9A=84=E5=8D=95?= =?UTF-8?q?=E7=8B=AC=E6=80=A7=E8=83=BD=E6=97=A5=E5=BF=97=E8=BE=93=E5=87=BA?= =?UTF-8?q?=E4=BB=A5=E9=81=BF=E5=85=8D=E6=97=A5=E5=BF=97=E9=87=8D=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- douyin/fudai/douyin_fudai_core.py | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/douyin/fudai/douyin_fudai_core.py b/douyin/fudai/douyin_fudai_core.py index 6effe7e..1f0ea13 100644 --- a/douyin/fudai/douyin_fudai_core.py +++ b/douyin/fudai/douyin_fudai_core.py @@ -1052,15 +1052,16 @@ def get_fudai_contain(analyser, renwu: int = 2) -> Tuple[str, str, int, int, flo dur = round((time.time() - start) * 1000, 1) with perf_task_lock: perf_task_durations["ocr_live_room_title"] = dur - try: - analyser._log_kv( - "性能", - "并行OCR子任务单项耗时(ms)", - field="live_room_title", - duration_ms=dur, - ) - except Exception: - pass + # 移除单独的性能日志输出,避免日志重复 + # try: + # analyser._log_kv( + # "性能", + # "并行OCR子任务单项耗时(ms)", + # field="live_room_title", + # duration_ms=dur, + # ) + # except Exception: + # pass except Exception: pass