Unlock instant, AI-driven research and patent intelligence for your innovation.

Code tracking method and system thereof

A code and sub-process technology, applied in the field of code tracking method and system for online service code, can solve the problems of complex online service code tracking scheme, inability to intelligently implement performance bottleneck tracking, etc., and achieve performance bottleneck optimization processing Effect

Active Publication Date: 2017-05-24
BEIJING QIHOO TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The main purpose of the present invention is to provide a code tracking method and its system to solve the technical problems in the prior art that the online service code tracking scheme is complex and cannot intelligently realize performance bottleneck tracking

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
  • Code tracking method and system thereof
  • Code tracking method and system thereof
  • Code tracking method and system thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0028] The present invention is used in the code testing stage. Through the shared memory associated with the parent process and the child process, the tracking code is extracted, and the asynchronous process is used to complete the automatic positioning of the program performance bottleneck, and the current stack data is printed out for the child process that has timed out, which is conducive to positioning the Master- The performa...

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 code tracing method and a code tracing system. The method comprises the steps as follows: shared memory is established and stores state information of a plurality of sub-processes; whether current state duration of the sub-processes is overtime is judged according to the state information of the sub-processes stored in the shared memory; and if the duration is overtime, overtime sub-processes are traced by a parent process, and stacking information of the sub-processes is recorded. With the adoption of the code tracing method and the code tracing system, performance bottleneck of on-line service codes can be traced automatically.

Description

technical field [0001] The invention relates to a code tracking method and system thereof, in particular to a code tracking method and system for online service codes. Background technique [0002] The service code can find most of the performance bottlenecks during the test phase and optimize them for performance bottlenecks. However, the online environment is complex and changeable, and various problems may occur after the code goes online. When the quality of service decreases and the delay increases, it is necessary to use a certain method to locate the performance bottleneck and optimize it. [0003] In view of this, when a performance bottleneck occurs in the code, the performance bottleneck is usually initially located, the execution time of the key point is recorded and logged, and then the execution time of the key point is analyzed. If the execution time exceeds the set value, it will be recorded as A log file (Log), and finally locate the performance bottleneck b...

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 Patents(China)
IPC IPC(8): G06F11/36
Inventor 陈飞朱超王超
Owner BEIJING QIHOO TECH CO LTD