Create performance benchmark for porla container#19
Open
freol35241 wants to merge 1 commit into
Open
Conversation
This commit introduces a complete benchmarking framework for porla to measure and document performance characteristics across various scenarios. New benchmarking infrastructure: - Automated test orchestration with benchmark.sh - Data generation tool for different line lengths - Throughput and latency measurement utilities - ASCII chart generation using plotille library Benchmark scenarios: 1. Baseline throughput (raw bus capacity) 2. Processing pipelines (timestamp, jsonify, b64) 3. Multi-stage bus transfers (2-3 hops) 4. Fan-out performance (multiple readers) 5. Fan-in performance (multiple writers) Key features: - Tests various line lengths (50B to 4KB) - Measures lines/s and bytes/s throughput - Generates ASCII charts for visualization - Includes example results and documentation - Configurable test duration and scenarios - Quick mode for faster testing Documentation updates: - Added comprehensive Performance section to README.md - Included ASCII charts showing throughput characteristics - Provided use case guidelines based on performance data - Created detailed benchmarking/README.md with instructions The benchmarking suite helps users: - Understand porla's performance characteristics - Choose appropriate configurations for their use cases - Benchmark their specific hardware environment - Optimize pipeline designs for throughput requirements Example results show typical performance: - 70k+ lines/s for baseline (200-byte lines) - 60k+ lines/s with timestamp processing - 40k+ lines/s with jsonify processing - Efficient multicast fan-out to 8+ readers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit introduces a complete benchmarking framework for porla to measure and document performance characteristics across various scenarios.
New benchmarking infrastructure:
Benchmark scenarios:
Key features:
Documentation updates:
The benchmarking suite helps users:
Example results show typical performance: