SlideShare a Scribd company logo
Exploiting Structure and
Behavior of Highly
Configurable Systems to
Measure Performance
Miguel Velez
Software Engineering Ph.D. student
Carnegie Mellon University
Joint work with: Christian Kästner, Pooyan Jamshidi, and
Norbert Siegmund
1
Most software is highly configurable
2
For developers and users
Overwhelmed by choices
Lose track of interactions
Measuring performance in HCS is difficult
3
“For each valid configuration, x is the y you will get”
y = quality attribute x = actual value
In an ideal world
4
Configuration Execution Time
A=0 B=0 C=0 D=0 6s
A=0 B=0 C=1 D=1 6s
A=1 B=0 C=0 D=1 9s
… …
T = 3A + 1AB + 6
Black-Box Approach
5
A B C D T
1 0 0 0 0 6
2 0 0 0 1 6
3 0 0 1 0 6
4 0 0 1 1 6
5 0 1 0 0 6
6 0 1 0 1 6
7 0 1 1 0 6
8 0 1 1 1 6
9 1 0 0 0 9
10 1 0 0 1 9
11 1 0 1 0 9
12 1 0 1 1 9
13 1 1 0 0 10
14 1 1 0 1 10
15 1 1 1 0 10
16 1 1 1 1 10
Black-Box Approach
6
A B C D T
1 0 0 0 0 6
2 0 0 0 1 6
3 0 0 1 0 6
4 0 0 1 1 6
5 0 1 0 0 6
6 0 1 0 1 6
7 0 1 1 0 6
8 0 1 1 1 6
9 1 0 0 0 9
10 1 0 0 1 9
11 1 0 1 0 9
12 1 0 1 1 9
13 1 1 0 0 10
14 1 1 0 1 10
15 1 1 1 0 10
16 1 1 1 1 10
Black-Box Approach
7
A B C D T
1 0 0 0 0 6
2 0 0 0 1 6
3 0 0 1 0 6
4 0 0 1 1 6
5 0 1 0 0 6
6 0 1 0 1 6
7 0 1 1 0 6
8 0 1 1 1 6
9 1 0 0 0 9
10 1 0 0 1 9
11 1 0 1 0 9
12 1 0 1 1 9
13 1 1 0 0 10
14 1 1 0 1 10
15 1 1 1 0 10
16 1 1 1 1 10
Black-Box in practice
8
A B C D T
1 0 0 0 0 6
2 0 0 0 1 6
3 0 0 1 0 6
4 0 0 1 1 6
5 0 1 0 0 6
6 0 1 0 1 6
7 0 1 1 0 6
8 0 1 1 1 6
9 1 0 0 0 9
10 1 0 0 1 9
11 1 0 1 0 9
12 1 0 1 1 9
13 1 1 0 0 10
14 1 1 0 1 10
15 1 1 1 0 10
16 1 1 1 1 10
9
A B C D T
1 0 0 0 0 6
2 0 0 0 1 6
3 0 0 1 0 6
4 0 0 1 1 6
5 0 1 0 0 6
6 0 1 0 1 6
7 0 1 1 0 6
8 0 1 1 1 6
9 1 0 0 0 9
10 1 0 0 1 9
11 1 0 1 0 9
12 1 0 1 1 9
13
1 1 0 0 10
14 1 1 0 1 10
15 1 1 1 0 10
16 1 1 1 1 10
Black-Box in practice
Want to find interactions
Identify what we need to measure
Determine if we do not need to measure all
configurations
Ideally
10
Our Proposal: Exploit Structure and
Behavior of the Program to Measure
Performance
11
White-Box Analysis
12
Determine how options are used
Identify interactions
Compare execution traces based on
configurations
Know if we need to execute all configurations or
subset
What We Can Do With Structure and Behavior
13
Approach: Combine Static Taint Analysis
with Dynamic Analysis
14
Goal
15
Static Taint Analysis
16
Static Taint Analysis
17
Static Taint Analysis
18
Static Taint Analysis
19
Static Taint Analysis
20
Static Taint Analysis
21
Static Taint Analysis
22
Static Taint Analysis
23
Static Taint Analysis
24
Static Taint Analysis
25
Static Taint Analysis
26
Relevant Statements and Options
27
28
Relevant Statements and Options
Dynamic Analysis
29
Transform AST
30
31
Building Performance Table
32
Building Performance Table
33
Building Performance Table
34
Building Performance Table
35
Building Performance Table
36
Building Performance Table
Future Directions
37
C
Java
RQ: How often can we exploit lack of
interactions to measure performance?
Apply in Real Programs
38
Augment Tracking Information
39
Augment Tracking Information
40
Augment Tracking Information
41
• From Black-Box to White-Box
• Static Taint Analysis with Dynamic Analysis
• New pruning strategies in real programs
Summary
42
Miguel Velez
mvelezce@cs.cmu.edu
43
Data-flow Example

