# US 2023/0068602 A1 · Automated Performance Measurement Over Software Lifecycle

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0068602 A1
- Document ID: US20230068602A1
- Status: Published application
- Kind: A1
- Application number: 17/464,512
- Filed: 2021-09-01
- Published: 2023-03-02
- Earliest claimed: 2021-09-01
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Christian Martick
- Web page: https://patentgrep.com/patent/US20230068602A1

## CPC

- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Embodiments facilitate testing of software functions, by elaborating upon a small volume test sample originally provided by a developer. Where the original test sample is determined to be numerical, embodiments perform repetition techniques to generate corpuses of test data of varying scope representing operation over different timescales. For original test samples of greater complexity (e.g., including text and/or hierarchical output states of the software function), embodiments select a relevant Machine Learning (ML) model and apply that ML model to generate the corpuses of test data. These are then available for loading to measure one or more performance parameters (e.g., runtime, memory consumption; processing consumption; bandwidth) of the software function. Broadly reported non-linear behavior of performance parameter(s) may reveal lack of suitability of the generated data corpuses for testing. More specific non-linear behavior may indicate failure of the software function to pass certain tests.

## Claims

### Claim 1

A method comprising:
receiving first test sample data having a first volume, the first test sample data representing operation of a software function;
applying a technique to the first test sample to generate a second test sample having a second volume larger than the first volume, the second test sample representing operation of the software function over a first timescale;
storing the second test sample in a non-transitory computer readable storage medium for loading to measure a performance parameter of the software function;
receiving a non-linear result of the performance parameter; and
displaying a report indicating the non-linear result.

### Claim 2 (depends on 1)

A method as in claim 1 further comprising:
determining the first test sample data to be exclusively numerical,
wherein applying the technique comprises applying a repetition technique.

### Claim 3 (depends on 1)

A method as in claim 1 further comprising:
determining the first test sample data to not be exclusively numerical; and
selecting a machine learning model based upon the first test sample data,
wherein applying the technique comprises applying the machine learning model to the first test sample data.

### Claim 4 (depends on 3)

A method as in claim 3 wherein:
the non-transitory computer readable storage medium comprises an in-memory database; and
the technique is applied by an in-memory database engine of the in-memory database.

### Claim 5 (depends on 4)

A method as in claim 4 wherein the machine learning model is stored in the in-memory database.

### Claim 6 (depends on 4)

A method as in claim 4 wherein the in-memory database engine measures the performance parameter.

### Claim 7 (depends on 4)

A method as in claim 4 wherein the in-memory database engine determines the first test sample data to not be exclusively numerical.

### Claim 8 (depends on 1)

A method as in claim 1 wherein the performance parameter reflects:
time to execute the software function;
memory consumed by the software function;
processing capacity consumed by the software function; or
bandwidth consumed by the software function.

### Claim 9 (depends on 1)

A method as in claim 1 further comprising:
applying the technique to the first test sample to generate a third test sample having a third volume larger than the second volume; and
storing the third test sample in the non-transitory computer readable storage medium for loading to determine the performance parameter,
wherein the third test sample corresponds to operating the software function over a second timescale longer than the first timescale.

### Claim 10

A non-transitory computer readable storage medium embodying a computer program for performing a method, said method comprising:
receiving first test sample data having a first volume, the first test sample data representing operation of a software function;
applying a technique to the first test sample to generate a second test sample having a second volume larger than the first volume, the second test sample representing operation of the software function over a first timescale;
storing the second test sample in a database for loading to measure a performance parameter of the software function;
receiving a non-linear result of the performance parameter; and
displaying a report indicating the non-linear result.

### Claim 11 (depends on 10)

A non-transitory computer readable storage medium as in claim 10 wherein the method further comprises:
determining the first test sample data to be exclusively numerical,
wherein applying the technique comprises applying a repetition technique.

### Claim 12 (depends on 10)

A non-transitory computer readable storage medium as in claim 10 wherein the method further comprises:
determining the first test sample data to not be exclusively numerical; and
selecting a machine learning model based upon the first test sample data,
wherein applying the technique comprises applying the machine learning model to the first test sample data.

### Claim 13 (depends on 10)

A non-transitory computer readable storage medium as in claim 10 wherein the performance parameter reflects:
time to execute the software function;
memory consumed by the software function;
processing capacity consumed by the software function; or
bandwidth consumed by the software function.

### Claim 14 (depends on 10)

A non-transitory computer readable storage medium as in claim 10 wherein the method further comprises:
applying the technique to the first test sample to generate a third test sample having a third volume larger than the second volume; and
storing the third test sample in the database for loading to determine the performance parameter,
wherein the third test sample corresponds to operating the software function over a second timescale longer than the first timescale.

### Claim 15

A computer system comprising:
one or more processors;
a software program, executable on said computer system, the software program configured to cause an in-memory database engine of an in-memory database to:
receive first test sample data having a first volume, the first test sample data representing operation of a software function;
apply a machine learning technique to the first test sample to generate a second test sample having a second volume larger than the first volume, the second test sample representing operation of the software function over a first timescale;
store the second test sample in the in-memory database for loading to measure a performance parameter of the software function;
receive a non-linear result of the performance parameter; and
display a report indicating the non-linear result.

### Claim 16 (depends on 15)

A computer system as in claim 15 wherein the in-memory database engine is further configured to:
determine the first test sample data to not be exclusively numerical; and
select a machine learning model based upon the first test sample data,
wherein applying the machine learning technique comprises applying the machine learning model to the first test sample data.

### Claim 17 (depends on 16)

A computer system as in claim 16 wherein the machine learning model is stored in the in-memory database.

### Claim 18 (depends on 15)

A computer system as in claim 15 wherein the performance parameter reflects:
time to execute the software function;
memory consumed by the software function;
processing capacity consumed by the software function; or
bandwidth consumed by the software function.

### Claim 19 (depends on 15)

A computer system as in claim 15 wherein the in-memory database engine is further configured to determine the non-linear result.

### Claim 20 (depends on 15)

A computer system as in claim 15 wherein the in-memory database engine is further configured to measure the performance parameter.
