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:
@@ -21,7 +21,6 @@ import sys
|
||||
import json
|
||||
import time
|
||||
import subprocess
|
||||
import shutil
|
||||
from pathlib import Path
|
||||
from datetime import datetime
|
||||
|
||||
@@ -170,7 +169,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} 秒")
|
||||
@@ -222,7 +221,7 @@ def main():
|
||||
"speed_ratio": speed
|
||||
})
|
||||
|
||||
print(f"\n✅ 处理完成:")
|
||||
print("\n✅ 处理完成:")
|
||||
print(f" 时间: {result['elapsed_time']:.2f}秒")
|
||||
print(f" 速度: {speed:.2f}x 实时倍速")
|
||||
print(f" 内存峰值: {result['peak_memory_mb']:.1f} MB")
|
||||
@@ -259,7 +258,7 @@ def main():
|
||||
print(f"{'=' * 80}")
|
||||
|
||||
print("\n【对比总结】")
|
||||
print(f"\n| 方案 | 脚本 | 时间(秒) | 速度 | 内存(MB) | 物件数 | 类别数 |")
|
||||
print("\n| 方案 | 脚本 | 时间(秒) | 速度 | 内存(MB) | 物件数 | 类别数 |")
|
||||
print("|------|------|---------|------|---------|--------|--------|")
|
||||
|
||||
for r in results:
|
||||
|
||||
Reference in New Issue
Block a user