Skip to content

Enhance documentation, add in-memory GIF scanning, and update benchmarks#1

Merged
ehewes merged 6 commits into
mainfrom
ehewes/pyframe-scale
Jun 6, 2026
Merged

Enhance documentation, add in-memory GIF scanning, and update benchmarks#1
ehewes merged 6 commits into
mainfrom
ehewes/pyframe-scale

Conversation

@ehewes

@ehewes ehewes commented Jun 6, 2026

Copy link
Copy Markdown
Owner

No description provided.

ehewes added 6 commits June 5, 2026 11:28
Add a new docs/ folder with `docs/output.md` (full `ScanResult` JSON schema) and `docs/README.md` linking the docs. Update README.md to add PyPI/CI badges and a Documentation section pointing to the new output reference. Adjust pyproject.toml sdist build settings: replace `include` with `only-include` and update the listed files to ensure `src/pyframe`, `tests`, `README.md`, and `LICENSE` are packaged.
Introduce an in-memory GIF/image scanning path: add iter_frames_from_bytes and scan_bytes so GIFs can be decoded and scanned without touching disk. Expose Scanner.scan_bytes and Pipe.scan_bytes, update package exports and README with usage example, and add a unit test for in-memory decoding. Remove the save_frames option and its related CLI/config/Scanner side-effect (frame-saving was removed). Also add two benchmarking scripts (bench_decode.py, bench_gifs.py) and ignore bench_results.jsonl in .gitignore.
Add a new performance guide and tooling: create docs/performance.md and link it from docs/README.md; add media/perf_stages.png and media/perf_latency.png. Introduce scripts/bench_gifs.py (capacity-planning benchmark that runs the real GIF moderation path, synthesizes a corpus if needed, stubs AWS precise calls and emits bench_results.jsonl) and scripts/plot_results.py (generates the two performance charts from the JSONL). This change documents per-stage timing, throughput/latency results, and provides reproducible benchmark + plotting utilities.
Add links and badges pointing to eden.report/docs from README and in-repo docs (README.md, docs/README.md, docs/output.md, docs/performance.md) to surface the live/annotated pipeline documentation. Remove legacy benchmarking and plotting utilities (scripts/bench_gifs.py and scripts/plot_results.py).
@ehewes ehewes merged commit 543b32a into main Jun 6, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant