How is performance testing different from performance engineering?
Answer
Performance testing is the measurement-and-evaluation activity: model workload, execute tests, collect evidence and compare behavior with objectives. Performance engineering is broader and continuous; it includes architecture, observability, profiling, capacity choices, code and database optimization, infrastructure tuning and design changes intended to achieve performance goals throughout the lifecycle. Testing supplies evidence to that engineering loop.
Strong answer includes
- testing measures and evaluates while engineering also changes the system
- places performance work across the lifecycle rather than only before release
- connects test evidence to profiling, tuning and architecture decisions
Practical example
A load test reveals connection-pool saturation. Performance engineering then changes pool sizing or request behavior, profiles the service, adjusts infrastructure if justified and reruns the same controlled workload to prove the effect.