video_editing_poc/docs/worker-cpu-disk-benchmark-b...

26 lines
764 B
Markdown

# Worker CPU/Disk Benchmark Baseline
Methodology:
- Synchronous `ClipProcessor` execution
- In-memory repository and object storage adapter
- Stub clipper implementation
- 600-second source duration
- 8-second segment duration
- Local file cleanup disabled during measurement
Rerun command:
```bash
mvn -q -Dtest=WorkerBenchmarkHarness test
```
Generated report source:
- `target/benchmarks/worker-cpu-disk-benchmark.md`
Baseline results:
| Scenario | Mode | Source Seconds | Segment Seconds | Clip Count | Wall ms | CPU ms | Local Output Bytes | Uploaded Output Bytes |
| --- | --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: |
| fast | FAST | 600 | 8 | 75 | 78.57 | 77.42 | 2625 | 2625 |
| exact | EXACT | 600 | 8 | 75 | 80.81 | 55.93 | 2625 | 2625 |