# US 2023/0155916 A1 · Accurately identifying execution time of performance test

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

- Number: US 2023/0155916 A1
- Document ID: US20230155916A1
- Status: Published application
- Kind: A1
- Application number: 17/985,066
- Filed: 2022-11-10
- Published: 2023-05-18
- Earliest claimed: 2021-11-18
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Bo Shen; Yao Dong Liu; Jing James Xu; Lei Gao; Yan Liu
- Web page: https://patentgrep.com/patent/US20230155916A1

## CPC

- H04L 43/50: Testing arrangements
- G06F 17/18: for evaluating statistical data {, e.g. average values, frequency distributions, probability functions, regression analysis (forecasting specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- H04L 41/145: {involving simulating, designing, planning or modelling of a network}
- H04L 41/147: for predicting network behaviour
- H04L 43/0817: by checking functioning
- H04L 43/0852: Delays
- H04L 43/0864: Round trip delays
- H04L 43/045: for graphical visualisation of monitoring data
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method, system and computer program product for accurately identifying an execution time of a performance test. Network latency data is grouped into clustered groups of network latency data. Furthermore, the performance test execution times for the same group of performance tests run in the local and remote cluster environments are obtained. The test execution times impacted by network latency (compensation times) are then determined based on such obtained performance test execution times in the local and remote cluster environments. Such compensation times are then grouped into clustered groups of compensation times. A regression model is built to predict a performance test execution time impacted by network latency (compensation time) using the clustered groups of network latency data and compensation times. The execution time of a performance test run in the remote cluster environment is then generated that takes into consideration the compensation time predicted by the regression model.

## Claims

### Claim 1

A computer-implemented method for accurately identifying an execution time of a performance test, the method comprising:
determining compensation times based on obtained performance test execution times for a group of performance tests run in a remote cluster environment and obtained performance test execution times for said group of performance tests run in a local cluster environment, wherein each of said compensation times comprises a test execution time impacted by network latency;
grouping said compensation times into clustered groups of compensation times using a cluster algorithm;
building a regression model to predict a performance test execution time impacted by network latency using said clustered groups of compensation times; and
generating said execution time of said performance test run in said remote cluster environment that takes into consideration said performance test execution time impacted by network latency predicted by said regression model.

### Claim 2 (depends on 1)

The method as recited in claim 1 further comprising:
collecting network latency data during different periods of time; and
grouping said collected network latency data using a second cluster algorithm into clustered groups of network latency data.

### Claim 3 (depends on 2)

The method as recited in claim 2 further comprising:
building said regression model to predict said performance test execution time impacted by network latency using said clustered groups of network latency data and said clustered groups of compensation times.

### Claim 4 (depends on 1)

The method as recited in claim 1 further comprising:
collecting an execution time of said performance test run in said remote cluster environment.

### Claim 5 (depends on 4)

The method as recited in claim 4 further comprising:
predicting an amount of execution time of said performance test impacted by network latency using said regression model.

### Claim 6 (depends on 5)

The method as recited in claim 5 further comprising:
generating said execution time of said performance test by subtracting said amount of execution time of said performance test impacted by network latency from said execution time of said performance test run in said remote cluster environment.

### Claim 7 (depends on 1)

The method as recited in claim 1 further comprising:
collecting a real-time network latency when running said performance test in said remote cluster environment; and
predicting an amount of execution time of said performance test impacted by network latency using said regression model using said collected real-time network latency.

### Claim 8

A computer program product for accurately identifying an execution time of a performance test, the computer program product comprising one or more computer readable storage mediums having program code embodied therewith, the program code comprising programming instructions for:
determining compensation times based on obtained performance test execution times for a group of performance tests run in a remote cluster environment and obtained performance test execution times for said group of performance tests run in a local cluster environment, wherein each of said compensation times comprises a test execution time impacted by network latency;
grouping said compensation times into clustered groups of compensation times using a cluster algorithm;
building a regression model to predict a performance test execution time impacted by network latency using said clustered groups of compensation times; and
generating said execution time of said performance test run in said remote cluster environment that takes into consideration said performance test execution time impacted by network latency predicted by said regression model.

### Claim 9 (depends on 8)

The computer program product as recited in claim 8, wherein the program code further comprises the programming instructions for:
collecting network latency data during different periods of time; and
grouping said collected network latency data using a second cluster algorithm into clustered groups of network latency data.

### Claim 10 (depends on 9)

The computer program product as recited in claim 9, wherein the program code further comprises the programming instructions for:
building said regression model to predict said performance test execution time impacted by network latency using said clustered groups of network latency data and said clustered groups of compensation times.

### Claim 11 (depends on 8)

The computer program product as recited in claim 8, wherein the program code further comprises the programming instructions for:
collecting an execution time of said performance test run in said remote cluster environment.

### Claim 12 (depends on 11)

The computer program product as recited in claim 11, wherein the program code further comprises the programming instructions for:
predicting an amount of execution time of said performance test impacted by network latency using said regression model.

### Claim 13 (depends on 12)

The computer program product as recited in claim 12, wherein the program code further comprises the programming instructions for:
generating said execution time of said performance test by subtracting said amount of execution time of said performance test impacted by network latency from said execution time of said performance test run in said remote cluster environment.

### Claim 14 (depends on 8)

The computer program product as recited in claim 8, wherein the program code further comprises the programming instructions for:
collecting a real-time network latency when running said performance test in said remote cluster environment; and
predicting an amount of execution time of said performance test impacted by network latency using said regression model using said collected real-time network latency.

### Claim 15

A system, comprising:
a memory for storing a computer program for accurately identifying an execution time of a performance test; and
a processor connected to said memory, wherein said processor is configured to execute program instructions of the computer program comprising:
determining compensation times based on obtained performance test execution times for a group of performance tests run in a remote cluster environment and obtained performance test execution times for said group of performance tests run in a local cluster environment, wherein each of said compensation times comprises a test execution time impacted by network latency;
grouping said compensation times into clustered groups of compensation times using a cluster algorithm;
building a regression model to predict a performance test execution time impacted by network latency using said clustered groups of compensation times; and
generating said execution time of said performance test run in said remote cluster environment that takes into consideration said performance test execution time impacted by network latency predicted by said regression model.

### Claim 16 (depends on 15)

The system as recited in claim 15, wherein the program instructions of the computer program further comprise:
collecting network latency data during different periods of time; and
grouping said collected network latency data using a second cluster algorithm into clustered groups of network latency data.

### Claim 17 (depends on 16)

The system as recited in claim 16, wherein the program instructions of the computer program further comprise:
building said regression model to predict said performance test execution time impacted by network latency using said clustered groups of network latency data and said clustered groups of compensation times.

### Claim 18 (depends on 15)

The system as recited in claim 15, wherein the program instructions of the computer program further comprise:
collecting an execution time of said performance test run in said remote cluster environment.

### Claim 19 (depends on 18)

The system as recited in claim 18, wherein the program instructions of the computer program further comprise:
predicting an amount of execution time of said performance test impacted by network latency using said regression model.

### Claim 20 (depends on 19)

The system as recited in claim 19, wherein the program instructions of the computer program further comprise:
generating said execution time of said performance test by subtracting said amount of execution time of said performance test impacted by network latency from said execution time of said performance test run in said remote cluster environment.
