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

Time consumption data determination method and device

A data determination and data technology, which is applied in the computer field, can solve the problems of low accuracy of time-consuming data monitoring, limited use scenarios, and reduced APP running speed, so as to achieve high determination efficiency and automation, improve accuracy, and application scope. wide effect

Pending Publication Date: 2022-06-17
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the method of pre-embedding code can only be implemented in the code development stage, and each time-consuming statistical code needs to be pre-embedded manually one by one, which has the problems of limited usage scenarios and low automation of time-consuming monitoring; while using The TraceView method for time-consuming monitoring will increase the resource consumption of the App when it is running, thereby reducing the running speed of the App, and thus making the accuracy of time-consuming data monitoring lower.

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
  • Time consumption data determination method and device
  • Time consumption data determination method and device
  • Time consumption data determination method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make those skilled in the art better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only Embodiments are part of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0032] It should be noted that the terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used may be interchanged under appro...

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 provides a time consumption data determination method and device. The method comprises the steps of obtaining a target class file corresponding to an application program; obtaining a target method calling chain in the target class file, wherein the target method calling chain comprises a plurality of target methods; inserting target instrumentation data before and after the original data corresponding to the multiple target methods to obtain an instrumented application; and running the instrumented application program, and when the plurality of target methods are called, obtaining time consumption data corresponding to the plurality of target methods. The time consumption data of each target method in the target method chain can be efficiently and accurately determined.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a time-consuming data determination method and device. Background technique [0002] During application (Application, App) development or in the application process, it is necessary to monitor the performance of the application, especially the running speed of the application (ie, time-consuming data). [0003] In the prior art, developers usually pre-embed code in the application source code or use a performance analysis tool (TraceView) to perform time-consuming investigation. However, the method of pre-embedding code can only be implemented in the code development stage, and requires manual pre-embedding of each time-consuming code one by one, which has the problems of limited usage scenarios and low degree of automation of time-consuming monitoring; The method of TraceView for time-consuming monitoring will additionally increase the resource consumption of the ...

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/3423
Inventor 孙栋
Owner TENCENT TECH (SHENZHEN) CO LTD