Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Method and device for detecting program performance bottleneck and computer equipment

A technology for testing programs and performance, which is applied in the computer field and can solve problems such as low accuracy in testing program performance bottlenecks

Pending Publication Date: 2021-07-16
AEROSPACE INFORMATION
View PDF16 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method, device, and computer equipment for detecting program performance bottlenecks, which are used to solve the problem of low accuracy in detecting program performance bottlenecks

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for detecting program performance bottleneck and computer equipment
  • Method and device for detecting program performance bottleneck and computer equipment
  • Method and device for detecting program performance bottleneck and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In order to make the purpose, technical solutions and advantages of the application clearer, the technical solutions in the embodiments of the application will be clearly and completely described below in conjunction with the drawings in the embodiments of the application. Obviously, the described embodiments are only It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application. In the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0062] The terms "first", "second" and "third" in the des...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for detecting a program performance bottleneck and computer equipment, which are used for solving the problem of low accuracy of detecting the program performance bottleneck. The method comprises the following steps: when a service request corresponding to a predetermined service class in a target program runs, adding a starting identifier and an ending identifier to a program corresponding to each service method in the predetermined service class; obtaining calling information corresponding to the service request meeting the preset sampling frequency, wherein the calling information at least comprises a method name and obtaining moments of starting identifiers and obtaining moments of ending identifiers corresponding to the service methods respectively; according to the obtaining time of the starting identifier and the obtaining time of the ending identifier corresponding to each service method, determining a calling relation chain of a predetermined service class and the running duration of each service method so as to determine the program performance bottleneck in the target program, wherein the program performance bottleneck is used for representing the program corresponding to the business method with the running time greater than the business method response threshold in the calling relation chain.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method, device and computer equipment for detecting program performance bottlenecks. Background technique [0002] In the prior art, after the programming of the program is completed, the program needs to be tested to optimize the program. [0003] However, in the prior art, when using a test tool to perform a performance test on a program, if it is found that the system resources (such as CPU, memory, etc.) are sufficient and the response time of the function to be tested is too long, and the preset performance index cannot be reached, It can only be determined that the program response time corresponding to a certain business in the program is too long, but it is impossible to accurately locate the response time of each business method in the business, that is, it is impossible to accurately locate the performance bottleneck of the program, resulting in low accuracy of prog...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/34
CPCG06F11/3409G06F11/3419
Inventor 马鹏飞王汉雄
Owner AEROSPACE INFORMATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products