EFFPERF-001 |
Time Complexity |
Nested loops over unbounded slices or maps creating \(O(N^2)\) bottlenecks. |
High |
Prohibited (use index lookups or maps) |
EFFPERF-002 |
Context Deadlines |
Blocking I/O, IPC sockets, or HTTP requests without context timeout/cancellation. |
Critical |
Mandatory context.WithTimeout |
EFFPERF-003 |
Memory Buffers |
Reading unbounded streams via io.ReadAll without size limits. |
High |
Must use io.LimitReader |
EFFPERF-004 |
Channel Leaks |
Unbuffered channels with missing receivers or unbounded buffer growth. |
High |
Bounded worker pools only |