cleanup: remove dead code and duplicate docs
- Remove session-ses_2f27.md (161KB raw session log) - Remove 49 ROOT_* duplicate files across REFERENCE/ - Remove 14 duplicate files between REFERENCE/ root and history/ - Remove asr_legacy.rs (dead code, replaced by asr.rs) - Remove src/core/worker/ (duplicate JobWorker) - Remove src/core/layers/ (empty directory) - Remove 4 .bak files in src/ - Remove 7 dead private methods in worker/processor.rs - Remove backup directory from git tracking
This commit is contained in:
@@ -23,7 +23,6 @@ import sys
|
||||
import json
|
||||
import time
|
||||
import subprocess
|
||||
import shutil
|
||||
from pathlib import Path
|
||||
from datetime import datetime
|
||||
|
||||
@@ -230,7 +229,7 @@ def main():
|
||||
sys.exit(1)
|
||||
|
||||
video_info = get_video_info(video_path)
|
||||
print(f"\n测试视频:")
|
||||
print("\n测试视频:")
|
||||
print(f" UUID: {video_uuid}")
|
||||
print(f" 文件: {video_info.get('size_mb', 0):.1f} MB")
|
||||
print(f" 时长: {video_info.get('duration', 0):.1f} 秒")
|
||||
@@ -286,7 +285,7 @@ def main():
|
||||
"has_landmarks": result["has_landmarks"]
|
||||
})
|
||||
|
||||
print(f"\n✅ 处理完成:")
|
||||
print("\n✅ 处理完成:")
|
||||
print(f" 时间: {result['elapsed_time']:.2f}秒")
|
||||
print(f" 速度: {speed:.2f}x 实时倍速")
|
||||
print(f" 内存峰值: {result['peak_memory_mb']:.1f} MB")
|
||||
@@ -324,7 +323,7 @@ def main():
|
||||
print(f"{'=' * 80}")
|
||||
|
||||
print("\n【对比总结】")
|
||||
print(f"\n| 方案 | 脚本 | 时间(秒) | 速度 | 内存(MB) | 人脸数 | Embedding |")
|
||||
print("\n| 方案 | 脚本 | 时间(秒) | 速度 | 内存(MB) | 人脸数 | Embedding |")
|
||||
print("|------|------|---------|------|---------|--------|-----------|")
|
||||
|
||||
for r in results:
|
||||
|
||||
Reference in New Issue
Block a user