More Related Content

PDF
Exploiting Structure and Behavior of Highly Configurable Systems to Measure P...
PPT
Testers Qbit Conference 19.09.2007 Web
PPTX
Aggies Invent - Team CleanSweep
PDF
How to avoid drastic project change (using stochastic stability)
PDF
November 2024 - Top 10 Read Articles in Software Engineering & Applications
PPTX
White box & black box testing
PPTX
Lavenya Testing.pptx
PPTX
white box and black box testing in software engineering
Exploiting Structure and Behavior of Highly Configurable Systems to Measure P...
Testers Qbit Conference 19.09.2007 Web
Aggies Invent - Team CleanSweep
How to avoid drastic project change (using stochastic stability)
November 2024 - Top 10 Read Articles in Software Engineering & Applications
White box & black box testing
Lavenya Testing.pptx
white box and black box testing in software engineering

Similar to Exploiting Structure and Behavior of Highly Configurable Systems to Measure Performance (20)

PPTX
Black box testing
PPTX
SOFTWARE TESTING PRESENTATION .pptx
PPT
Chapter 14 software testing techniques
PPTX
Software Testing (1).pptx
PPTX
presentation_testing_1455044600_187410.pptx
PDF
ConfigCrusher: White-Box Performance Analysis for Configurable Systems
PPT
Dynamic Testing
PPT
Seii unit6 software-testing-techniques
PPT
Newsoftware testing-techniques-141114004511-conversion-gate01
PPTX
Unit - II 19CS408T - Software Testing Notes
PPT
1414_lecturueueueueuueueeueueueuusuee_7.ppt
PPT
ISTQB, ISEB Lecture Notes- 4
PPTX
Black box Testing by Laraib
PPT
Test Techniques
PPT
Software Testing Techniques
PDF
AFLGo: Directed Greybox Fuzzing
PPT
Unit 6
PPTX
Unit2 for st
PPT
Dynamic analysis in Software Testing
PPT
Steven K Allott - Effective Testing - SoftTest Ireland
Black box testing
SOFTWARE TESTING PRESENTATION .pptx
Chapter 14 software testing techniques
Software Testing (1).pptx
presentation_testing_1455044600_187410.pptx
ConfigCrusher: White-Box Performance Analysis for Configurable Systems
Dynamic Testing
Seii unit6 software-testing-techniques
Newsoftware testing-techniques-141114004511-conversion-gate01
Unit - II 19CS408T - Software Testing Notes
1414_lecturueueueueuueueeueueueuusuee_7.ppt
ISTQB, ISEB Lecture Notes- 4
Black box Testing by Laraib
Test Techniques
Software Testing Techniques
AFLGo: Directed Greybox Fuzzing
Unit 6
Unit2 for st
Dynamic analysis in Software Testing
Steven K Allott - Effective Testing - SoftTest Ireland
Ad

Recently uploaded (20)

PDF
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
PDF
Website Design Services for Small Businesses.pdf
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
PDF
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
PPTX
Reimagine Home Health with the Power of Agentic AI​
PPTX
Monitoring Stack: Grafana, Loki & Promtail
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Tally Prime Crack Download New Version 5.1 [2025] (License Key Free
PDF
Salesforce Agentforce AI Implementation.pdf
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
history of c programming in notes for students .pptx
DOCX
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
PDF
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
PDF
Download FL Studio Crack Latest version 2025 ?
PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
PDF
iTop VPN Free 5.6.0.5262 Crack latest version 2025
PPTX
Why Generative AI is the Future of Content, Code & Creativity?
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
Website Design Services for Small Businesses.pdf
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
CHAPTER 2 - PM Management and IT Context
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
Reimagine Home Health with the Power of Agentic AI​
Monitoring Stack: Grafana, Loki & Promtail
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Design an Analysis of Algorithms I-SECS-1021-03
Tally Prime Crack Download New Version 5.1 [2025] (License Key Free
Salesforce Agentforce AI Implementation.pdf
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
history of c programming in notes for students .pptx
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
Download FL Studio Crack Latest version 2025 ?
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
iTop VPN Free 5.6.0.5262 Crack latest version 2025
Why Generative AI is the Future of Content, Code & Creativity?
Ad

Exploiting Structure and Behavior of Highly Configurable Systems to Measure Performance