-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
enhancementNew feature or requestNew feature or requesthacktoberfestIssues perfect for Hacktoberfest contributionsIssues perfect for Hacktoberfest contributions
Description
Description
Create performance benchmarks using criterion.rs for different image sizes and scenarios to measure and track oci2git performance over time.
Tasks
- Add criterion.rs dependency and benchmark setup
- Create
benches/directory with benchmark tests - Benchmark different image sizes (small <100MB, medium 100MB-1GB, large >1GB)
- Benchmark different image types (Alpine, Ubuntu, multi-stage builds)
- Benchmark different container engines (docker, nerdctl, tar)
- Add memory usage profiling
- Create performance regression testing
- Generate benchmark reports and documentation
Skills Required
- Rust programming
- criterion.rs benchmarking framework
- Performance analysis and profiling
- Statistical analysis of benchmark results
Benchmark Categories
- Image Processing Speed: Time to convert images of different sizes
- Memory Usage: Peak memory consumption during processing
- Engine Comparison: Performance differences between docker/nerdctl/tar
- Git Operations: Time spent on Git repository creation and commits
- I/O Performance: File system operations and temporary data handling
Files to Create
benches/image_processing.rs- Main image processing benchmarksbenches/engine_comparison.rs- Container engine performance comparisonbenches/memory_usage.rs- Memory profiling benchmarks
Test Images for Benchmarking
- Small:
alpine:latest(~5MB) - Medium:
ubuntu:latest(~70MB) - Large:
node:latest(~1GB) - Complex: Multi-stage build images
Expected Deliverables
- Automated benchmark suite
- Performance baseline documentation
- CI integration for performance regression detection
This is an intermediate task perfect for Hacktoberfest! 🎃
Hacktoberfest 2025 🍂
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthacktoberfestIssues perfect for Hacktoberfest contributionsIssues perfect for Hacktoberfest contributions