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

Code performance evaluation method and device

An evaluation method and code technology, applied in code compilation, program code conversion, software testing/debugging, etc., can solve problems such as inaccurate performance evaluation results of difference codes, and achieve the effect of accurate acquisition

Pending Publication Date: 2021-04-30
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, limited by the impact of environment variables on code performance, the shared code between the development branch code and the mainline branch code may also produce performance differences during the performance evaluation process. Part of the difference in performance is included in the performance evaluation results of the difference codes, so the performance evaluation results of the difference codes obtained in the prior art are inaccurate

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 performance evaluation method and device
  • Code performance evaluation method and device
  • Code performance evaluation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0087] In order to understand the above-mentioned purpose, features and advantages of the present invention more clearly, the solutions of the present invention will be further described below. It should be noted that, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.

[0088] In the following description, many specific details have been set forth in order to fully understand the present invention, but the present invention can also be implemented in other ways different from those described here; obviously, the embodiments in the description are only some embodiments of the present invention, and Not all examples.

[0089] In the embodiments of the present invention, words such as "exemplary" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention shall no...

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 embodiment of the invention provides a code performance evaluation method and device, and relates to the technical field of software development. The method comprises the steps of obtaining difference information of a first code and a second code; generating a first application package and a second application package based on the difference information; wherein the first application package comprises a first instruction set and a probe of each method corresponding to the difference information in the first code, and the second application package comprises a second instruction set and a probe of each method corresponding to the difference information in the second code; the first application program package and the second application program package are operated, a first record file and a second record file are obtained, the first record file comprises calling information of all methods corresponding to the difference information in the first code, and the second record file comprises calling information of all methods corresponding to the difference information in the second code; and outputting a performance evaluation result of the code corresponding to the difference information according to the first record file and the second record file. According to the embodiment of the invention, the performance of different codes is accurately obtained.

Description

technical field [0001] The invention relates to the technical field of software development, in particular to a code performance evaluation method and device. Background technique [0002] At present, the scale and complexity of software are getting higher and higher, and a software project often needs to be developed by multiple people or multiple development teams. Multi-branch development is a development model that can effectively improve development efficiency. In multi-branch development, each branch does not affect each other. The main line branch (master) is a stable code version, which provides a stable and reliable code foundation for iterative development of code. , the development branch is used for new feature development, defect (bug) repair, etc. In addition, in the multi-branch development mode, the code of each development branch needs to be merged with the mainline branch before the code goes online or is released. [0003] When optimizing software perfor...

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
IPC IPC(8): G06F11/36G06F8/41
CPCG06F11/3684G06F8/41Y02D10/00
Inventor 彭云涛
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD