Pipeline.Streaming.PerformanceAnalyzer (PipelineEx v0.1.1)
View SourceAnalyzes streaming performance and provides optimization recommendations.
This module hooks into the streaming pipeline to collect detailed metrics and identify bottlenecks or optimization opportunities.
Summary
Functions
Analyze all completed streams and generate recommendations.
Compare streaming vs non-streaming performance.
Complete a stream and move it to completed list.
Get performance report for all streams.
Identify bottlenecks in streaming performance.
Start a new performance analyzer.
Record a message in an active stream.
Start tracking a new stream.
Types
@type t() :: %Pipeline.Streaming.PerformanceAnalyzer{ active_streams: map(), completed_streams: [Pipeline.Monitoring.StreamingMetrics.t()], performance_issues: [map()], recommendations: [String.t()] }
Functions
Analyze all completed streams and generate recommendations.
@spec compare_modes([Pipeline.Monitoring.StreamingMetrics.t()], [map()]) :: map()
Compare streaming vs non-streaming performance.
Complete a stream and move it to completed list.
Get performance report for all streams.
Identify bottlenecks in streaming performance.
@spec new() :: t()
Start a new performance analyzer.
Record a message in an active stream.
Start tracking a new stream.