# Bottleneck Analysis

Record: `arch:bottleneck-analysis`
Kind: activity
Layer: [Performance Core](https://banes-lab.com/records/layer/performance-core.md)
Severity: recommended
Scope: code path, system
Canonical: https://banes-lab.com/ontology#arch-bottleneck-analysis

## Repair

- Refactored by: Remove Bottleneck, Parallelize, Cache
- Detected by: performance work without hotspot evidence
- Violated by: optimizing non-bottleneck code
- Measured by: bottleneck contribution percentage
- Enforced by: performance review

## requires

- [Profiling](https://banes-lab.com/records/arch/profiling.md)
- [Metrics](https://banes-lab.com/records/lex/metrics.md)

## reinforces

- [Optimization](https://banes-lab.com/records/arch/optimization.md)

## enables

- [Targeted Improvement](https://banes-lab.com/records/lex/targeted-improvement.md)

## conflicts-with

- [Local Micro-Optimization](https://banes-lab.com/records/lex/local-micro-optimization.md)

## tensions-with

- [Distributed Complexity](https://banes-lab.com/records/lex/distributed-complexity.md)

## tensions

- [Bottleneck Analysis Distributed Complexity](https://banes-lab.com/records/tension/bottleneck-analysis-distributed-complexity.md)
