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:
@@ -173,7 +173,7 @@ def main():
|
||||
|
||||
video_stream = next((s for s in video_info["streams"] if s["codec_type"] == "video"), None)
|
||||
|
||||
print(f"\n测试视频:")
|
||||
print("\n测试视频:")
|
||||
print(f" 文件: {float(video_info['format'].get('size', 0)) / 1024 / 1024:.1f} MB")
|
||||
print(f" 时长: {float(video_info['format'].get('duration', 0)):.1f} 秒")
|
||||
print(f" 分辨率: {video_stream.get('width', 0)}x{video_stream.get('height', 0)}")
|
||||
@@ -229,7 +229,7 @@ def main():
|
||||
"file_size_kb": result["file_size_kb"],
|
||||
})
|
||||
|
||||
print(f"\n✅ 处理完成:")
|
||||
print("\n✅ 处理完成:")
|
||||
print(f" 时间: {result['elapsed_time']:.2f}秒")
|
||||
print(f" 内存峰值: {result['peak_memory_mb']:.1f} MB")
|
||||
print(f" 检测帧数: {result['total_frames']}")
|
||||
@@ -266,7 +266,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