CN103488569A - Method and device for testing performance of electronic equipment - Google Patents

Method and device for testing performance of electronic equipment Download PDF

Info

Publication number
CN103488569A
CN103488569A CN201310462144.4A CN201310462144A CN103488569A CN 103488569 A CN103488569 A CN 103488569A CN 201310462144 A CN201310462144 A CN 201310462144A CN 103488569 A CN103488569 A CN 103488569A
Authority
CN
China
Prior art keywords
performance
test
execution result
result
execution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310462144.4A
Other languages
Chinese (zh)
Other versions
CN103488569B (en
Inventor
蔡旋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING ANTUTU TECHNOLOGY Co Ltd
Original Assignee
BEIJING ANTUTU TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING ANTUTU TECHNOLOGY Co Ltd filed Critical BEIJING ANTUTU TECHNOLOGY Co Ltd
Priority to CN201310462144.4A priority Critical patent/CN103488569B/en
Publication of CN103488569A publication Critical patent/CN103488569A/en
Priority to PCT/CN2014/087717 priority patent/WO2015043527A1/en
Application granted granted Critical
Publication of CN103488569B publication Critical patent/CN103488569B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • G06F11/3612Software analysis for verifying properties of programs by runtime analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method and a device for testing the performance of electronic equipment. The method for testing the performance of the electronic equipment comprises the steps of obtaining a test beginning instruction, responding to the test beginning instruction and respectively testing items to be tested, wherein the items to be tested at least comprise the virtual machine performance and the multi-task performance. Testing of the items to be tested comprises the steps of executing testing of the virtual machine performance, obtaining a first execution result, determining a first testing result corresponding to the virtual machine performance according to the first execution result, executing testing of the multi-task performance after the first execution result is obtained, obtaining a second execution result, and determining a second testing result corresponding to the multi-task performance according to the second execution result. According to the scheme, through the reasonable item testing sequences, the testing accuracy of the electronic equipment can be improved.

Description

The method of testing of electronic equipment performance and device
Technical field
The present invention relates to the electronic equipment field tests, particularly a kind of method of testing of electronic equipment performance and device.
Background technology
Along with science and technology development at full speed, various electronic equipments constantly enrich and have facilitated popular life.Owing to utilizing the electronic equipment process information to there is the advantages such as convenient and swift, saving resource, make electronic equipment become an indispensable part in people's life or work.
Wherein, the spread in performance of the electronic equipment of different type of machines is uneven, therefore, for the performance that the user fully understands electronic equipment, need to be tested the performance of electronic equipment.In prior art, run minute test to realize performance test by the performance testing software, concrete test process is: be the corresponding test procedure of each project implementation to be tested, thereby determine the test result of project according to execution result, and then determine the test result of electronic equipment performance.
But, the item of hardware that existing method of testing is tested is less, only test a kind of several frequently seen item of hardware of or minority, and do not consider influencing each other of each project in the practical application scene in test process, cause reacting really the performance of electronic equipment, cause the most at last determined test result not accurate enough.
Visible, the test accuracy that how to improve the electronic equipment performance is a problem demanding prompt solution.
Summary of the invention
Based on the problems referred to above, the embodiment of the invention discloses a kind of method of testing and device of electronic equipment performance, to improve the test accuracy of electronic equipment performance.Technical scheme is as follows:
First aspect, the embodiment of the present invention provides a kind of method of testing of electronic equipment performance, comprising:
Obtain and start test instruction;
Respond described beginning test instruction, respectively project to be tested is tested, described project to be tested at least comprises: virtual machine performance, multitask performance;
Wherein, describedly respectively project to be tested is tested and is comprised:
Carry out the test of described virtual machine performance, obtain the first execution result, according to described the first execution result, determine the first test result that described virtual machine performance is corresponding;
After obtaining described the first execution result, carry out the test of described multitask performance, obtain the second execution result, and, according to described the second execution result, determine the second test result that described multitask performance is corresponding.
Optionally, described project to be tested also comprises: CPU integer arithmetic performance;
After obtaining described the first execution result, carry out the test of described CPU integer performance, obtain the 3rd execution result, and, according to described the 3rd execution result, determine the 3rd test result that described CPU integer performance is corresponding.
Optionally, described project to be tested also comprises: CPU floating point arithmetic performance;
After obtaining described the first execution result, carry out the test of described CPU floating point arithmetic performance, obtain the 4th execution result, and, according to described the 4th execution result, determine the 4th test result that described CPU floating point arithmetic performance is corresponding.
Optionally, described project to be tested also comprises: the RAM operational performance;
After obtaining described the first execution result, carry out the test of described RAM operational performance, obtain the 5th execution result, and, according to described the 5th execution result, determine the 5th test result that described RAM operational performance is corresponding.
Optionally, described project to be tested also comprises: the RAM read or write speed;
After obtaining described the first execution result, carry out the test of described RAM read or write speed, obtain the 6th execution result, and, according to described the 6th execution result, determine the 6th test result that described RAM read or write speed is corresponding.
Optionally, after obtaining described the 3rd execution result and described the 4th execution result, carry out the test of described RAM operational performance, obtain the 5th execution result, and, according to described the 5th execution result, determine the 5th test result that described RAM operational performance is corresponding;
After obtaining described the 3rd execution result and described the 4th execution result, carry out the test of described RAM read or write speed, obtain the 6th execution result, and, according to described the 6th execution result, determine the 6th test result that described RAM read or write speed is corresponding;
After obtaining described the 5th execution result and described the 6th execution result, carry out the test of described multitask performance, obtain the second execution result, and, according to described the second execution result, determine the second test result that described multitask performance is corresponding.
Optionally, described project to be tested also comprises: the 2D drawing performance of GPU;
After obtaining described the second execution result, carry out the test of the 2D drawing performance of described GPU, obtain the 7th execution result, and, according to described the 7th execution result, determine the 7th test result corresponding to 2D drawing performance of described GPU.
Optionally, described project to be tested also comprises: the 3D drawing performance of GPU;
After obtaining described the second execution result, carry out the test of the 3D drawing performance of described GPU, obtain the 8th execution result, and, according to described the 8th execution result, determine the 8th test result corresponding to 3D drawing performance of described GPU.
Optionally, described project to be tested also comprises: database I/O performance;
After obtaining described the second execution result, carry out the test of described database I/O performance, obtain the 9th execution result, and, according to described the 9th execution result, determine the 9th test result that described database I/O performance is corresponding.
Optionally, described project to be tested also comprises: memory performance;
After obtaining described the second execution result, carry out the test of described memory performance, obtain the tenth execution result, and, according to described the tenth execution result, determine the tenth test result that described memory performance is corresponding.
Optionally, described reservoir performance for storer comprise: SD card and/or EMMC.
Optionally, described project to be tested also comprises: display performance;
After obtaining described the first execution result, carry out the test of described display performance, obtain the 11 execution result, and, according to described the 11 execution result, determine the 11 test result that described display performance is corresponding.
Optionally, described project to be tested also comprises: browser performance;
After obtaining described the first execution result, carry out the test of described browser performance, obtain the 12 execution result, and, according to described the 12 execution result, determine the 12 test result that described browser performance is corresponding.
The method of testing of the electronic equipment performance that optionally, the embodiment of the present invention provides also comprises:
By the processing of classifying of the project of carrying out test, and the test result of sorted each project is presented under corresponding classification logotype.
Optionally, the described project processing of classifying that will carry out test, and test result corresponding to sorted each project is presented under corresponding classification logotype, comprising:
Described virtual machine performance and described multitask performance are defined as to a class, and corresponding the first test result and the second test result corresponding to described multitask performance is presented under the classification logotype for showing the user experience energy by described virtual machine performance;
Described CPU integer arithmetic performance and CPU floating point arithmetic performance are defined as to a class, and corresponding the 3rd test result and the 4th test result corresponding to described CPU floating point arithmetic performance is presented under the classification logotype for meaning cpu performance by described CPU integer arithmetic performance;
Described RAM operational performance and described RAM read or write speed are defined as to a class, and corresponding the 5th test result and the 6th test result corresponding to described RAM read or write speed is presented under the classification logotype for showing the RAM performance by described RAM operational performance;
The 3D drawing performance of the 2D drawing performance of described GPU and described GPU is defined as to a class, and corresponding the 7th test result and the 8th test result corresponding to 3D drawing performance of described GPU are presented under the classification logotype for showing the GPU performance by the 2D drawing performance of described GPU;
Described database I/O performance and described memory performance are defined as to a class, and corresponding the 9th test result and the tenth test result corresponding to described memory performance is presented under the classification logotype for showing memory property by described database I/O performance.
Second aspect, the embodiment of the present invention also provides a kind of proving installation of electronic equipment performance, comprising:
Test instruction obtains module, for obtaining the beginning test instruction;
The test instruction respond module, for responding described beginning test instruction, tested project to be tested respectively, and described project to be tested at least comprises: virtual machine performance, multitask performance;
Described test instruction respond module comprises:
The first implementation sub-module, for carrying out the test of described virtual machine performance, obtain the first execution result;
The first test result is determined submodule, for according to described the first execution result, determines the first test result that described virtual machine performance is corresponding;
The second implementation sub-module, for after obtaining described the first execution result, carry out the test of described multitask performance, obtains the second execution result;
The second test result is determined submodule, for according to described the second execution result, determines the second test result that described multitask performance is corresponding.
Optionally, described test instruction respond module also comprises:
The 3rd implementation sub-module, for after obtaining described the first execution result, carry out the test of CPU integer performance, obtains the 3rd execution result;
The 3rd test result is determined submodule, for according to described the 3rd execution result, determines the 3rd test result that described CPU integer performance is corresponding.
Optionally, described test instruction respond module also comprises:
The 4th implementation sub-module, for after obtaining described the first execution result, carry out the test of CPU floating point arithmetic performance, obtains the 4th execution result;
The 4th test result is determined submodule, for according to described the 4th execution result, determines the 4th test result that described CPU floating point arithmetic performance is corresponding.
Optionally, described test instruction respond module also comprises:
The 5th implementation sub-module, for after obtaining described the first execution result, carry out the test of RAM operational performance, obtains the 5th execution result;
The 5th test result is determined submodule, for according to described the 5th execution result, determines the 5th test result that described RAM operational performance is corresponding.
Optionally, described test instruction respond module also comprises:
The 6th implementation sub-module, for after obtaining described the first execution result, carry out the test of RAM read or write speed, obtains the 6th execution result;
The 6th test result is determined submodule, for according to described the 6th execution result, determines the 6th test result that described RAM read or write speed is corresponding.
Optionally, described the 5th implementation sub-module, for after obtaining described the 3rd execution result and described the 4th execution result, carry out the test of RAM operational performance, obtains the 5th execution result;
The 5th test result is determined submodule, for according to described the 5th execution result, determines the 5th test result that described RAM operational performance is corresponding;
The 6th implementation sub-module, for after obtaining described the 3rd execution result and described the 4th execution result, carry out the test of RAM read or write speed, obtains the 6th execution result;
The 6th test result is determined submodule, for according to described the 6th execution result, determines the 6th test result that described RAM read or write speed is corresponding;
The second implementation sub-module, for after obtaining described the 5th execution result and described the 6th execution result, carry out the test of described multitask performance, obtains the second execution result;
The second test result is determined submodule, for according to described the second execution result, determines the second test result that described multitask performance is corresponding.
Optionally, described test instruction respond module also comprises:
The 7th implementation sub-module, for after obtaining described the second execution result, carry out the test of the 2D drawing performance of GPU, obtains the 7th execution result;
The 7th test result is determined submodule, for according to described the 7th execution result, determines the 7th test result corresponding to 2D drawing performance of GPU.
Optionally, described test instruction respond module also comprises:
The 8th implementation sub-module, for after obtaining described the second execution result, carry out the test of the 3D drawing performance of GPU, obtains the 8th execution result;
The 8th test result is determined submodule, for according to described the 8th execution result, determines the 8th test result corresponding to 3D drawing performance of described GPU.
Optionally, described test instruction respond module also comprises:
The 9th implementation sub-module, for after obtaining described the second execution result, the test of performing database I/O performance, obtain the 9th execution result;
The 9th test result is determined submodule, for according to described the 9th execution result, determines the 9th test result that described database I/O performance is corresponding.
Optionally, described test instruction respond module also comprises:
The tenth implementation sub-module, for after obtaining described the second execution result, the test of execute store performance, obtain the tenth execution result;
The tenth test result is determined submodule, for according to described the tenth execution result, determines the tenth test result that described memory performance is corresponding.
Optionally, described test instruction respond module also comprises:
The 11 implementation sub-module, for after obtaining described the first execution result, carry out the test of display performance, obtains the 11 execution result;
The 11 test result is determined submodule, for according to described the 11 execution result, determines the 11 test result that described display performance is corresponding.
Optionally, described test instruction respond module also comprises:
The 12 execution module, for after obtaining described the first execution result, carry out the test of browser performance, obtains the 12 execution result;
The 12 test result is determined submodule, for according to described the 12 execution result, determines the 12 test result that described browser performance is corresponding.
The proving installation of a kind of electronic equipment performance that optionally, the embodiment of the present invention provides also comprises:
The classification display module, for carrying out the project of the testing processing of classifying, and be presented at the test result of sorted each project under corresponding classification logotype.
In this programme, in the test process of electronic equipment performance, at first carry out the test of virtual machine performance, avoid owing to first testing the sundry item performance to survey again virtual machine performance consume system resources, system temperature rising, system to reduce the distribution to resource, finally caused the inaccurate problem of test of virtual machine performance; And, test multitask performance, can embody task scheduling ability and the resource allocation of electronic equipment, and the hardware performance of the integral body of electronic equipment, thereby further simulated the actual service condition of user, can embody the user experience energy of electronic equipment, make test result have more referential and application value.Visible, in this programme, by rational project testing order, can improve the test accuracy of electronic equipment performance; And, in this programme, can be tested a plurality of projects of electronic equipment, thus can comparatively true performance of comprehensively reacting electronic equipment.
The accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The first process flow diagram of the method for testing of a kind of electronic equipment performance that Fig. 1 provides for the embodiment of the present invention;
The second process flow diagram of the method for testing of a kind of electronic equipment performance that Fig. 2 provides for the embodiment of the present invention;
The structural representation of the proving installation of a kind of electronic equipment performance that Fig. 3 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
In order to improve the test accuracy of electronic equipment performance, method of testing and the device of a kind of electronic equipment performance that the embodiment of the present invention provides.Wherein, electronic equipment can also be the intelligent terminals such as intelligent television for mobile devices such as mobile phone, desk-top computer, notebook computer, panel computers, certainly, can also be other electronic equipments that are provided with CPU and RAM, and the present invention does not do restriction to this.
The method of testing of a kind of electronic equipment the performance below at first embodiment of the present invention provided is introduced.
It should be noted that, the method for testing of the electronic equipment performance that the embodiment of the present invention provides is applicable in electronic equipment, and wherein, in order to test the performance of this electronic equipment, the project of required test at least comprises: virtual machine performance, the multitask performance, certainly, can also comprise other project, for example: CPU(Central Processing Unit, central processing unit) performance (as: CPU integer arithmetic performance, CPU floating point arithmetic performance etc.), RAM (random access memory, random access memory) performance (as: RAM operational performance, RAM read or write speed etc.), GPU(Graphic Processing Unit, graphic process unit) performance (as: the 2D drawing performance of GPU, the 3D drawing performance of GPU etc.), database I/O(input/output, input/output port) performance, memory performance (as: EMMC (Embedded Multi Media Card, embedded storer) performance, SD card (Secure Digital Memory Card, safe digital card) performance etc.), display performance, at least one in browser performance.
As shown in Figure 1, a kind of method of testing of electronic equipment performance can comprise:
S101, obtain and start test instruction;
Generally, when needing the performance of test electronic, the user can send the beginning test instruction to electronic equipment, and this electronic equipment is after receiving the beginning test instruction, can respond this and start test instruction, and then carry out follow-up step S102-step S105, respectively project to be tested is tested.
S102, carry out the test of virtual machine performance, obtains the first execution result;
S103, according to this first execution result, determine the first test result that this virtual machine performance is corresponding;
Test again virtual machine performance and can bring that consume system resources, system temperature rise, system reduces the problems such as distribution to resources of virtual machine owing to first testing the sundry item performance, finally cause accurately testing virtual machine performance, therefore, in order to improve the accuracy of test result, during in response, this starts the test process of test instruction, at first carry out the test of this virtual machine performance, obtain the first execution result, and then according to this first execution result, determine the first test result that this virtual machine performance is corresponding, thereby complete the test to this virtual machine performance.For example, be understandable that, for the Andriod system platform, this virtual machine is the Dalvik virtual machine, in this step, will measure the Dalvik virtual machine performance, and for the other system platform, this virtual machine can be other virtual machine, for example the JAVA virtual machine, will measure the JAVA virtual machine performance in this step so, and the present invention does not do restriction at this.
It should be noted that, carry out the program that test procedure that the test of virtual machine performance utilizes can be write for the algorithm according to existing algorithm or designed, designed, this is all rational; And, can carry out a test procedure and test virtual machine performance, now, obtain first execution result, also can carry out at least two test procedures and test virtual machine performance, now, obtain at least two the first execution results.
And, it will be understood by those skilled in the art that, because the time that the height of performance moves by program usually embodies, the time of program operation is shorter, the read-me travelling speed is faster, and then the explanation performance is higher, therefore, this first execution result and each follow-up execution result can be the execution time of test procedure usually, certainly are not limited to this.
For example, the situation that was the first execution time based on the first execution result, when obtaining first execution result, according to this first execution result, determine the first test result that virtual machine performance is corresponding, can be in the following way:
Can from the corresponding relation of the execution time relevant to virtual machine performance and mark, determine the first mark that the first execution result is corresponding, and using this first mark as the first test result, wherein, generally, the execution time is shorter, and corresponding mark is higher; Perhaps, after determining the first mark, can be according to the default mark relevant to virtual machine performance and the corresponding relation of evaluation content, further determine the first evaluation content corresponding to this first mark, and using this first evaluation content as the first test result, wherein, this evaluation content can comprise: poor, good, general, excellent, certainly be not limited to this, and different interval evaluation content corresponding to mark, generally, poor, good, general and excellent corresponding mark raises gradually.
For example, the situation that was the first execution time based on the first execution result, when obtaining at least two the first execution results, according to this first execution result, determine the first test result that virtual machine performance is corresponding, can be in the following way:
Can, from the corresponding relation of the execution time relevant to virtual machine performance and mark, determine the first mark that each first execution result is corresponding, and at least two the first marks are averaging to the value of gained as the first test result; Perhaps, after determining the first mark that each first execution result is corresponding, determine each the first execution result the default weighted value of corresponding test procedure, and each first mark and respective weights value are multiplied each other, each sum of products is defined as to the first test result.
It should be noted that, the mode of the first test result of above-mentioned definite virtual machine performance, as just example, should not form the restriction to the embodiment of the present invention.
S104, after obtaining this first execution result, carry out the test of this multitask performance, obtains the second execution result;
S105, according to this second execution result, determine the second test result that this multitask performance is corresponding.
Be understandable that; in actual applications; when the user uses electronic equipment; usually can open a plurality of application, this electronic equipment can be carried out a plurality of tasks or program simultaneously, and this has tested the whole hardware performance of electronic equipment; also test task scheduling ability and the resource allocation of system simultaneously; therefore, in order to improve the test accuracy of electronic equipment performance and comprehensive, to the test of the multitask performance of electronic equipment, be also indispensable.
Based on above-mentioned purpose, after the test of carrying out virtual machine performance obtaining the first execution result, can carry out the test of this multitask performance, obtain the second execution result, according to this second execution result, determine the second test result that this multitask performance is corresponding.
Concrete, the test of carrying out this multitask performance can comprise: a plurality of tasks of random start, such as: game, displaying video/audio frequency, web page browsing etc., and the second execution time of recorded electronic equipment, thus the second execution result obtained.Wherein, the second execution time is shorter, shows that this multitask performance is stronger.
For example, the situation that was the second execution time based on the second execution result, according to this second execution result, determine the second test result that the multitask performance is corresponding, can be in the following way:
Can from the corresponding relation with performance-relevant execution time of multitask and mark, determine the second mark that the second execution result is corresponding, and using this second mark as the second test result, wherein, generally, the execution time is shorter, and corresponding mark is higher; Perhaps, after determining the second mark, can according to the performance-relevant default mark of multitask and the corresponding relation of evaluation content, further determine the second evaluation content corresponding to this second mark, and using this second evaluation content as the second test result, wherein, this evaluation content can comprise: poor, good, general, excellent, certainly be not limited to this, and different interval evaluation content corresponding to mark, generally, poor, good, general and excellent corresponding mark raises gradually.
It should be noted that, the mode of the second test result that above-mentioned definite multitask performance is corresponding, as just example, should not form the restriction to the embodiment of the present invention.
In this programme, in the test process of electronic equipment performance, at first carry out the test of virtual machine performance, avoid owing to first testing the sundry item performance to survey again virtual machine performance consume system resources, system temperature rising, system to reduce the distribution to resource, finally caused the inaccurate problem of test of virtual machine performance; And, test the multitask performance, can embody task scheduling ability and the resource allocation of electronic equipment, and the hardware performance of the integral body of electronic equipment, thereby further simulated the actual service condition of user, made test result have more referential and application value.Visible, in this programme, by rational project testing order, can improve the test accuracy of electronic equipment performance; And, in this programme, can be tested a plurality of projects of electronic equipment, thus can comparatively true performance of comprehensively reacting electronic equipment.
It should be noted that, the method for testing of the electronic equipment performance that the embodiment of the present invention provides for project to be tested can also comprise: at least one in the 2D drawing performance of CPU integer arithmetic performance, CPU floating point arithmetic performance, GPU, the 3D drawing performance of GPU, RAM operational performance, RAM read or write speed, database I/O performance, memory performance, display performance, browser performance.
Generally, due in actual applications, a program executing data read-write is seldom arranged, and not executing data computing, both exist usually simultaneously, therefore, determine that in actual applications the RAM performance not only is RAM hardware itself, other hardware especially CPU also have certain influence to the RAM performance, therefore, in order to improve test accuracy, thereby can refer to the performance that better reflects RAM under actual service condition in test process to the RAM operational performance.
Further, because the test of GPU performance relates to a large amount of computings, can make system temperature significantly raise, after system temperature raises, electronic equipment may be done some down conversion process to CPU for energy-conservation meeting, will cause like this test of CPU integer arithmetic performance and CPU floating point arithmetic performance inaccurate, therefore, in order to improve accuracy, the test of GPU performance need to be carried out after the test of CPU integer arithmetic performance and CPU floating point arithmetic performance; And,, will consume certain RAM, thereby affect the test result of RAM performance prior to the RAM performance test for fear of the test of GPU performance, therefore, the test of the performance of GPU need to be after the test of RAM performance.
In the time of can also comprising CPU integer arithmetic performance for project to be tested, can after obtaining this first execution result, carry out the test of this CPU integer performance, obtain the 3rd execution result, and, according to the 3rd execution result, determine the 3rd test result that this CPU integer performance is corresponding.
In embodiments of the present invention, carrying out the 3rd execution result that the test of this CPU integer arithmetic performance obtains is generally: the 3rd execution time.And the test for carrying out this CPU integer arithmetic performance, can adopt a kind of test procedure, now, obtains the 3rd execution result; Also can adopt at least two kinds of test procedures, now, obtain at least two the 3rd execution results.Be understandable that, test procedure corresponding to this CPU integer arithmetic performance can be write according to the algorithm of existing algorithm or designed, designed, for example: existing algorithm can be integer sorting algorithm, huffman coding algorithm or IDEA(International Data Encryption Algorithm, IDEA), certainly, the present invention is not limited thereto.And, according to the 3rd execution result, determine that the mode of the 3rd test result that this CPU integer performance is corresponding is similar to definite mode of the first test result of above-mentioned virtual machine performance, therefore not to repeat here.
In the time of can also comprising CPU floating point arithmetic performance for project to be tested, can be after obtaining this first execution result, carry out the test of this CPU floating point arithmetic performance, obtain the 4th execution result, and, according to the 4th execution result, determine the 4th test result that this CPU floating point arithmetic performance is corresponding.
In embodiments of the present invention, carrying out the 4th execution result that the test of this CPU floating point arithmetic performance obtains is generally: the 4th execution time.And the test for carrying out this CPU floating point arithmetic performance, can adopt a kind of test procedure, now, obtains the 4th execution result; Also can adopt at least two kinds of test procedures, now, obtain at least two the 4th execution results.It will be appreciated by persons skilled in the art that in actual applications the program that the test procedure of this CPU floating point arithmetic performance can be write for the algorithm according to the existing algorithm that relate to floating point arithmetic or designed, designed.For example: existing algorithm can be Fourier Transform Algorithm or circular constant algorithm, certainly, is not limited to this.And, according to the 4th execution result, determine that the mode of the 4th test result that this CPU floating point arithmetic performance is corresponding is similar to definite mode of the first test result of above-mentioned virtual machine performance, therefore not to repeat here.
In the time of can also comprising the RAM operational performance for project to be tested, can after obtaining this first execution result, carry out the test of this RAM operational performance, obtain the 5th execution result, and, according to the 5th execution result, determine the 5th test result that this RAM operational performance is corresponding.
In embodiments of the present invention, carrying out the 5th execution result that the test of this RAM operational performance obtains is generally: the 5th execution time.And, for the test of carrying out the RAM operational performance, can pass through the mode of the mathematical operation of execution large amount of complex, thereby record is as the 5th execution time of the 5th execution result.And the test for carrying out this RAM operational performance, can adopt a kind of test procedure, now, obtains the 5th execution result; Also can adopt at least two kinds of test procedures, now, obtain at least two the 5th execution results.It will be appreciated by persons skilled in the art that in actual applications the program that the test procedure of this RAM operational performance can be write for the algorithm according to existing algorithm or designed, designed.For example: existing algorithm can be sort algorithm or shifting algorithm, certainly, is not limited to this.Wherein, according to the 5th execution result, determine that the mode of the 5th test result that this RAM operational performance is corresponding is similar to definite mode of the first test result of above-mentioned virtual machine performance, therefore not to repeat here.
In the time of can also comprising the RAM read or write speed for project to be tested, can after obtaining this first execution result, carry out the test of this RAM read or write speed, obtain the 6th execution result, and, according to the 6th execution result, determine the 6th test result that this RAM read or write speed is corresponding.
In embodiments of the present invention, carrying out the 6th execution result that the test of this RAM read or write speed obtains is generally: the 6th execution time.And this RAM read or write speed is the RAM handling capacity.Concrete, for the test of RAM read or write speed, can be by carrying out the operation of a large amount of assignment that the test procedure that write voluntarily realizes RAM is carried out, addition, multiplying; For example, the test for carrying out this RAM read or write speed, can adopt a kind of test procedure, now, obtains the 6th execution result; Also can adopt at least two kinds of test procedures, now, obtain at least two the 6th execution results.And, according to the 6th execution result, determine that the mode of the 6th test result that this RAM read or write speed is corresponding is similar to definite mode of the first test result of above-mentioned virtual machine performance, therefore not to repeat here.
In the time of can also comprising the 2D drawing performance of GPU for project to be tested, can be after obtaining the 3rd execution result, the 4th execution result, the 5th execution result and the 6th execution result, carry out the test of the 2D drawing performance of this GPU, obtain the 7th execution result, and, according to the 7th execution result, determine the 7th test result corresponding to 2D drawing performance of this GPU.
It should be noted that, the 7th execution result that the 2D drawing performance of this GPU is corresponding comprises: the 7th execution time.Wherein, in the test process of the 2D drawing performance to GPU, CPU, by carrying out test procedure, can draw the 2D image and show the 2D image of drawing, and as the 7th execution time of the 7th execution result by: draw the 2D image and show the required time of drafting 2D image.And the test of carrying out the 2D drawing performance of GPU can utilize a kind of test procedure, thereby obtains the 7th execution time, also can utilize at least two kinds of test procedures, thereby obtain at least two the 7th execution time, this is all rational.
Wherein, when obtaining the 7th execution time, execution time that can be relevant from the 2D drawing performance to GPU and the corresponding relation of mark, determine the 7th mark, and using the 7th determined mark as the 7th test result; And when obtaining at least two the 7th execution time, execution time that can be relevant from the 2D drawing performance to GPU and the corresponding relation of mark, determine at least two the 7th marks, and the 7th determined mark is averaging to the value of gained as the 7th test result; Certainly, also can determine by the mode that weighted value is set the 7th test result corresponding to 2D drawing performance of this GPU, perhaps, also can further by the mode for the corresponding evaluation content of mark, determine and the 7th test result corresponding to 2D drawing performance of this GPU certainly be not limited to this.
Wherein, the 2D drawing performance of the 2D image measurement program test GPU that can write by the API that uses respectively OpenGL and Canvas to provide, obtain the 7th execution result, thereby determine the 7th test result, wherein, OpenGL (Open Graphics Library) is a kind of specification across programming language, cross-platform application programming interfaces, for generating two dimension, 3-D view; Canvas is a new html element element, can use script (normally JavaScript) to come constructing graphic, animation, game and picture.
For when this project to be tested can also comprise the 3D drawing performance of GPU, can be after obtaining the 3rd execution result, the 4th execution result, the 5th execution result and the 6th execution result, carry out the test of the 3D drawing performance of this GPU, obtain the 8th execution result, and, according to the 8th execution result, determine the 8th test result corresponding to 3D drawing performance of this GPU.
It should be noted that, the 8th execution result that the 3D drawing performance of this GPU is corresponding comprises: the 8th execution time.Wherein, in the test process of the 3D drawing performance to GPU, CPU is by carrying out test procedure, can the drafting 3 D image and show the 3D rendering of drawing, and as the 8th execution time of the 8th execution result be: the drafting 3 D image also shows the required time of institute's drafting 3 D image.And the test of carrying out the 3D drawing performance of GPU can utilize a kind of test procedure, thereby obtains the 8th execution time, also can utilize at least two kinds of test procedures, thereby obtain at least two the 8th execution time, this is all rational.
Wherein, when obtaining the 8th execution time, execution time that can be relevant from the 3D drawing performance to GPU and the corresponding relation of mark, determine the 8th mark, and using the 8th determined mark as the 8th test result; And when obtaining at least two the 8th execution time, execution time that can be relevant from the 3D drawing performance to GPU and the corresponding relation of mark, determine at least two the 8th marks, and the 8th determined mark is averaging to the value of gained as the 8th test result; Certainly, also can determine by the mode that weighted value is set the 8th test result corresponding to 3D drawing performance of this GPU, perhaps, also can further by the mode for the corresponding evaluation content of mark, determine and the 8th test result corresponding to 3D drawing performance of this GPU certainly be not limited to this.
Wherein, the 3D drawing performance of this GPU can be by being used OpenGL ES1.1 version and the relevant API(Application Programming of 2.0 version Interface, application programming interface) the 3D test procedure of writing is realized test, obtain the 8th execution result by carrying out dissimilar test procedure, and then determine mutually the 8th test result, wherein, OpenGL ES (OpenGL for Embedded Systems) is the subset of OpenGL three-dimensional picture API, for embedded devices such as mobile phone, panel computer and game hosts and design.
When for this, project to be tested can also comprise database I/O performance, can after obtaining this first execution result, carry out the test of this database I/O performance, obtain the 9th execution result, and, according to the 9th execution result, determine the 9th test result that this database I/O performance is corresponding.
Wherein, when the test of performing database I/O performance is tested, can distinguish by the different test procedures of writing voluntarily the different operating of test databases, thereby obtain the 9th execution result of each operational correspondence, and then determine the 9th test result corresponding to this database I/O performance according to the 9th execution result, wherein, the 9th execution result comprises: the 9th execution time.Wherein, to the operation of database, can comprise: the interpolation of data, deletion, search, and replaces etc.Wherein, according to a plurality of the 9th execution results, determine that the mode of the 9th test result that this database I/O performance is corresponding is similar to definite mode of the first test result of above-mentioned virtual machine performance, therefore not to repeat here.
When for this, project to be tested can also comprise memory performance, can after obtaining this first execution result, carry out the test of this memory performance, obtain the tenth execution result, and, according to the tenth execution result, determine the tenth test result that this memory performance is corresponding.Wherein, this reservoir performance for storer can comprise: SD card and/or EMMC.
Wherein, while carrying out the EMMC performance test, can obtain respectively by the different test procedure of writing voluntarily the write performance of reading performance and EMMC of EMMC, thereby obtain the tenth execution result that each test procedure is corresponding, and then according to the tenth execution result, determine the tenth test result that this EMMC performance is corresponding, wherein, the tenth execution result comprises: the tenth execution time.Wherein, according to the tenth execution result, determine that the mode of the tenth test result that this EMMC performance is corresponding is similar to definite mode of the first test result of above-mentioned virtual machine performance, therefore not to repeat here.
It should be noted that, for the electronic equipment that has the SD card, also can further carry out the test of SD performance, wherein, similar with EMMC, SD card performance also comprises the test of reading performance and write performance.
When for this, project to be tested can also comprise display performance, can after obtaining this first execution result, carry out the test of this display performance, obtain the 11 execution result, and, according to the 11 execution result, determine the 11 test result that this display performance is corresponding.
Wherein, it should be noted that, the height of display performance can pass through resolution, PPI(Pixelsper inch, the number of pixels that per inch has) etc. display standard embody.Therefore, to the test of this display performance, can be at least: to the resolution of display and/or the test of PPI, wherein, resolution is higher shows that display performance is better, also shows that display performance is better and PPI is higher.
Be understandable that, based on each display standard, carry out the program that test procedure that the test of display performance utilizes can be write for the algorithm according to existing algorithm or designed, designed.Wherein, the test for carrying out this display performance, can adopt a kind of test procedure, now, obtains the 11 execution result; Also can adopt at least two kinds of test procedures, now, obtain at least two the 11 execution results.Wherein, for test display performance based at least two display standards for, can determine the 11 test result corresponding to each display standard, further according at least two the 11 test results determining, determine the 11 test result that display performance is corresponding, certainly, also can determine the 11 execution result corresponding to each display standard, further determine the 11 execution result that display performance is corresponding, then according to the 11 execution result, determine the 11 test result that this display performance is corresponding, this is also rational.And, according to the 11 execution result, determine that the mode of the 11 test result that this display performance is corresponding is similar to definite mode of the first test result of above-mentioned virtual machine performance, therefore not to repeat here.
When for this, project to be tested can also comprise browser performance, can after obtaining this first execution result, carry out the test of this browser performance, obtain the 12 execution result, and, according to the 12 execution result, determine the 12 test result that this browser performance is corresponding.
Wherein, it should be noted that, the height of browser performance can embody by the execution time.And, in actual applications, the browser performance test mainly is divided into two part: JavaScript tests and HTML5 test, and according to the 12 execution result of both correspondences, determine the 12 test result that browser performance is corresponding, for example: using both the direct addition of the corresponding mark of the 12 execution result ten two test results corresponding as browser performance; Perhaps, by the mode of weighted value is set for both, determine the 12 test result that browser performance is corresponding.
Wherein, in actual applications, the JavaScrip test can be tested by Octane and two method of testings of increasing income of SunSpider, obtains respectively each self-corresponding execution time, and determine corresponding mark of each execution time, then the mark summation obtains the mark of JavaScript performance.Wherein, Octane has newly designed five testing schemes on the basis of original V8 benchmark test collection, and that every prescription case is all selected is complete, without the well-known web application library of optimizing; The score of these new departures can be directly interpreted as the performance height and smooth degree of similar web application.And SunSpider is a JavaScript benchmark test platform, it can weigh the JavaScript engine performance of a browser.
Wherein, the contents of a project of HTML5 test can comprise: at least one in the efficiency that image rendering, pixel are mixed, JavaScript binds code, DOM(document dbject model (Document Object Model) node, text typesetting, picture roll, page zoom-in and zoom-out, WebGL3D, embedding video playback, data throughout.Be understandable that, the program that the test of the contents of a project of testing for HTML5 can be write according to the algorithm by existing algorithm or designed, designed, certainly, also can utilize existing test procedure, and this is all rational.For example: for image rendering, the existing test procedure of institute's foundation can comprise See the Sun Canvas, Canvas Crossfader, Aquarium Canvas etc.; And, for the efficiency of JavaScript binding code, the existing test procedure of institute's foundation can comprise Surf Wax Binder; And, for the DOM node, the existing test procedure of institute's foundation can comprise DOM Node Surfer etc.; And, for the text typesetting, the existing test procedure of institute's foundation can comprise Reflo; And, for WebGL3D, the existing test procedure of institute's foundation can comprise WebGL Jellyfish.
And, according to the 12 execution result, determine that the mode of the 12 test result that this browser performance is corresponding is similar to definite mode of the first test result of above-mentioned virtual machine performance, therefore not to repeat here.
Further, guaranteeing at first to test virtual machine performance, and the test of the 2D drawing performance of GPU and the 3D drawing performance of GPU is in the situation that after CPU integer arithmetic performance, CPU floating point arithmetic performance, RAM operational performance and RAM read or write speed, can at first carry out the test of virtual machine performance, obtain the first execution result, according to this first execution result, determine the first test result that this virtual machine performance is corresponding; Then, after obtaining this first execution result, carry out the test of this CPU integer performance, obtain the 3rd execution result, and, according to the 3rd execution result, determine the 3rd test result that this CPU integer performance is corresponding; After obtaining this first execution result, carry out the test of this CPU floating point arithmetic performance, obtain the 4th execution result, and, according to the 4th execution result, determine the 4th test result that this CPU floating point arithmetic performance is corresponding; Further, after obtaining the 3rd execution result and the 4th execution result, carry out the test of this RAM operational performance, obtain the 5th execution result, and, according to the 5th execution result, determine the 5th test result that this RAM operational performance is corresponding; After obtaining the 3rd execution result and the 4th execution result, carry out the test of this RAM read or write speed, obtain the 6th execution result, and, according to the 6th execution result, determine the 6th test result that this RAM read or write speed is corresponding; After obtaining the 5th execution result and the 6th execution result, carry out the test of this multitask performance, obtain the second execution result, and, according to described the second execution result, determine the second test result that this multitask performance is corresponding.
Accordingly, when this project to be tested also comprises the 2D drawing performance of GPU, can be after obtaining this second execution result, carry out the test of the 2D drawing performance of this GPU, obtain the 7th execution result, and, according to the 7th execution result, determine the 7th test result corresponding to 2D drawing performance of this GPU.
And when this project to be tested also comprises the 3D drawing performance of GPU, can after obtaining this second execution result, carry out the test of the 3D drawing performance of this GPU, obtain the 8th execution result, and, according to the 8th execution result, determine the 8th test result corresponding to 3D drawing performance of this GPU.
When this project to be tested also comprises during database I/O performance, can after obtaining this second execution result, carry out the test of this database I/O performance, obtain the 9th execution result, and, according to the 9th execution result, determine the 9th test result that this database I/O performance is corresponding.
When this project to be tested can also comprise memory performance, can after obtaining this second execution result, carry out the test of this memory performance, obtain the tenth execution result, and, according to the tenth execution result, determine the tenth test result that this memory performance is corresponding.
Be understandable that, the testing sequence of each above-mentioned project, as just a kind of example, should not form the restriction to the embodiment of the present invention.
The method of testing of the electronic equipment performance that further, the embodiment of the present invention provides can also comprise: determined each test result after the test of demonstration project implementation.
It will be appreciated by those skilled in the art that, in order to make the user understand intuitively the performance of project, after the project to test is tested, the test result of each project can be shown to respectively to the user, can show test results with the form of mark, also can show test results with the form of grade, the form of its middle grade can be poor, good, general, excellent, and the present embodiment is not restricted this.
As a kind of optional mode, processing also can perform mathematical calculations determined each test result after the test of project implementation, the performance test results corresponding as electronic equipment using result, this the performance test results is used for reflecting the overall performance of electronic equipment, and shows the performance test results that this electronic equipment is corresponding.
For example, the situation that is mark for the test result of project, when determining test result corresponding to electronic equipment, can be directly the corresponding direct addition of test result by each item of hardware, thereby the test result corresponding as electronic equipment using addition result, and be shown to the user; Perhaps, can determine the weighted value that each project is corresponding, thereby the test result of each project and respective weights value are multiplied each other, and each sum of products is defined as to the test result that this electronic equipment is corresponding, and be shown to the user, certainly be not limited to this.And the situation that is evaluation content for the test result of project, test result that can be using evaluation content that in all evaluation content, proportion is the highest as electronic equipment, perhaps, determine the test result of electronic equipment according to the evaluation content of a certain item of hardware, this is all rational.In addition, also can be further by electronic equipment, corresponding test result shows with the form of grade, for example, grade is 1, grade is A etc., makes the performance of user's more intuitive understanding electronic equipment.
It will be understood by those skilled in the art that determined each test result and test result corresponding to electronic equipment after the test that can simultaneously show project implementation, so that the user understands the overall performance of electronic equipment and the performance of each project simultaneously.
It should be noted that, in the embodiment of the present invention, the test result that browser performance is corresponding can participate in the mathematical operation of above-mentioned the performance test results and process, can not participate in yet, in the situation that test result corresponding to browser performance do not participate in the mathematical operation of the performance test results, do not process, the test result that browser performance is corresponding can show separately.
Similarly, in the embodiment of the present invention, the test result that display performance is corresponding also can participate in the mathematical operation of above-mentioned the performance test results and process, can not participate in yet, in the situation that test result corresponding to display performance do not participate in the mathematical operation of the performance test results, do not process, the test result that display performance is corresponding can show separately.
Further, in order to improve the user, experience, can show to the user test result of the first electronic equipment of this electronic equipment and other several popular types, with the performance difference of this electronic equipment and popular type relatively.In order to realize above-mentioned functions, the method for testing of the electronic equipment performance that the embodiment of the present invention provides can also comprise:
Reception is used to indicate carries out the contrast instruction of performance comparison by electronic equipment and the first electronic equipment;
The test result that shows the respective item of the corresponding test result of each project of this electronic equipment and this first electronic equipment pre-stored or that obtain from server; Perhaps, show test result that this electronic equipment is corresponding and the test result of this first electronic equipment pre-stored or that obtain from server.
Further, in order to improve the user, experience, the method for testing of the electronic equipment performance that the embodiment of the present invention provides can also comprise:
Obtain the type of electronic equipment;
Test result, type that this electronic equipment is corresponding are sent to server, so that this server is according to default sortord, determine rank and/or this electronic equipment rank in the electronic equipment of different type of machines of this electronic equipment in the electronic equipment of same model, and determined rank is fed back to this electronic equipment;
Receive rank demonstration that this server feeds back.
Wherein, server is according to default sortord, determines that rank and/or this electronic equipment rank in the electronic equipment of different type of machines of this electronic equipment in the electronic equipment of same model can, according to existing mode, not do restriction at this.
Further, for the situation of the test result that shows each project, in order to improve user's experience, the method for testing of the electronic equipment performance that the embodiment of the present invention provides can also comprise:
By the processing of classifying of the project of carrying out test, and the test result of sorted each project is presented under corresponding classification logotype.
For example, this virtual machine performance and this multitask performance are defined as to a class, and corresponding the first test result and the second test result corresponding to this multitask performance is presented under the classification logotype for showing the user experience energy by this virtual machine performance;
This CPU integer arithmetic performance and CPU floating point arithmetic performance are defined as to a class, and corresponding the 3rd test result and the 4th test result corresponding to this CPU floating point arithmetic performance is presented under the classification logotype for meaning cpu performance by this CPU integer arithmetic performance;
This RAM operational performance and this RAM read or write speed are defined as to a class, and corresponding the 5th test result and the 6th test result corresponding to this RAM read or write speed is presented under the classification logotype for showing the RAM performance by this RAM operational performance;
The 3D drawing performance of the 2D drawing performance of this GPU and this GPU is defined as to a class, and corresponding the 7th test result and the 8th test result corresponding to 3D drawing performance of this GPU are presented under the classification logotype for showing the GPU performance by the 2D drawing performance of this GPU;
This database I/O performance and this memory performance are defined as to a class, and corresponding the 9th test result and the tenth test result corresponding to this memory performance is presented under the classification logotype for showing memory property by this database I/O performance.
Be understandable that, above-mentioned mode classification, as just example, should not form the restriction to the embodiment of the present invention.And browser performance and display performance can participate in classification and show, also can not participate in classification and show, embody separately.
Again emphasize, can carry out the test of all the other projects in the acquisition project after corresponding execution result, and not after the foundation execution result is determined the test result of this project, carry out the test of all the other projects; And, determine that according to execution result the process of the test result of item of hardware can be carried out after this project testing, also can after determining, the execution result of all items complete, and this is all rational.
And, it should be noted that, above-mentioned the first execution result to the 12 execution results, and the first test result to the 12 test results, just to distinguishing different projects, do not have any limiting meaning.
Below in conjunction with specific embodiment, the method for testing of a kind of electronic equipment performance that inventive embodiments is provided is introduced.
It should be noted that, the method for testing of the electronic equipment performance that the embodiment of the present invention provides is applicable to electronic equipment.In actual applications, this electronic equipment can comprise: smart mobile phone, panel computer, notebook etc.
As shown in Figure 2, a kind of method of testing of electronic equipment performance can comprise:
S201, obtain and start test instruction;
When needing the performance of test electronic, the user can send the beginning test instruction to electronic equipment, and this electronic equipment can respond this test instruction after obtaining the beginning test instruction, and then carry out follow-up step S202-step S213, respectively project to be tested is tested.
Wherein, project to be tested comprises: the 2D drawing performance of virtual machine performance, multitask performance, RAM operational performance, RAM read or write speed, CPU integer arithmetic performance, CPU floating point arithmetic performance, GPU, the 3D drawing performance of GPU, memory performance, database I/O performance, browser performance, display performance.
S202, carry out the test of this virtual machine performance, obtained for the first execution time, and, according to this first execution time, determine the first mark that this virtual machine performance is corresponding;
It should be noted that, carry out the program that test procedure that the test of virtual machine performance utilizes can be write for the algorithm according to existing algorithm or designed, designed, this is all rational; And, can carry out a test procedure and test virtual machine performance, now, obtain first execution time, also can carry out at least two test procedures and test virtual machine performance, now, obtain at least two the first execution time.
For example, when obtaining first execution time, according to this first execution time, determine the first mark that virtual machine performance is corresponding, can be in the following way:
Can from the corresponding relation of the default execution time relevant to virtual machine performance and mark, determine the first mark corresponding to the first execution time, wherein, generally, the execution time is shorter, and corresponding mark is higher.
When obtaining at least two the first execution time, according to this first execution time, determine the first mark that virtual machine performance is corresponding, can be in the following way:
Can, from the corresponding relation of the execution time relevant to virtual machine performance and mark, determine the first mark corresponding to each first execution time, and at least two the first marks are averaging to the value of gained as the first final mark; Perhaps, after determining the first mark corresponding to each first execution time, determine each the first execution time the default weighted value of corresponding test procedure, and each first mark and respective weights value are multiplied each other, each sum of products is defined as to the first final mark.
It should be noted that, the mode of the first mark of above-mentioned definite virtual machine performance, as just example, should not form the restriction to the embodiment of the present invention.
S203, carry out the test of this CPU integer arithmetic performance, obtained for the second execution time, and, according to this second execution time, determine the second mark that this CPU integer arithmetic performance is corresponding;
It should be noted that, carry out the program that test procedure that the test of this CPU integer arithmetic performance utilizes can be write for the algorithm according to existing algorithm or designed, designed, this is all rational; And, can carry out a test procedure and test this CPU integer arithmetic performance, now, obtain second execution time, also can carry out at least two test procedures and test this CPU integer arithmetic performance, now, obtain at least two the second execution time.For example, test procedure corresponding to this CPU integer arithmetic performance can be write according to the algorithm of existing algorithm or designed, designed, for example: existing algorithm can be integer sorting algorithm, huffman coding algorithm or IDEA(International Data Encryption Algorithm, IDEA), certainly, the present invention is not limited thereto.
Wherein, determine that the mode of the second mark that this CPU integer arithmetic performance is corresponding is similar to the mode of determining virtual machine performance in the present embodiment, therefore not to repeat here.
S204, carry out the test of this CPU floating point arithmetic performance, obtained for the 3rd execution time, and, according to the 3rd execution time, determine the 3rd mark that this CPU floating point arithmetic performance is corresponding;
It should be noted that, carry out the program that test procedure that the test of this CPU floating point arithmetic performance utilizes can be write for the algorithm according to the existing algorithm that relate to floating point arithmetic or designed, designed, this is all rational; And, can carry out a test procedure and test this CPU floating point arithmetic performance, now, obtain the 3rd execution time, also can carry out at least two test procedures and test this CPU floating point arithmetic performance, now, obtain at least two the 3rd execution time.For example, existing algorithm can be Fourier Transform Algorithm or circular constant algorithm, certainly, is not limited to this.
Wherein, determine that the mode of the 3rd mark that this CPU floating point arithmetic performance is corresponding is similar to the mode of determining virtual machine performance in the present embodiment, therefore not to repeat here.
S205, carry out the test of this RAM operational performance, obtained for the 4th execution time, and, according to the 4th execution time, determine the 4th mark that this RAM operational performance is corresponding;
It should be noted that, for the test of carrying out the RAM operational performance, can pass through the mode of the mathematical operation of execution large amount of complex, thereby record for the 4th execution time.And the test for carrying out this RAM operational performance, can adopt a kind of test procedure, now, obtains the 4th execution time; Also can adopt at least two kinds of test procedures, now, obtain at least two the 4th execution time.It will be appreciated by persons skilled in the art that in actual applications the program that the test procedure of this RAM operational performance can be write for the algorithm according to existing algorithm or designed, designed.For example: existing algorithm can be sort algorithm or shifting algorithm, certainly, is not limited to this.Wherein, determine that the mode of the 4th mark that this RAM operational performance is corresponding is similar to definite mode of the first mark of above-mentioned virtual machine performance, therefore not to repeat here.
S206, carry out the test of this RAM read or write speed, obtained for the 5th execution time, and, according to the 5th execution time, determine the 5th mark that this RAM read or write speed is corresponding;
Wherein, this RAM read or write speed is the RAM handling capacity.Concrete, for the test of RAM read or write speed, can be by carrying out the operation of a large amount of assignment that the test procedure that write voluntarily realizes RAM is carried out, addition, multiplying; For example, the test for carrying out this RAM read or write speed, can adopt a kind of test procedure, now, obtains the 5th execution time; Also can adopt at least two kinds of test procedures, now, obtain at least two the 5th execution time.And, according to the 5th execution time, determine that the mode of the 5th mark that this RAM read or write speed is corresponding is similar to definite mode of the first mark of above-mentioned virtual machine performance, therefore not to repeat here.
S207, carry out the test of this multitask performance, obtained for the 6th execution time, and, according to the 6th execution time, determine the 6th mark that this multitask performance is corresponding;
Wherein, the test of carrying out this multitask performance can comprise: a plurality of tasks of random start, such as: game, displaying video/audio frequency, web page browsing etc., and the 6th execution time of recorded electronic equipment, and then, according to the 6th execution time, determine the 6th mark that this multitask performance is corresponding.Wherein, the 6th execution time is shorter, shows that this multitask performance is stronger.And, according to the 6th execution time, determine that the mode of the 6th mark that this multitask performance is corresponding is similar to definite mode of the first mark of above-mentioned virtual machine performance, therefore not to repeat here.
S208, carry out the test of the 2D drawing performance of GPU, obtained for the 7th execution time, and, according to the 7th execution time, determine the 7th mark corresponding to 2D drawing performance of this GPU;
It should be noted that, in the test process of the 2D drawing performance to GPU, CPU, by carrying out test procedure, can draw the 2D image and show the 2D image of drawing, and as the 7th execution time of the 7th execution result by: draw the 2D image and show the required time of drafting 2D image.Wherein, the test of carrying out the 2D drawing performance of GPU can utilize a kind of test procedure, thereby obtains the 7th execution time, also can utilize at least two kinds of test procedures, thereby obtains at least two the 7th execution time, and this is all rational.
Wherein, when obtaining the 7th execution time, execution time that can be relevant from the 2D drawing performance to GPU and the corresponding relation of mark, determine the 7th mark, and using the 7th determined mark as the 7th test result; And when obtaining at least two the 7th execution time, execution time that can be relevant from the 2D drawing performance to GPU and the corresponding relation of mark, determine at least two the 7th marks, and the 7th determined mark is averaging to the value of gained as the 7th final mark; Certainly, also can determine by the mode that weighted value is set and certainly be not limited to this by the 7th mark corresponding to 2D drawing performance of this GPU.
Wherein, the 2D drawing performance of the 2D image measurement program test GPU that can write by the API that uses respectively OpenGL and Canvas to provide, obtained for the 7th execution time, thereby determine the 7th mark, wherein, OpenGL (Open Graphics Library) is a kind of specification across programming language, cross-platform application programming interfaces, for generating two dimension, 3-D view; Canvas is a new html element element, can use script (normally JavaScript) to come constructing graphic, animation, game and picture.
S209, carry out the test of the 3D drawing performance of GPU, obtained for the 8th execution time, and, according to the 8th execution time, determine the 8th mark corresponding to 3D drawing performance of this GPU;
Wherein, the test of carrying out the 3D drawing performance of GPU can utilize a kind of test procedure, thereby obtains the 8th execution time, also can utilize at least two kinds of test procedures, thereby obtains at least two the 8th execution time, and this is all rational.
Wherein, when obtaining the 8th execution time, execution time that can be relevant from the 3D drawing performance to GPU and the corresponding relation of mark, determine the 8th mark, and using the 8th determined mark as the 8th test result; And when obtaining at least two the 8th execution time, execution time that can be relevant from the 3D drawing performance to GPU and the corresponding relation of mark, determine at least two the 8th marks, and the 8th determined mark is averaging to the value of gained as the 8th final mark; Certainly, also can determine by the mode that weighted value is set and certainly be not limited to this by the 8th mark corresponding to 3D drawing performance of this GPU.
Wherein, the 3D drawing performance of this GPU can be by being used OpenGL ES1.1 version and the relevant API(Application Programming of 2.0 version Interface, application programming interface) the 3D test procedure of writing is realized test, obtained for the 8th execution time by carrying out dissimilar test procedure, and then determine corresponding the 8th mark, wherein, OpenGL ES (OpenGL for Embedded Systems) is the subset of OpenGL three-dimensional picture API, for embedded devices such as mobile phone, panel computer and game hosts and design.
S210, carry out the test of this database I/O performance, obtained for the 9th execution time, and, according to the 9th execution time, determine the 9th mark that this database I/O performance is corresponding;
Wherein, when the test of performing database I/O performance is tested, can distinguish by the different test procedures of writing voluntarily the different operating of test databases, thereby obtain the 9th execution time of each operational correspondence, and then determine the 9th mark corresponding to this database I/O performance according to the 9th execution time.Wherein, to the operation of database, can comprise: the interpolation of data, deletion, search, and replaces etc.Wherein, according to a plurality of the 9th execution results, determine that the mode of the 9th mark that this database I/O performance is corresponding is similar to definite mode of the first mark of above-mentioned virtual machine performance, therefore not to repeat here.
S211, the test of execute store performance, obtained for the tenth execution time, and, according to the tenth execution time, determine the tenth minute number that this memory performance is corresponding;
Wherein, this reservoir performance for storer can comprise: SD card and/or EMMC.
Wherein, while carrying out the EMMC performance test, can obtain respectively by the different test procedure of writing voluntarily the write performance of reading performance and EMMC of EMMC, thereby obtain the tenth execution time that each test procedure is corresponding, and then, according to the tenth execution time, determine the tenth minute number that this EMMC performance is corresponding.Wherein, a plurality of the tenth execution time of foundation determine that the mode of the tenth minute number that this EMMC performance is corresponding is similar to definite mode of the first mark of above-mentioned virtual machine performance, and therefore not to repeat here.
It should be noted that, for the electronic equipment that has the SD card, also can further carry out the test of SD performance, wherein, similar with EMMC, SD card performance also comprises the test of reading performance and write performance.
S212, carry out the test of this display performance, obtains resolution and PPI, and, according to this resolution and PPI, determine the 11 mark that this display performance is corresponding;
Wherein, resolution is higher shows that display performance is better, also shows that display performance is better and PPI is higher.Therefore, after determining resolution, can be from the corresponding relation of resolution and mark, determine the corresponding mark of this resolution, and from the corresponding relation of PPI and mark, determine the corresponding mark of this PPI, further, by two determined mark additions, finally determine the 11 mark that this display performance is corresponding.
S213, carry out the test of this browser performance, obtained for the 12 execution time, and, according to the 12 execution time, determine the 12 mark that this browser performance is corresponding;
Wherein, in actual applications, the browser performance test mainly is divided into two part: JavaScript tests and HTML5 test, and according to the 12 execution time of both correspondences, determine the 12 mark that browser performance is corresponding, for example: using both the direct addition of the 12 corresponding mark of execution time ten two marks corresponding as browser performance; Perhaps, by the mode of weighted value is set for both, determine the 12 mark that browser performance is corresponding.
Wherein, in actual applications, the JavaScrip test can be tested by Octane and two method of testings of increasing income of SunSpider, obtains respectively each self-corresponding execution time, and determine corresponding mark of each execution time, then the mark summation obtains the mark of JavaScript performance.Wherein, Octane has newly designed five testing schemes on the basis of original V8 benchmark test collection, and that every prescription case is all selected is complete, without the well-known web application library of optimizing; The score of these new departures can be directly interpreted as the performance height and smooth degree of similar web application.And SunSpider is a JavaScript benchmark test platform, it can weigh the JavaScript engine performance of a browser.
Wherein, the contents of a project of HTML5 test can comprise: at least one in the efficiency that image rendering, pixel are mixed, JavaScript binds code, DOM(document dbject model (Document Object Model) node, text typesetting, picture roll, page zoom-in and zoom-out, WebGL3D, embedding video playback, data throughout.Be understandable that, the program that the test of the contents of a project of testing for HTML5 can be write according to the algorithm by existing algorithm or designed, designed, certainly, also can utilize existing test procedure, and this is all rational.For example: for image rendering, the existing test procedure of institute's foundation can comprise See the Sun Canvas, Canvas Crossfader, Aquarium Canvas etc.; And, for the efficiency of JavaScript binding code, the existing test procedure of institute's foundation can comprise Surf Wax Binder; And, for the DOM node, the existing test procedure of institute's foundation can comprise DOM Node Surfer etc.; And, for the text typesetting, the existing test procedure of institute's foundation can comprise Reflo; And, for WebGL3D, the existing test procedure of institute's foundation can comprise WebGL Jellyfish.
And, according to the 12 execution time, determine that the mode of the 12 mark that this browser performance is corresponding is similar to definite mode of the first mark of above-mentioned virtual machine performance, therefore not to repeat here.
S214, after the mark that obtains each project to be tested, can be shown to the user by the mark of each project.
Wherein, concrete display mode can be as follows:
This virtual machine performance and this multitask performance are defined as to a class, and corresponding the first mark and the 6th mark corresponding to this multitask performance is presented under the classification logotype for showing the user experience energy by this virtual machine performance;
This CPU integer arithmetic performance and CPU floating point arithmetic performance are defined as to a class, and corresponding the second mark and the 3rd mark corresponding to this CPU floating point arithmetic performance is presented under the classification logotype for meaning cpu performance by this CPU integer arithmetic performance;
This RAM operational performance and this RAM read or write speed are defined as to a class, and corresponding the 4th mark and the 5th mark corresponding to this RAM read or write speed is presented under the classification logotype for showing the RAM performance by this RAM operational performance;
The 3D drawing performance of the 2D drawing performance of this GPU and this GPU is defined as to a class, and corresponding the 7th mark and the 8th mark corresponding to 3D drawing performance of this GPU are presented under the classification logotype for showing the GPU performance by the 2D drawing performance of this GPU;
This database I/O performance and this memory performance are defined as to a class, and corresponding the 9th mark and the tenth minute digital display corresponding to this memory performance is shown under the classification logotype for showing memory property by this database I/O performance.
Browser performance and display screen performance are defined as to a class, and corresponding the 11 mark and the 12 mark corresponding to this browser performance is presented under the classification logotype for identifying sundry item by this display screen performance.
Visible, in this programme, by rational project testing order, can improve the test accuracy of electronic equipment performance; And, in this programme, can be tested a plurality of projects of electronic equipment, thus can comparatively true performance of comprehensively reacting electronic equipment.
Corresponding to said method embodiment, the embodiment of the present invention also provides a kind of proving installation of electronic equipment performance, as shown in Figure 3, can comprise:
Test instruction obtains module 310, for obtaining the beginning test instruction;
Test instruction respond module 320, for responding described beginning test instruction, tested project to be tested respectively, and described project to be tested at least comprises: virtual machine performance, multitask performance;
Described test instruction respond module 320 can comprise:
The first implementation sub-module 321, for carrying out the test of described virtual machine performance, obtain the first execution result;
The first test result is determined submodule 322, for according to described the first execution result, determines the first test result that described virtual machine performance is corresponding;
The second implementation sub-module 323, for after obtaining described the first execution result, carry out the test of described multitask performance, obtains the second execution result;
The second test result is determined submodule 324, for according to described the second execution result, determines the second test result that described multitask performance is corresponding.
In this programme, in the test process of electronic equipment performance, at first carry out the test of virtual machine performance, avoid owing to first testing the sundry item performance to survey again virtual machine performance consume system resources, system temperature rising, system to reduce the distribution to resource, finally caused the inaccurate problem of test of virtual machine performance; And, test the multitask performance, can embody task scheduling ability and the resource allocation of electronic equipment, and the hardware performance of the integral body of electronic equipment, thereby further simulated the actual service condition of user, made test result have more referential and application value.Visible, in this programme, by rational project testing order, can improve the test accuracy of electronic equipment performance; And, in this programme, can be tested a plurality of projects of electronic equipment, thus can comparatively true performance of comprehensively reacting electronic equipment.
Further, described test instruction respond module 320 can also comprise:
The 3rd implementation sub-module, for after obtaining described the first execution result, carry out the test of CPU integer performance, obtains the 3rd execution result;
The 3rd test result is determined submodule, for according to described the 3rd execution result, determines the 3rd test result that described CPU integer performance is corresponding.
Further, described test instruction respond module 320 can also comprise:
The 4th implementation sub-module, for after obtaining described the first execution result, carry out the test of CPU floating point arithmetic performance, obtains the 4th execution result;
The 4th test result is determined submodule, for according to described the 4th execution result, determines the 4th test result that described CPU floating point arithmetic performance is corresponding.
Further, described test instruction respond module 320 can also comprise:
The 5th implementation sub-module, for after obtaining described the first execution result, carry out the test of RAM operational performance, obtains the 5th execution result;
The 5th test result is determined submodule, for according to described the 5th execution result, determines the 5th test result that described RAM operational performance is corresponding.
Further, described test instruction respond module 320 can also comprise:
The 6th implementation sub-module, for after obtaining described the first execution result, carry out the test of RAM read or write speed, obtains the 6th execution result;
The 6th test result is determined submodule, for according to described the 6th execution result, determines the 6th test result that described RAM read or write speed is corresponding.
Wherein, described the 5th implementation sub-module, for after obtaining described the 3rd execution result and described the 4th execution result, carry out the test of RAM operational performance, obtains the 5th execution result;
The 5th test result is determined submodule, for according to described the 5th execution result, determines the 5th test result that described RAM operational performance is corresponding;
The 6th implementation sub-module, for after obtaining described the 3rd execution result and described the 4th execution result, carry out the test of RAM read or write speed, obtains the 6th execution result;
The 6th test result is determined submodule, for according to described the 6th execution result, determines the 6th test result that described RAM read or write speed is corresponding;
The second implementation sub-module, for after obtaining described the 5th execution result and described the 6th execution result, carry out the test of described multitask performance, obtains the second execution result;
The second test result is determined submodule, for according to described the second execution result, determines the second test result that described multitask performance is corresponding.
Further, described test instruction respond module 320 can also comprise:
The 7th implementation sub-module, for after obtaining described the second execution result, carry out the test of the 2D drawing performance of GPU, obtains the 7th execution result;
The 7th test result is determined submodule, for according to described the 7th execution result, determines the 7th test result corresponding to 2D drawing performance of GPU.
Further, described test instruction respond module 320 can also comprise:
The 8th implementation sub-module, for after obtaining described the second execution result, carry out the test of the 3D drawing performance of GPU, obtains the 8th execution result;
The 8th test result is determined submodule, for according to described the 8th execution result, determines the 8th test result corresponding to 3D drawing performance of described GPU.
Further, described test instruction respond module 320 can also comprise:
The 9th implementation sub-module, for after obtaining described the second execution result, the test of performing database I/O performance, obtain the 9th execution result;
The 9th test result is determined submodule, for according to described the 9th execution result, determines the 9th test result that described database I/O performance is corresponding.
Further, described test instruction respond module 320 can also comprise:
The tenth implementation sub-module, for after obtaining described the second execution result, the test of execute store performance, obtain the tenth execution result;
The tenth test result is determined submodule, for according to described the tenth execution result, determines the tenth test result that described memory performance is corresponding.
Further, described test instruction respond module 320 can also comprise:
The 11 implementation sub-module, for after obtaining described the first execution result, carry out the test of display performance, obtains the 11 execution result;
The 11 test result is determined submodule, for according to described the 11 execution result, determines the 11 test result that described display performance is corresponding.
Further, described test instruction respond module 320 can also comprise:
The 12 execution module, for after obtaining described the first execution result, carry out the test of browser performance, obtains the 12 execution result;
The 12 test result is determined submodule, for according to described the 12 execution result, determines the 12 test result that described browser performance is corresponding.
Further, the proving installation of the described electronic equipment performance that the embodiment of the present invention provides can also comprise:
The classification display module, for carrying out the project of the testing processing of classifying, and be presented at the test result of sorted each project under corresponding classification logotype.
For device embodiment, due to it, substantially similar in appearance to embodiment of the method, so description is fairly simple, relevant part gets final product referring to the part explanation of embodiment of the method.
It should be noted that, in this article, relational terms such as the first and second grades only is used for an entity or operation are separated with another entity or operational zone, and not necessarily requires or imply between these entities or operation the relation of any this reality or sequentially of existing.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby make the process, method, article or the equipment that comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or also be included as the intrinsic key element of this process, method, article or equipment.In the situation that not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
One of ordinary skill in the art will appreciate that all or part of step realized in the said method embodiment is to come the hardware that instruction is relevant to complete by program, described program can be stored in computer read/write memory medium, here alleged storage medium, as: ROM/RAM, magnetic disc, CD etc.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any modifications of doing within the spirit and principles in the present invention, be equal to replacement, improvement etc., all be included in protection scope of the present invention.

Claims (28)

1. the method for testing of an electronic equipment performance, is characterized in that, comprising:
Obtain and start test instruction;
Respond described beginning test instruction, respectively project to be tested is tested, described project to be tested at least comprises: virtual machine performance, multitask performance;
Wherein, describedly respectively project to be tested is tested and is comprised:
Carry out the test of described virtual machine performance, obtain the first execution result, according to described the first execution result, determine the first test result that described virtual machine performance is corresponding;
After obtaining described the first execution result, carry out the test of described multitask performance, obtain the second execution result, and, according to described the second execution result, determine the second test result that described multitask performance is corresponding.
2. method according to claim 1, is characterized in that, described project to be tested also comprises: CPU integer arithmetic performance;
After obtaining described the first execution result, carry out the test of described CPU integer performance, obtain the 3rd execution result, and, according to described the 3rd execution result, determine the 3rd test result that described CPU integer performance is corresponding.
3. method according to claim 2, is characterized in that, described project to be tested also comprises: CPU floating point arithmetic performance;
After obtaining described the first execution result, carry out the test of described CPU floating point arithmetic performance, obtain the 4th execution result, and, according to described the 4th execution result, determine the 4th test result that described CPU floating point arithmetic performance is corresponding.
4. method according to claim 3, is characterized in that, described project to be tested also comprises: the RAM operational performance;
After obtaining described the first execution result, carry out the test of described RAM operational performance, obtain the 5th execution result, and, according to described the 5th execution result, determine the 5th test result that described RAM operational performance is corresponding.
5. method according to claim 4, is characterized in that, described project to be tested also comprises: the RAM read or write speed;
After obtaining described the first execution result, carry out the test of described RAM read or write speed, obtain the 6th execution result, and, according to described the 6th execution result, determine the 6th test result that described RAM read or write speed is corresponding.
6. method according to claim 5, it is characterized in that, after obtaining described the 3rd execution result and described the 4th execution result, carry out the test of described RAM operational performance, obtain the 5th execution result, and, according to described the 5th execution result, determine the 5th test result that described RAM operational performance is corresponding;
After obtaining described the 3rd execution result and described the 4th execution result, carry out the test of described RAM read or write speed, obtain the 6th execution result, and, according to described the 6th execution result, determine the 6th test result that described RAM read or write speed is corresponding;
After obtaining described the 5th execution result and described the 6th execution result, carry out the test of described multitask performance, obtain the second execution result, and, according to described the second execution result, determine the second test result that described multitask performance is corresponding.
7. method according to claim 6, is characterized in that, described project to be tested also comprises: the 2D drawing performance of GPU;
After obtaining described the second execution result, carry out the test of the 2D drawing performance of described GPU, obtain the 7th execution result, and, according to described the 7th execution result, determine the 7th test result corresponding to 2D drawing performance of described GPU.
8. method according to claim 7, is characterized in that, described project to be tested also comprises: the 3D drawing performance of GPU;
After obtaining described the second execution result, carry out the test of the 3D drawing performance of described GPU, obtain the 8th execution result, and, according to described the 8th execution result, determine the 8th test result corresponding to 3D drawing performance of described GPU.
9. method according to claim 8, is characterized in that, described project to be tested also comprises: database I/O performance;
After obtaining described the second execution result, carry out the test of described database I/O performance, obtain the 9th execution result, and, according to described the 9th execution result, determine the 9th test result that described database I/O performance is corresponding.
10. method according to claim 9, is characterized in that, described project to be tested also comprises: memory performance;
After obtaining described the second execution result, carry out the test of described memory performance, obtain the tenth execution result, and, according to described the tenth execution result, determine the tenth test result that described memory performance is corresponding.
11. method according to claim 10, is characterized in that, described reservoir performance for storer comprise: SD card and/or EMMC.
12. method according to claim 10, is characterized in that, described project to be tested also comprises: display performance;
After obtaining described the first execution result, carry out the test of described display performance, obtain the 11 execution result, and, according to described the 11 execution result, determine the 11 test result that described display performance is corresponding.
13. according to the described method of claim 10 or 12, it is characterized in that, described project to be tested also comprises: browser performance;
After obtaining described the first execution result, carry out the test of described browser performance, obtain the 12 execution result, and, according to described the 12 execution result, determine the 12 test result that described browser performance is corresponding.
14. method according to claim 10, is characterized in that, also comprises:
By the processing of classifying of the project of carrying out test, and the test result of sorted each project is presented under corresponding classification logotype.
15. method according to claim 14, is characterized in that, the described project processing of classifying that will carry out test, and test result corresponding to sorted each project is presented under corresponding classification logotype, comprising:
Described virtual machine performance and described multitask performance are defined as to a class, and corresponding the first test result and the second test result corresponding to described multitask performance is presented under the classification logotype for showing the user experience energy by described virtual machine performance;
Described CPU integer arithmetic performance and CPU floating point arithmetic performance are defined as to a class, and corresponding the 3rd test result and the 4th test result corresponding to described CPU floating point arithmetic performance is presented under the classification logotype for meaning cpu performance by described CPU integer arithmetic performance;
Described RAM operational performance and described RAM read or write speed are defined as to a class, and corresponding the 5th test result and the 6th test result corresponding to described RAM read or write speed is presented under the classification logotype for showing the RAM performance by described RAM operational performance;
The 3D drawing performance of the 2D drawing performance of described GPU and described GPU is defined as to a class, and corresponding the 7th test result and the 8th test result corresponding to 3D drawing performance of described GPU are presented under the classification logotype for showing the GPU performance by the 2D drawing performance of described GPU;
Described database I/O performance and described memory performance are defined as to a class, and corresponding the 9th test result and the tenth test result corresponding to described memory performance is presented under the classification logotype for showing memory property by described database I/O performance.
16. the proving installation of an electronic equipment performance, is characterized in that, comprising:
Test instruction obtains module, for obtaining the beginning test instruction;
The test instruction respond module, for responding described beginning test instruction, tested project to be tested respectively, and described project to be tested at least comprises: virtual machine performance, multitask performance;
Described test instruction respond module comprises:
The first implementation sub-module, for carrying out the test of described virtual machine performance, obtain the first execution result;
The first test result is determined submodule, for according to described the first execution result, determines the first test result that described virtual machine performance is corresponding;
The second implementation sub-module, for after obtaining described the first execution result, carry out the test of described multitask performance, obtains the second execution result;
The second test result is determined submodule, for according to described the second execution result, determines the second test result that described multitask performance is corresponding.
17. proving installation according to claim 16, is characterized in that, described test instruction respond module also comprises:
The 3rd implementation sub-module, for after obtaining described the first execution result, carry out the test of CPU integer performance, obtains the 3rd execution result;
The 3rd test result is determined submodule, for according to described the 3rd execution result, determines the 3rd test result that described CPU integer performance is corresponding.
18. proving installation according to claim 17, is characterized in that, described test instruction respond module also comprises:
The 4th implementation sub-module, for after obtaining described the first execution result, carry out the test of CPU floating point arithmetic performance, obtains the 4th execution result;
The 4th test result is determined submodule, for according to described the 4th execution result, determines the 4th test result that described CPU floating point arithmetic performance is corresponding.
19. proving installation according to claim 18, is characterized in that, described test instruction respond module also comprises:
The 5th implementation sub-module, for after obtaining described the first execution result, carry out the test of RAM operational performance, obtains the 5th execution result;
The 5th test result is determined submodule, for according to described the 5th execution result, determines the 5th test result that described RAM operational performance is corresponding.
20. method according to claim 19, is characterized in that, described test instruction respond module also comprises:
The 6th implementation sub-module, for after obtaining described the first execution result, carry out the test of RAM read or write speed, obtains the 6th execution result;
The 6th test result is determined submodule, for according to described the 6th execution result, determines the 6th test result that described RAM read or write speed is corresponding.
21. proving installation according to claim 20, is characterized in that, described the 5th implementation sub-module, for after obtaining described the 3rd execution result and described the 4th execution result, is carried out the test of RAM operational performance, obtains the 5th execution result;
The 5th test result is determined submodule, for according to described the 5th execution result, determines the 5th test result that described RAM operational performance is corresponding;
The 6th implementation sub-module, for after obtaining described the 3rd execution result and described the 4th execution result, carry out the test of RAM read or write speed, obtains the 6th execution result;
The 6th test result is determined submodule, for according to described the 6th execution result, determines the 6th test result that described RAM read or write speed is corresponding;
The second implementation sub-module, for after obtaining described the 5th execution result and described the 6th execution result, carry out the test of described multitask performance, obtains the second execution result;
The second test result is determined submodule, for according to described the second execution result, determines the second test result that described multitask performance is corresponding.
22. proving installation according to claim 21, is characterized in that, described test instruction respond module also comprises:
The 7th implementation sub-module, for after obtaining described the second execution result, carry out the test of the 2D drawing performance of GPU, obtains the 7th execution result;
The 7th test result is determined submodule, for according to described the 7th execution result, determines the 7th test result corresponding to 2D drawing performance of GPU.
23. proving installation according to claim 22, is characterized in that, described test instruction respond module also comprises:
The 8th implementation sub-module, for after obtaining described the second execution result, carry out the test of the 3D drawing performance of GPU, obtains the 8th execution result;
The 8th test result is determined submodule, for according to described the 8th execution result, determines the 8th test result corresponding to 3D drawing performance of described GPU.
24. proving installation according to claim 23, is characterized in that, described test instruction respond module also comprises:
The 9th implementation sub-module, for after obtaining described the second execution result, the test of performing database I/O performance, obtain the 9th execution result;
The 9th test result is determined submodule, for according to described the 9th execution result, determines the 9th test result that described database I/O performance is corresponding.
25. proving installation according to claim 24, is characterized in that, described test instruction respond module also comprises:
The tenth implementation sub-module, for after obtaining described the second execution result, the test of execute store performance, obtain the tenth execution result;
The tenth test result is determined submodule, for according to described the tenth execution result, determines the tenth test result that described memory performance is corresponding.
26. proving installation according to claim 25, is characterized in that, described test instruction respond module also comprises:
The 11 implementation sub-module, for after obtaining described the first execution result, carry out the test of display performance, obtains the 11 execution result;
The 11 test result is determined submodule, for according to described the 11 execution result, determines the 11 test result that described display performance is corresponding.
27. according to the described proving installation of claim 25 or 26, it is characterized in that, described test instruction respond module also comprises:
The 12 execution module, for after obtaining described the first execution result, carry out the test of browser performance, obtains the 12 execution result;
The 12 test result is determined submodule, for according to described the 12 execution result, determines the 12 test result that described browser performance is corresponding.
28. proving installation according to claim 25, is characterized in that, also comprises:
The classification display module, for carrying out the project of the testing processing of classifying, and be presented at the test result of sorted each project under corresponding classification logotype.
CN201310462144.4A 2013-09-30 2013-09-30 The method of testing of electronic equipment performance and device Active CN103488569B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310462144.4A CN103488569B (en) 2013-09-30 2013-09-30 The method of testing of electronic equipment performance and device
PCT/CN2014/087717 WO2015043527A1 (en) 2013-09-30 2014-09-28 Method and device for testing electronic equipment performance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310462144.4A CN103488569B (en) 2013-09-30 2013-09-30 The method of testing of electronic equipment performance and device

Publications (2)

Publication Number Publication Date
CN103488569A true CN103488569A (en) 2014-01-01
CN103488569B CN103488569B (en) 2016-03-09

Family

ID=49828821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310462144.4A Active CN103488569B (en) 2013-09-30 2013-09-30 The method of testing of electronic equipment performance and device

Country Status (2)

Country Link
CN (1) CN103488569B (en)
WO (1) WO2015043527A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035875A (en) * 2014-06-30 2014-09-10 北京安兔兔科技有限公司 Method, system and terminal equipment for testing performance of browser and performance testing method of terminal equipment
CN104320522A (en) * 2014-05-21 2015-01-28 深圳市载乐网络科技有限公司 Performance detection method and system for intelligent terminal
CN104320523A (en) * 2014-05-21 2015-01-28 深圳市载乐网络科技有限公司 Performance display method and system for intelligent terminal
WO2015043527A1 (en) * 2013-09-30 2015-04-02 北京安兔兔科技有限公司 Method and device for testing electronic equipment performance
CN104794058A (en) * 2015-05-07 2015-07-22 合肥云中信息科技有限公司 Testing method for cloud desktop virtual environment performance
CN105204988A (en) * 2014-06-30 2015-12-30 北京安兔兔科技有限公司 Testing method and system of electronic equipment game performance
CN106201870A (en) * 2016-07-01 2016-12-07 浪潮电子信息产业股份有限公司 A kind of method and device testing GPU
CN106407053A (en) * 2016-08-31 2017-02-15 浪潮电子信息产业股份有限公司 GPU virtualization performance test method based on VMware
CN106526367A (en) * 2016-10-26 2017-03-22 深圳市赛格导航科技股份有限公司 Electronic equipment testing method and device
CN109213663A (en) * 2018-08-06 2019-01-15 成都安易迅科技有限公司 A kind of mobile phone artificial intelligence calculates the assessment method of power

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110968467A (en) * 2019-12-16 2020-04-07 冀方 Remote automatic test method for GPU and algorithm
CN111563013B (en) * 2020-04-28 2023-07-11 外芯科技(上海)有限公司 GPU performance testing device
CN112737886B (en) * 2020-12-29 2022-09-02 交控科技股份有限公司 Tool testing method and system, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090183127A1 (en) * 2008-01-11 2009-07-16 Ibm Corporation Method and Apparatus for Evaluating Integrated Circuit Design Performance Using Enhanced Basic Block Vectors that Include Data Dependent Information
CN102253874A (en) * 2011-08-09 2011-11-23 广东电网公司电力科学研究院 Server testing method and testing system
CN102279796A (en) * 2011-08-25 2011-12-14 北京神州绿盟信息安全科技股份有限公司 Method and device for testing software compatibility
US20130086557A1 (en) * 2010-06-21 2013-04-04 Arul Murugan Alwar System for testing and certifying a virtual appliance on a customer computer system
CN103207821A (en) * 2013-05-03 2013-07-17 北京百度网讯科技有限公司 CPU (Central Processing Unit) performance evaluation method and device
CN103455396A (en) * 2013-09-03 2013-12-18 北京安兔兔科技有限公司 Test method and test device of hardware performance of electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488569B (en) * 2013-09-30 2016-03-09 北京安兔兔科技有限公司 The method of testing of electronic equipment performance and device
CN103995763A (en) * 2014-06-06 2014-08-20 北京安兔兔科技有限公司 Electronic device performance test method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090183127A1 (en) * 2008-01-11 2009-07-16 Ibm Corporation Method and Apparatus for Evaluating Integrated Circuit Design Performance Using Enhanced Basic Block Vectors that Include Data Dependent Information
US20130086557A1 (en) * 2010-06-21 2013-04-04 Arul Murugan Alwar System for testing and certifying a virtual appliance on a customer computer system
CN102253874A (en) * 2011-08-09 2011-11-23 广东电网公司电力科学研究院 Server testing method and testing system
CN102279796A (en) * 2011-08-25 2011-12-14 北京神州绿盟信息安全科技股份有限公司 Method and device for testing software compatibility
CN103207821A (en) * 2013-05-03 2013-07-17 北京百度网讯科技有限公司 CPU (Central Processing Unit) performance evaluation method and device
CN103455396A (en) * 2013-09-03 2013-12-18 北京安兔兔科技有限公司 Test method and test device of hardware performance of electronic equipment

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015043527A1 (en) * 2013-09-30 2015-04-02 北京安兔兔科技有限公司 Method and device for testing electronic equipment performance
CN104320523B (en) * 2014-05-21 2017-08-11 深圳月牙科技有限公司 The performance methods of exhibiting and system of intelligent terminal
CN104320523A (en) * 2014-05-21 2015-01-28 深圳市载乐网络科技有限公司 Performance display method and system for intelligent terminal
CN104320522A (en) * 2014-05-21 2015-01-28 深圳市载乐网络科技有限公司 Performance detection method and system for intelligent terminal
CN105204988A (en) * 2014-06-30 2015-12-30 北京安兔兔科技有限公司 Testing method and system of electronic equipment game performance
CN104035875A (en) * 2014-06-30 2014-09-10 北京安兔兔科技有限公司 Method, system and terminal equipment for testing performance of browser and performance testing method of terminal equipment
CN105204988B (en) * 2014-06-30 2018-03-06 北京安兔兔科技有限公司 The method of testing and system of electronic equipment game performance
CN104794058A (en) * 2015-05-07 2015-07-22 合肥云中信息科技有限公司 Testing method for cloud desktop virtual environment performance
CN104794058B (en) * 2015-05-07 2017-10-10 合肥中科云巢科技有限公司 A kind of method of testing of cloud desktop virtual environments performance
CN106201870A (en) * 2016-07-01 2016-12-07 浪潮电子信息产业股份有限公司 A kind of method and device testing GPU
CN106407053A (en) * 2016-08-31 2017-02-15 浪潮电子信息产业股份有限公司 GPU virtualization performance test method based on VMware
CN106526367A (en) * 2016-10-26 2017-03-22 深圳市赛格导航科技股份有限公司 Electronic equipment testing method and device
CN109213663A (en) * 2018-08-06 2019-01-15 成都安易迅科技有限公司 A kind of mobile phone artificial intelligence calculates the assessment method of power

Also Published As

Publication number Publication date
WO2015043527A1 (en) 2015-04-02
CN103488569B (en) 2016-03-09

Similar Documents

Publication Publication Date Title
CN103488569B (en) The method of testing of electronic equipment performance and device
CN103455396B (en) The method of testing of electronic equipment hardware performance and device
CN103995763A (en) Electronic device performance test method and device
CN103399810A (en) Method and device for evaluating performance of mobile terminal and mobile terminal
CN104572783A (en) Webpage click condition displaying method and device
CN108549532A (en) Webpage construction method, device, electronic equipment and storage medium
US9064233B2 (en) Methods and apparatus for device-specific analytics data visualization
CN104268047A (en) Electronic equipment performance testing method and device
US20110314411A1 (en) Rendering and sorting book search results as three dimensional icons
CN104598225A (en) Method, device and system for inserting view information into page
CN104571819A (en) Application program management method and application program management device
CN103984781A (en) Webpage loading method and device
CN103605502A (en) Form page display method and server
CN104111769A (en) Method and device for displaying electronic folders
CN105787034A (en) Data presentation method and device
CN109471899A (en) A kind of method for visualizing, device and its storage medium
CN108089858B (en) Method and device for creating visual interface
CN110363837A (en) The processing method and processing device of texture image, electronic equipment, storage medium in game
CN109643209B (en) Dynamically rendering large datasets in a client application
CN115357696A (en) Dynamic chart billboard display method based on components and related equipment
CN113792237B (en) Optimization method and device for card layout, storage medium and processor
US9811448B2 (en) Event-driven software testing
CN115686506A (en) Data display method and device, electronic equipment and storage medium
CN106802856A (en) The performance test methods of game application, server and game application client
CN112966041A (en) Data processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant