Code compiling duration determination method and device, electronic equipment and storage medium

A technology to determine the method and storage medium, applied in the field of data processing, can solve the problems of long compilation time, slow compilation speed, long code compilation time, etc., and achieve the effect of shortening the compilation time

Pending Publication Date: 2021-08-17
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In related technologies, some codes, such as C++ codes, have the problem of slow compilation speed
One of the codes contains multiple source code files. In related technologies, some tools, such as the cmake tool, can be used to determine the compilation time of each source code file, so that users can determine which source code file causes the overall code compilation time to be too long according to the compilation time.
[0003] However, the current method can only determine the compilation time at the granularity of the source code file, but it is not enough for the user to accurately determine which part of the code in the source code file causes the overall compilation time of the code to be too long

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 compiling duration determination method and device, electronic equipment and storage medium
  • Code compiling duration determination method and device, electronic equipment and storage medium
  • Code compiling duration determination method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0073] It should be noted that the terms "first" and "second" in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consi...

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 relates to a code compiling duration determination method and device, electronic equipment and a storage medium. The method comprises the steps of setting n annotation tags in a to-be-compiled code; obtaining a first part code in front of the ith annotation tag in the n annotation tags and a second part code in front of the jth annotation tag in the n annotation tags; compiling the first part code and the second part code respectively to obtain a first part duration for compiling the first part code and a second part duration for compiling the second part code; and according to a difference value between the second part duration and the first part duration, determining the duration for compiling the target code between the ith annotation tag and the jth annotation tag. According to the embodiment, the annotation tags are arranged in the to-be-compiled codes, so that the duration required for compiling the codes between any two annotation labels can be determined in the code compiling process, and a user can accurately determine the compiling duration required for compiling any part of the codes of the source code file.

Description

technical field [0001] The present disclosure relates to the technical field of data processing, and in particular to a method, a device, an electronic device, and a storage medium for determining a code compilation time length. Background technique [0002] In the related art, some codes, such as C++ codes, have the problem that the compilation speed is too slow. One of the codes contains multiple source code files. In related technologies, some tools, such as the cmake tool, can be used to determine the compilation time of each source code file, so that users can determine which source code file causes the overall code compilation time to be too long according to the compilation time. . [0003] However, the current method can only determine the compilation time at the granularity of the source code file, but it is not enough for the user to accurately determine which part of the code in the source code file causes the overall compilation time of the code to be too long. ...

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): G06F8/41
CPCG06F8/41
Inventor 曹红阳
Owner BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
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
Try Eureka
PatSnap group products