Vocab
Measurement
The process of quantifying and evaluating the attributes of a software product or process to assess its quality, performance, and progress.
Used to assess key-performance-indicators (KPIs) and metrics
Examples include:
* Time To First Byte (TTFB)
* Peak Response Time
* Throughput
* Error rates
* Resource utilization (e.g., CPU, memory, disk I/O)
Vocab
Metric
Derived from measurements
A standardized unit of measurement that provides a snapshot of the system’s behavior under various loads, scenarios, or conditions.
Why are measurements and metrics necessary?
performance testing
What are the 6 project risks that can occur without well defined measurements and metrics?
Note project vs product risks from the CTFL material
For Fun
Define SMART goals
Helpful for testing and even personal/professional growth
What are the three contextual environments of perf testing?
What are some examples of technical environments?
What are some examples of technical metrics?
See 2.1.2
What are some examples of business metrics?
See 2.1.2
What are some examples of operational metrics?
Things that aren’t user-facing in nature
See 2.1.2
What is the goal-question-metric (GQM) approach to metric selection?
Metrics are associated with each question to ensure the answer is mesurable.
The process may be iterative, as more or better metrics might need to be derived.
Define the “probe effect”
When the metrics collection effort impacts the performance of the system. The effort should no more than minimally impact.
Is it ok to use more than one tool to collect metrics?
Multiple tool usage is common enough, but care must be taken. Redundant metrics might be collected and other problems introduced.
What are 3 sources of performance metrics?
Describe Performance Test Tools
Describe Performance Monitoring Tools
Describe Log Analysis tools
These can scan server logs and compile metrics.
Errors, alerts, and warnings are usually found in server logs. Some of the events recorded are:
* High resource usage
* Memory errors and warnings
* Deadlocks and multithreading issues (especially for databases)
* Database errors
Difference between functional and non-functional (performance) test requirements?
Performance requirements usually aren’t directly articulated by the business the way functional requirements are.
Additionally, performance issues can be hidden under seemingly good results, such as resourcing issues.
Results from performance tests will always rely on the context and type of test being run.