Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Compiling parameter optimization method and device and electronic equipment

A technology for compiling parameters and optimizing methods, applied in the computer field, can solve the problems of high tuning cost, poor application running efficiency, and large amount of calculation, and achieve the effect of reducing the cost of tuning, reducing the amount of calculation, and reducing the amount of calculation.

Active Publication Date: 2020-03-31
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The compilation tool has many compilation parameters, and the compilation tool usually configures these compilation parameters according to the default value, resulting in poor running efficiency of the compiled application in the electronic device
[0003] However, the current commonly used compilation parameter tuning method requires a very large amount of calculation, and the tuning cost is high.

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
  • Compiling parameter optimization method and device and electronic equipment
  • Compiling parameter optimization method and device and electronic equipment
  • Compiling parameter optimization method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0022] The source code of the application program needs to be compiled into machine code by a compilation tool before it can be run by the electronic device. For example, the electronic device can optimize the dex file in the APK (Android application package, Android application installation package) to an oat file through the dex2oat program in the compiler, and then compile the oat file into machine code for the electronic device to run. Compilation tools usually have many adjustable compilation parameters, and each compilation parameter can be configured to a different value. In related technologies, the adjustable parameters of the compilation tool are usually confi...

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 compiling parameter optimization method and device and electronic equipment, and relates to the technical field of computers. The method comprises: acquiring multiple parameter value combinations of a target parameter class of a compiling tool, and according to a compiling evaluation result of previous iteration, selecting a parameter value combination enabling the compiling evaluation result to meet a preset optimization condition from the multiple parameter value combinations to serve as a to-be-tested combination of the current iteration; obtaining a compiling result obtained by compiling the target application program by the compiling tool based on the to-be-tested combination of the current iteration, and evaluating the compiling result of the current iteration to obtain a compiling evaluation result of the current iteration; and comparing the compiling evaluation results of multiple iterations, and determining an optimized parameter value combination corresponding to the target parameter class according to the comparison result. Therefore, the better compiling parameter value can be obtained more quickly at a lower cost, so that the target application program compiled by the compiling tool based on the compiling parameter value has higher running efficiency.

Description

technical field [0001] The present application relates to the field of computer technology, and more specifically, to a compilation parameter optimization method, device and electronic equipment. Background technique [0002] Electronic devices need to compile the source code of the application program into machine code through a compiling tool in order to run the application program. The compiling tool has many compiling parameters, and the compiling tool usually configures these compiling parameters according to default values, resulting in poor running efficiency of the compiled application program in the electronic device. [0003] However, the current commonly used compilation parameter tuning methods require a very large amount of calculation, and the tuning cost is high. Contents of the invention [0004] In view of the above problems, the present application proposes a compilation parameter optimization method, device and electronic equipment to improve the above ...

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/30G06F9/445
CPCG06F8/37G06F9/44578Y02D10/00
Inventor 帅朝春
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products