Key takeaway
- How to move from performance testing to performance engineering: goals, golden signals, OpenTelemetry, pipeline checks, trade-offs and a step plan.
Performance testing checks how a system behaves under a defined load, usually shortly before release. Performance engineering treats speed, stability and capacity as design requirements from the first sprint, and keeps measuring them in production. The shift moves performance from a late gate to a shared engineering habit, so problems are found while they are still cheap to fix.
For CTOs, heads of engineering and platform leads, the practical question is what changes in the team, the pipeline and the metrics. This guide builds on our deeper posts on performance testing and performance engineering best practices, and focuses on how to make the move.
What is the difference between performance testing and performance engineering?
Performance testing is a non-functional test activity: apply a workload, measure responsiveness, stability and scalability, and report. Performance engineering is the wider practice of setting performance goals with the business, modelling and measuring them during design and build, and feeding production data back into the next change.
| Area | Performance testing | Performance engineering |
|---|---|---|
| When it happens | Mostly before release, in a test environment | Across design, build, release and production |
| Who owns it | A test or QA specialist | Developers, testers, SREs and product owners together |
| Main question | Does this build pass the load profile? | Will the system meet its goals as it changes and grows? |
| Typical output | A test report with pass or fail | Budgets, dashboards, automated checks and design changes |
| Cost of a finding | Often late, so rework is larger | Earlier, so the fix is usually smaller |
Why should performance move into engineering?
A late test can only tell you that a design choice was wrong after it has been built. Engineering practice asks the question at design time and keeps asking it in production. Google's SRE book makes a related point about monitoring: it says teams do better to spend much more effort on catching symptoms than causes, and it describes black-box monitoring as testing externally visible behaviour as a user would see it. The same book says white-box monitoring, based on metrics exposed by the internals of the system, is essential for debugging (source: Google SRE book, Monitoring Distributed Systems).
For a performance team this means pairing user-facing checks, such as latency on a key journey, with internal metrics that explain why a number moved. You can read more on that split in observability versus monitoring.
Which metrics should an engineering team agree first?
The SRE book names four golden signals for user-facing systems. Starting from these keeps the first dashboard small and meaningful.
| Signal | What it measures (per the SRE book) | How a performance team uses it |
|---|---|---|
| Latency | The time it takes to service a request | Set a target per journey and track it as a distribution |
| Traffic | How much demand is placed on the system | Use it to shape realistic load profiles in tests |
| Errors | The rate of requests that fail | Count explicit, implicit and policy-based failures |
| Saturation | How full the service is | Watch it to see where capacity runs out first |
The same chapter warns that averages can hide slow requests, and recommends looking at the distribution of latency, not only the mean. It also describes the 99th percentile response time over a short window as a very early signal of saturation. Agree percentile targets with product owners rather than a single average.
How does OpenTelemetry help performance engineering?
Performance engineering needs the same telemetry in test and in production. OpenTelemetry documents traces (the path a request takes through your application), metrics (a measurement captured at runtime), logs (a record of an event) and baggage (contextual information passed between signals) as currently supported signals. Its signals page lists events and profiles as under development or at the proposal stage, so check the page before depending on them (source: OpenTelemetry signals).
Traces show which service in a chain adds the delay, which a single load-test number cannot. For a tracing walk-through, see our guide to performance tracing tools.
How do you shift from performance testing to performance engineering?
| Step | What to do | Evidence that it worked |
|---|---|---|
| 1. Set goals | Agree latency, error and saturation targets with product owners for the top journeys | Written targets that engineers can see |
| 2. Build the team | Include developers, testers, SREs and a business owner, so the whole team owns the goals | Named owner per journey |
| 3. Start early | Review design and architecture for performance before code is written | Performance notes in design reviews |
| 4. Automate | Run small, repeatable load checks on each change and larger ones before release | Checks that run in the pipeline without manual steps |
| 5. Instrument | Emit traces, metrics and logs from every service, in test and production | One dashboard for both environments |
| 6. Close the loop | Feed production findings back into tests and design | Fewer late surprises in release reviews |
Run each test more than once in the same environment before trusting a result, and refactor design problems rather than only tuning around them. Tuning can buy time, but a design that cannot meet the goal will return as a problem later.
What are the challenges and trade-offs?
| Challenge | Why it matters | What helps |
|---|---|---|
| Leaders see performance as a test phase | Budget and time are not given during design | Link targets to a business measure, such as a key journey |
| Tool choice | Many load and observability tools overlap | Pick tools that fit your stack and export open telemetry |
| Test environments differ from production | Results may not transfer | Compare against production traces and treat tests as models |
| Added team effort | Engineers take on more responsibility | Start with two or three journeys and grow |
When is a classic performance test still enough? For a small internal tool with stable traffic, a pre-release test and basic monitoring may be all you need. Engineering practice pays off most where traffic, architecture or release speed change often.
What about governance, security and cost?
Telemetry can carry sensitive data, so decide what traces and logs may contain and who may read them. Capacity decisions also have a cost, so review resource use alongside latency targets instead of adding hardware as the first response. Keep each performance target, its owner and the evidence for it in one place so audits and reviews are easy. Teams running AI agents can apply the same discipline: ElixirClaw describes itself as an agentic OS platform to build, orchestrate and govern AI agents and automation workflows while keeping humans in control, and AgentQA describes itself as automated quality assurance for AI.
Decision guide: which approach fits?
| Situation | Approach that fits | Current status to check |
|---|---|---|
| Fixed scope, low change, internal use | Pre-release performance test plus basic monitoring | Confirm load profile still matches use |
| Frequent releases, customer-facing service | Performance engineering with pipeline checks and tracing | Confirm targets per journey exist |
| Many services, hard to find the slow one | Distributed tracing with OpenTelemetry | Confirm signal support on the OpenTelemetry page |
To map one performance decision your teams and agents should make, and the context and policy it depends on, book a Context Workshop. See what happens in the workshop.
FAQ
What is the difference between performance testing and performance engineering?
Performance testing measures a system under a defined load, usually before release. Performance engineering sets performance goals early, measures them through design, build and production, and feeds findings back into the next change.
When should a team start performance engineering?
At the start of a project, when design choices are still cheap to change. It can also begin during a redesign, or by taking two or three important journeys first.
Which metrics should we start with?
The four golden signals in the Google SRE book: latency, traffic, errors and saturation. Track latency as a distribution, not only an average.
Does OpenTelemetry replace load testing?
No. It provides traces, metrics and logs so you can see where time is spent. You still need load tests to create demand and compare results against your targets.
Do we still need performance testing after the shift?
Yes. Tests remain one of the checks. The change is that they run earlier and more often, and their results sit beside production measurements.
Follow XenonStack on LinkedIn: XenonStack on LinkedIn for new guides on agentic AI, data and platform engineering.
Explore the XenonStack platform family: ElixirData · ElixirClaw · ElixirHub · NexaStack · MetaSecure · Neural AI · AgentGRC · AgentSRE · AgentAnalyst · AgentInstruct · AgentRAI · AgentScrum · AgentSearch · AgentForce · AI Aviator · SAIF Aviator · CohortIQ · XenonStack AI · XenonStack UAE