CN103488569B - The method of testing of electronic equipment performance and device - Google Patents

The method of testing of electronic equipment performance and device Download PDF

Info

Publication number
CN103488569B
CN103488569B CN201310462144.4A CN201310462144A CN103488569B CN 103488569 B CN103488569 B CN 103488569B CN 201310462144 A CN201310462144 A CN 201310462144A CN 103488569 B CN103488569 B CN 103488569B
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.)
Active
Application number
CN201310462144.4A
Other languages
Chinese (zh)
Other versions
CN103488569A (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

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

Abstract

The embodiment of the invention discloses a kind of method of testing and device of electronic equipment performance.The method of testing of this electronic equipment performance comprises: obtain and start test instruction; Response starts test instruction, and test project to be tested respectively, project to be tested at least comprises: virtual machine performance, multitask performance; Wherein, respectively test is carried out to project to be tested and comprise: the test performing virtual machine performance, obtains the first execution result, according to the first execution result, determine the first test result that virtual machine performance is corresponding; After acquisition first execution result, perform the test of multitask performance, obtain the second execution result, and according to the second execution result, determine the second test result that multitask performance is corresponding.In this programme, by rational project testing order, the test accuracy of electronic equipment performance can be improved.

Description

The method of testing of electronic equipment performance and device
Technical field
The present invention relates to testing for electrical equipment field, particularly a kind of method of testing of electronic equipment performance and device.
Background technology
Along with the development that science and technology is at full speed, various electronic equipment constantly enriches and facilitates popular life.Owing to utilizing electronic equipment process information to have the advantages such as convenient and swift, saving resource, make the part that electronic equipment becomes indispensable in the life of people or work.
Wherein, the spread in performance of the electronic equipment of different type of machines is uneven, therefore, in order to user fully understands the performance of electronic equipment, needs to test the performance of electronic equipment.In prior art, race point test is carried out to realize performance test by Performance measurement software, concrete test process for: be the test procedure corresponding to each project implementation to be tested, thus 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 several frequently seen item of hardware that is a kind of or minority, and in test process, do not consider influencing each other of each project in practical application scene, cause the performance can not reacting electronic equipment really, cause determined test result not accurate enough the most at last.
Visible, the test accuracy how improving 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, embodiments provides a kind of method of testing of electronic equipment performance, comprising:
Obtain and start test instruction;
Respond described beginning test instruction, test respectively to project to be tested, described project to be tested at least comprises: virtual machine performance, multitask performance;
Wherein, describedly respectively test is carried out to project to be tested and comprises:
Perform the test of described virtual machine performance, obtain the first execution result, according to described first execution result, determine the first test result that described virtual machine performance is corresponding;
After described first execution result of acquisition, perform the test of described multitask performance, obtain the second execution result, and according to described 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 described first execution result of acquisition, perform the test of described CPU integer performance, obtain the 3rd execution result, and according to described 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 described first execution result of acquisition, perform the test of described CPU floating point arithmetic performance, obtain the 4th execution result, and according to described 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: RAM operational performance;
After described first execution result of acquisition, perform the test of described RAM operational performance, obtain the 5th execution result, and according to described 5th execution result, determine the 5th test result that described RAM operational performance is corresponding.
Optionally, described project to be tested also comprises: RAM read or write speed;
After described first execution result of acquisition, perform the test of described RAM read or write speed, obtain the 6th execution result, and according to described 6th execution result, determine the 6th test result that described RAM read or write speed is corresponding.
Optionally, after described 3rd execution result of acquisition and described 4th execution result, perform the test of described RAM operational performance, obtain the 5th execution result, and according to described 5th execution result, determine the 5th test result that described RAM operational performance is corresponding;
After described 3rd execution result of acquisition and described 4th execution result, perform the test of described RAM read or write speed, obtain the 6th execution result, and according to described 6th execution result, determine the 6th test result that described RAM read or write speed is corresponding;
After described 5th execution result of acquisition and described 6th execution result, perform the test of described multitask performance, obtain the second execution result, and according to described 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 described second execution result of acquisition, perform the test of the 2D drawing performance of described GPU, obtain the 7th execution result, and according to described 7th execution result, determine the 7th test result that the 2D drawing performance of described GPU is corresponding.
Optionally, described project to be tested also comprises: the 3D drawing performance of GPU;
After described second execution result of acquisition, perform the test of the 3D drawing performance of described GPU, obtain the 8th execution result, and according to described 8th execution result, determine the 8th test result that the 3D drawing performance of described GPU is corresponding.
Optionally, described project to be tested also comprises: database I/O performance;
After described second execution result of acquisition, perform the test of described database I/O performance, obtain the 9th execution result, and according to described 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 described second execution result of acquisition, perform the test of described memory performance, obtain the tenth execution result, and according to described tenth execution result, determine the tenth test result that described memory performance is corresponding.
Optionally, described memory performance for storer comprise: SD card and/or EMMC.
Optionally, described project to be tested also comprises: display performance;
After described first execution result of acquisition, perform the test of described display performance, obtain the 11 execution result, and according to described 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 described first execution result of acquisition, perform the test of described browser performance, obtain the 12 execution result, and according to described 12 execution result, determine the 12 test result that described browser performance is corresponding.
Optionally, the method for testing of electronic equipment performance that the embodiment of the present invention provides also comprises:
The project performing test is carried out classification process, and under the test result of each project sorted being presented at corresponding classification logotype.
Optionally, the described project by execution test carries out classification process, and under test result corresponding for each project sorted being presented at corresponding classification logotype, comprising:
Described virtual machine performance and described multitask performance are defined as a class, and under the classification logotype that the first corresponding for described virtual machine performance test result and the second test result corresponding to described multitask performance are presented at for showing Consumer's Experience performance;
Described CPU integer arithmetic performance and CPU floating point arithmetic performance are defined as a class, and under the classification logotype that the 3rd corresponding for described CPU integer arithmetic performance test result and the 4th test result corresponding to described CPU floating point arithmetic performance are presented at for representing cpu performance;
Described RAM operational performance and described RAM read or write speed are defined as a class, and under the classification logotype that the 5th corresponding for described RAM operational performance test result and the 6th test result corresponding to described RAM read or write speed are presented at for showing RAM performance;
The 2D drawing performance of described GPU and the 3D drawing performance of described GPU are defined as a class, and under the classification logotype that the 8th corresponding for the 3D drawing performance of the 7th corresponding for the 2D drawing performance of described GPU test result and described GPU test result is presented at for showing GPU performance;
Described database I/O performance and described memory performance are defined as a class, and under the classification logotype that the 9th corresponding for described database I/O performance test result and the tenth test result corresponding to described memory performance are presented at for showing memory property.
Second aspect, the embodiment of the present invention additionally provides a kind of proving installation of electronic equipment performance, comprising:
Test instruction obtains module, for obtaining beginning test instruction;
Test instruction respond module, for responding described beginning test instruction, tests project to be tested respectively, and described project to be tested at least comprises: virtual machine performance, multitask performance;
Described test instruction respond module, comprising:
First implementation sub-module, for performing the test of described virtual machine performance, obtains the first execution result;
First test result determination submodule, for according to described first execution result, determines the first test result that described virtual machine performance is corresponding;
Second implementation sub-module, for after described first execution result of acquisition, performs the test of described multitask performance, obtains the second execution result;
Second test result determination submodule, for according to described second execution result, determines the second test result that described multitask performance is corresponding.
Optionally, described test instruction respond module, also comprises:
3rd implementation sub-module, for after described first execution result of acquisition, performs the test of CPU integer performance, obtains the 3rd execution result;
3rd test result determination submodule, for according to described 3rd execution result, determines the 3rd test result that described CPU integer performance is corresponding.
Optionally, described test instruction respond module, also comprises:
4th implementation sub-module, for after described first execution result of acquisition, performs the test of CPU floating point arithmetic performance, obtains the 4th execution result;
4th test result determination submodule, for according to described 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:
5th implementation sub-module, for after described first execution result of acquisition, performs the test of RAM operational performance, obtains the 5th execution result;
5th test result determination submodule, for according to described 5th execution result, determines the 5th test result that described RAM operational performance is corresponding.
Optionally, described test instruction respond module, also comprises:
6th implementation sub-module, for after described first execution result of acquisition, performs the test of RAM read or write speed, obtains the 6th execution result;
6th test result determination submodule, for according to described 6th execution result, determines the 6th test result that described RAM read or write speed is corresponding.
Optionally, described 5th implementation sub-module, for after described 3rd execution result of acquisition and described 4th execution result, performs the test of RAM operational performance, obtains the 5th execution result;
5th test result determination submodule, for according to described 5th execution result, determines the 5th test result that described RAM operational performance is corresponding;
6th implementation sub-module, for after described 3rd execution result of acquisition and described 4th execution result, performs the test of RAM read or write speed, obtains the 6th execution result;
6th test result determination submodule, for according to described 6th execution result, determines the 6th test result that described RAM read or write speed is corresponding;
Second implementation sub-module, for after described 5th execution result of acquisition and described 6th execution result, performs the test of described multitask performance, obtains the second execution result;
Second test result determination submodule, for according to described second execution result, determines the second test result that described multitask performance is corresponding.
Optionally, described test instruction respond module, also comprises:
7th implementation sub-module, for after described second execution result of acquisition, performs the test of the 2D drawing performance of GPU, obtains the 7th execution result;
7th test result determination submodule, for according to described 7th execution result, determines the 7th test result that the 2D drawing performance of GPU is corresponding.
Optionally, described test instruction respond module, also comprises:
8th implementation sub-module, for after described second execution result of acquisition, performs the test of the 3D drawing performance of GPU, obtains the 8th execution result;
8th test result determination submodule, for according to described 8th execution result, determines the 8th test result that the 3D drawing performance of described GPU is corresponding.
Optionally, described test instruction respond module, also comprises:
9th implementation sub-module, for after described second execution result of acquisition, the test of performing database I/O performance, obtains the 9th execution result;
9th test result determination submodule, for according to described 9th execution result, determines the 9th test result that described database I/O performance is corresponding.
Optionally, described test instruction respond module, also comprises:
Tenth implementation sub-module, for after described second execution result of acquisition, the test of execute store performance, obtains the tenth execution result;
Tenth test result determination submodule, for according to described tenth execution result, determines the tenth test result that described memory performance is corresponding.
Optionally, described test instruction respond module, also comprises:
11 implementation sub-module, for after described first execution result of acquisition, performs the test of display performance, obtains the 11 execution result;
11 test result determination submodule, for according to described 11 execution result, determines the 11 test result that described display performance is corresponding.
Optionally, described test instruction respond module, also comprises:
12 execution module, for after described first execution result of acquisition, performs the test of browser performance, obtains the 12 execution result;
12 test result determination submodule, for according to described 12 execution result, determines the 12 test result that described browser performance is corresponding.
Optionally, a kind of proving installation of electronic equipment performance that the embodiment of the present invention provides also comprises:
Classification display module, for carrying out classification process by the project performing test, and under the test result of each project sorted being presented at corresponding classification logotype.
In this programme, in the test process of electronic equipment performance, first the test of virtual machine performance is performed, avoid and survey that virtual machine performance and consume system resources, system temperature rise again owing to first testing sundry item performance, system reduces distribution to resource, finally causes the inaccurate problem of the test of virtual machine performance; And, test multitask performance, task scheduling ability and the resource allocation of electronic equipment can be embodied, and the hardware performance of the entirety of electronic equipment, thus simulate the actual service condition of user further, the Consumer's Experience performance of electronic equipment can be embodied, make test result have more referential and application value.Visible, in this programme, by rational project testing order, the test accuracy of electronic equipment performance can be improved; And, can test multiple projects of electronic equipment in this programme, thus can comparatively true performance of comprehensively reacting electronic equipment.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
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, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In order to improve the test accuracy of electronic equipment performance, the method for testing of a kind of electronic equipment performance that the embodiment of the present invention provides and device.Wherein, electronic equipment can be the mobile devices such as mobile phone, desk-top computer, notebook computer, panel computer, and can also be the intelligent terminals such as intelligent television, certainly, can also be that other are provided with the electronic equipment of CPU and RAM, the present invention limit this.
First the method for testing of a kind of electronic equipment performance that the embodiment of the present invention provides is introduced below.
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, multitask performance, certainly, can also comprise other project, such as: CPU (CentralProcessingUnit, central processing unit) performance (as: CPU integer arithmetic performance, CPU floating point arithmetic performance etc.), RAM (randomaccessmemory, random access memory) performance (as: RAM operational performance, RAM read or write speed etc.), GPU (GraphicProcessingUnit, graphic process unit) performance (as: the 2D drawing performance of GPU, the 3D drawing performance etc. of GPU), database I/O (input/output, input/output port) performance, memory performance (as: EMMC (EmbeddedMultiMediaCard, embedded memory) performance, SD card (SecureDigitalMemoryCard, 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, obtains and starts test instruction;
Under normal circumstances, when needing the performance of test electronic, user can send beginning test instruction to electronic equipment, and this electronic equipment is after receiving beginning test instruction, can be responded this and start test instruction, and then perform follow-up step S102-step S105, to test project to be tested respectively.
S102, performs the test of virtual machine performance, obtains the first execution result;
S103, according to this first execution result, determines the first test result that this virtual machine performance is corresponding;
Test virtual machine performance again can bring that consume system resources, system temperature rise, system reduces problems such as the distribution of resources of virtual machine owing to first testing sundry item performance, finally cause accurately to test virtual machine performance, therefore, in order to improve the accuracy of test result, in response, this starts in the test process of test instruction, first the test of this virtual machine performance is performed, 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, thus complete the test to this virtual machine performance.For example, be understandable that, for Andriod system platform, this virtual machine is Dalvik virtual machine, will measure Dalvik virtual machine performance in this step, and for other system platform, this virtual machine can be other virtual machine, such as JAVA virtual machine, so will measure JAVA virtual machine performance in this step, the present invention does not limit at this.
It should be noted that, the test procedure that the test performing virtual machine performance utilizes can for the program of writing according to the algorithm of existing algorithm or designed, designed, and this is all rational; Further, a test procedure can be performed to test virtual machine performance, now, obtain first execution result, also can perform at least two test procedures to 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, usually the time run by program due to the height of performance is embodied, the time that program is run is shorter, read-me travelling speed is faster, and then illustrates that performance is higher, therefore, this first execution result and each follow-up execution result can be the execution time of test procedure usually, are certainly not limited thereto.
For example, be the situation of the first execution time based on the first execution result, when acquisition first execution result, according to this first execution result, determine the first test result that virtual machine performance is corresponding, can in the following way:
From the corresponding relation of the execution time relevant to virtual machine performance and mark, the first mark that the first execution result is corresponding can be determined, and using this first mark as the first test result, wherein, under normal circumstances, the execution time is shorter, and corresponding mark is higher; Or, after determining the first mark, can according to the corresponding relation of relevant to the virtual machine performance mark preset and evaluation content, determine the first evaluation content that this first mark is corresponding further, 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 thereto, and the evaluation content that different interval mark is corresponding different, under normal circumstances, poor, good, general and excellent corresponding mark raises gradually.
For example, being the situation of 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, determining the first test result that virtual machine performance is corresponding, can in the following way:
From the corresponding relation of the execution time relevant to virtual machine performance and mark, the first mark that each first execution result is corresponding can be determined, and at least two the first marks is averaging the value of gained as the first test result; Or, after determining the first mark that each first execution result is corresponding, determine the weighted value preset of test procedure corresponding to each first execution result, and each first mark is multiplied with respective weights value, each sum of products is defined as the first test result.
It should be noted that, above-mentionedly determine that the mode of the first test result of virtual machine performance is as just example, should not form the restriction to the embodiment of the present invention.
S104, after this first execution result of acquisition, performs the test of this multitask performance, obtains the second execution result;
S105, according to this second execution result, determines the second test result that this multitask performance is corresponding.
Be understandable that; in actual applications; when user uses electronic equipment; usually can open multiple application, this electronic equipment then can perform multiple task or program simultaneously, and this has tested the overall 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, be also indispensable to the test of the multitask performance of electronic equipment.
Based on above-mentioned purpose, perform virtual machine performance test and after obtaining the first execution result, the test of this multitask performance can be performed, 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 performing this multitask performance can comprise: the multiple task of random start, such as: game, broadcasting video/audio, web page browsing etc., and the second execution time of recorded electronic equipment, thus obtains the second execution result.Wherein, the second execution time is shorter, shows that this multitask performance is stronger.
For example, be the situation of the second execution time based on the second execution result, according to this second execution result, determine the second test result that multitask performance is corresponding, can in the following way:
From with the corresponding relation of multitask performance-relevant execution time and mark, the second mark that the second execution result is corresponding can be determined, and using this second mark as the second test result, wherein, under normal circumstances, the execution time is shorter, and corresponding mark is higher; Or, after determining the second mark, can according to the corresponding relation with the performance-relevant default mark of multitask and evaluation content, determine the second evaluation content that this second mark is corresponding further, 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 thereto, and the evaluation content that different interval mark is corresponding different, under normal circumstances, poor, good, general and excellent corresponding mark raises gradually.
It should be noted that, above-mentionedly determine that the mode of the second test result that multitask performance is corresponding is 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, first the test of virtual machine performance is performed, avoid and survey that virtual machine performance and consume system resources, system temperature rise again owing to first testing sundry item performance, system reduces distribution to resource, finally causes the inaccurate problem of the 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 entirety of electronic equipment, thus simulate the actual service condition of user further, make test result have more referential and application value.Visible, in this programme, by rational project testing order, the test accuracy of electronic equipment performance can be improved; And, can test multiple projects of electronic equipment in this programme, 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.
Under normal circumstances, due in actual applications, seldom have program only to perform reading and writing data, and do not perform data operation, both exist usually simultaneously, therefore, determine that RAM performance is not only RAM hardware itself in actual applications, other hardware especially CPU also have certain influence to RAM performance, therefore, in order to improve test accuracy, RAM operational performance can be referred in test process thus the better performance of RAM under the actual service condition of reflection.
Further, test due to GPU performance relates to a large amount of computing, system temperature can be made significantly to raise, after system temperature raises, electronic equipment may do some down conversion process in order to energy-conservation meeting to CPU, will cause the test of CPU integer arithmetic performance and CPU floating point arithmetic performance inaccurate like this, therefore, in order to improve accuracy, the test of GPU performance needs to carry out after the test of CPU integer arithmetic performance and CPU floating point arithmetic performance; Further, in order to avoid the test of GPU performance is prior to RAM performance test, will consumes certain RAM, thus affect the test result of RAM performance, therefore, the test of the performance of GPU needs after the test of RAM performance.
When can also comprise CPU integer arithmetic performance for project to be tested, after this first execution result of acquisition, the test of this CPU integer performance can be performed, obtains 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, the 3rd execution result that the test performing this CPU integer arithmetic performance obtains is generally: the 3rd execution time.Further, for the test performing this CPU integer arithmetic performance, a kind of test procedure can be adopted, now, obtain 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, such as: existing algorithm can be integer sorting algorithm, Huffman encoding algorithm or IDEA (InternationalDataEncryptionAlgorithm, IDEA), certainly, the present invention is not limited thereto.Further, according to the 3rd execution result, determine that the mode of the 3rd test result corresponding to this CPU integer performance is similar to the determination mode of the first test result of above-mentioned virtual machine performance, therefore not to repeat here.
When can also comprise CPU floating point arithmetic performance for project to be tested, can after this first execution result of acquisition, perform 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, the 4th execution result that the test performing this CPU floating point arithmetic performance obtains is generally: the 4th execution time.Further, for the test performing this CPU floating point arithmetic performance, a kind of test procedure can be adopted, now, obtain 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 test procedure of this CPU floating point arithmetic performance can for the program of writing according to the algorithm of the existing algorithm or designed, designed that relate to floating point arithmetic.Such as: existing algorithm can be Fourier Transform Algorithm or circular constant algorithm, certainly, is not limited thereto.Further, according to the 4th execution result, determine that the mode of the 4th test result corresponding to this CPU floating point arithmetic performance is similar to the determination mode of the first test result of above-mentioned virtual machine performance, therefore not to repeat here.
When can also comprise RAM operational performance for project to be tested, after this first execution result of acquisition, the test of this RAM operational performance can be performed, obtains 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, the 5th execution result that the test performing this RAM operational performance obtains is generally: the 5th execution time.Further, for the test performing RAM operational performance, by performing the mode of the mathematical operation of large amount of complex, thus the 5th execution time as the 5th execution result can be recorded.Further, for the test performing this RAM operational performance, a kind of test procedure can be adopted, now, obtain 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 test procedure of this RAM operational performance can for the program of writing according to the algorithm of existing algorithm or designed, designed.Such as: existing algorithm can be sort algorithm or shifting algorithm, certainly, is not limited thereto.Wherein, according to the 5th execution result, determine that the mode of the 5th test result corresponding to this RAM operational performance is similar to the determination mode of the first test result of above-mentioned virtual machine performance, therefore not to repeat here.
When can also comprise RAM read or write speed for project to be tested, after this first execution result of acquisition, the test of this RAM read or write speed can be performed, obtains 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, the 6th execution result that the test performing this RAM read or write speed obtains is generally: the 6th execution time.Further, this RAM read or write speed is RAM handling capacity.Concrete, for the test of RAM read or write speed, can by performing the operation of a large amount of assignment that the test procedure write voluntarily realizes carrying out RAM, addition, multiplying; For example, for the test performing this RAM read or write speed, a kind of test procedure can be adopted, now, obtain the 6th execution result; Also can adopt at least two kinds of test procedures, now, obtain at least two the 6th execution results.Further, according to the 6th execution result, determine that the mode of the 6th test result corresponding to this RAM read or write speed is similar to the determination mode of the first test result of above-mentioned virtual machine performance, therefore not to repeat here.
When can also comprise the 2D drawing performance of GPU for project to be tested, can after acquisition the 3rd execution result, the 4th execution result, the 5th execution result and the 6th execution result, perform 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 that the 2D drawing performance of this GPU is corresponding.
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 performing test procedure, can draw 2D image and also show the 2D image drawn, and as the 7th execution result the 7th execution time by: draw 2D image also show the time needed for drafting 2D image.Further, the test performing the 2D drawing performance of GPU can utilize a kind of test procedure, thus obtains the 7th execution time, also can utilize at least two kinds of test procedures, thus obtains at least two the 7th execution time, and this is all rational.
Wherein, when the 7th execution time of acquisition, the corresponding relation of the execution time relevant from the 2D drawing performance to GPU and mark, the 7th mark can be determined, and using the 7th determined mark as the 7th test result; And when obtaining at least two the 7th execution time, can the corresponding relation of the execution time relevant from the 2D drawing performance to GPU and mark, determine at least two the 7th marks, and the 7th determined mark is averaging the value of gained as the 7th test result; Certainly, also the 7th test result that the 2D drawing performance of this GPU is corresponding can be determined by the mode arranging weighted value, or, also can determine certainly to be not limited thereto the 7th test result that the 2D drawing performance of this GPU is corresponding further by the mode for the corresponding evaluation content of mark.
Wherein, the 2D drawing performance of the 2D image measurement program test GPU that can be write by the API using OpenGL and Canvas to provide respectively, obtain the 7th execution result, thus determine the 7th test result, wherein, OpenGL (OpenGraphicsLibrary) 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, and script (normally JavaScript) can be used 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 after acquisition the 3rd execution result, the 4th execution result, the 5th execution result and the 6th execution result, perform 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 that the 3D drawing performance of this GPU is corresponding.
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, by performing test procedure, drafting 3 D image can also show the 3D rendering drawn, and as the 8th execution time of the 8th execution result for: drafting 3 D image and the time shown needed for institute's drafting 3 D image.Further, the test performing the 3D drawing performance of GPU can utilize a kind of test procedure, thus obtains the 8th execution time, also can utilize at least two kinds of test procedures, thus obtains at least two the 8th execution time, and this is all rational.
Wherein, when the 8th execution time of acquisition, the corresponding relation of the execution time relevant from the 3D drawing performance to GPU and mark, the 8th mark can be determined, and using the 8th determined mark as the 8th test result; And when obtaining at least two the 8th execution time, can the corresponding relation of the execution time relevant from the 3D drawing performance to GPU and mark, determine at least two the 8th marks, and the 8th determined mark is averaging the value of gained as the 8th test result; Certainly, also the 8th test result that the 3D drawing performance of this GPU is corresponding can be determined by the mode arranging weighted value, or, also can determine certainly to be not limited thereto the 8th test result that the 3D drawing performance of this GPU is corresponding further by the mode for the corresponding evaluation content of mark.
Wherein, the 3D drawing performance of this GPU can by using OpenGLES1.1 version and the relevant API (ApplicationProgrammingInterface of 2.0 version, application programming interface) the 3D test procedure write realizes test, by performing dissimilar test procedure to obtain the 8th execution result, and then determine the 8th test result mutually, wherein, OpenGLES (OpenGLforEmbeddedSystems) is the subset of OpenGL three-dimensional picture API, designs for embedded devices such as mobile phone, panel computer and game hosts.
When can also comprise database I/O performance for this project to be tested, after this first execution result of acquisition, the test of this database I/O performance can be performed, obtains 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, the different operating of the different test procedures difference test databases write voluntarily can be passed through, thus obtain the 9th execution result corresponding to each operation, and then determine according to the 9th execution result the 9th test result that this database I/O performance is corresponding, wherein, the 9th execution result comprises: the 9th execution time.Wherein, can comprise the operation of database: the interpolation of data, delete, search, replace.Wherein, determine that the mode of the 9th test result corresponding to this database I/O performance is similar to the determination mode of the first test result of above-mentioned virtual machine performance according to multiple 9th execution result, therefore not to repeat here.
When can also comprise memory performance for this project to be tested, after this first execution result of acquisition, the test of this memory performance can be performed, obtains the tenth execution result, and according to the tenth execution result, determine the tenth test result that this memory performance is corresponding.Wherein, this memory performance for storer can comprise: SD card and/or EMMC.
Wherein, when performing EMMC performance test, the write performance reading performance and EMMC of EMMC can be obtained respectively by the different test procedure write voluntarily, thus obtain the tenth execution result corresponding to each test procedure, 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, determine that the mode of the tenth test result corresponding to this EMMC performance is similar to the determination mode of the first test result of above-mentioned virtual machine performance according to the tenth execution result, therefore not to repeat here.
It should be noted that, for there is the electronic equipment of SD card, also can perform the test of SD performance further, wherein, similar with EMMC, SD card performance also comprises the test of reading performance and write performance.
When can also comprise display performance for this project to be tested, after this first execution result of acquisition, the test of this display performance can be performed, obtains 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 the display standard such as resolution, PPI (Pixelsperinch, the number of pixels that per inch has) to be embodied.Therefore, can be at least: to the resolution of display and/or the test of PPI, wherein that resolution is higher shows that display performance is better to the test of this display performance, and PPI be higher also shows that display performance is better.
Be understandable that, based on each display standard, the test procedure that the test performing display performance utilizes can for the program of writing according to the algorithm of existing algorithm or designed, designed.Wherein, for the test performing this display performance, a kind of test procedure can be adopted, now, obtain 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 testing for display performance based at least two display standards, the 11 test result that each display standard is corresponding can be determined, further according at least two the 11 test results determined, determine the 11 test result that display performance is corresponding, certainly, also the 11 execution result that each display standard is corresponding can be determined, determine the 11 execution result that display performance is corresponding further, then according to the 11 execution result, determine the 11 test result that this display performance is corresponding, this is also rational.Further, according to the 11 execution result, determine that the mode of the 11 test result that this display performance is corresponding is similar to the determination mode of the first test result of above-mentioned virtual machine performance, therefore not to repeat here.
When can also comprise browser performance for this project to be tested, after this first execution result of acquisition, the test of this browser performance can be performed, obtains 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 be embodied by the execution time.And, in actual applications, browser performance test is mainly divided into two part: JavaScript to test and HTML5 test, and according to both the 12 corresponding execution results, determine the 12 test result that browser performance is corresponding, such as: be directly added as the 12 test result corresponding to browser performance using the mark corresponding to both the 12 execution results; Or, by arranging the mode of weighted value for both, determine the 12 test result that browser performance is corresponding.
Wherein, in actual applications, JavaScrip test can be tested by Octane and SunSpider two method of testings of increasing income, and obtains each self-corresponding execution time respectively, and determine the mark corresponding to each execution time, then namely mark summation obtains the mark of JavaScript performance.Wherein, Octane newly devises five testing schemes on the basis of original V8 benchmark test collection, every prescription case all select complete, without optimize well-known web application library; The score of these new departures can be directly interpreted as the performance height of similar web application and smooth degree.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: efficiency, the DOM (at least one in document dbject model (DocumentObjectModel) node, text typesetting, picture roll, page zoom-in and zoom-out, WebGL3D, embedding video playback, data throughout of the mixing of image rendering, pixel, JavaScript binding code.Be understandable that, the program that the test for the contents of a project of HTML5 test can be write according to the algorithm by existing algorithm or designed, designed, certainly, also can utilize existing test procedure, this is all rational.Such as: for image rendering, the existing test procedure of institute's foundation can comprise SeetheSunCanvas, CanvasCrossfader, AquariumCanvas etc.; And for the efficiency that JavaScript binds code, the existing test procedure of institute's foundation can comprise SurfWaxBinder; And for DOM node, the existing test procedure of institute's foundation can comprise DOMNodeSurfer etc.; And for 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 WebGLJellyfish.
Further, according to the 12 execution result, determine that the mode of the 12 test result that this browser performance is corresponding is similar to the determination mode of the first test result of above-mentioned virtual machine performance, therefore not to repeat here.
Further, first virtual machine performance is tested in guarantee, and the test of the 3D drawing performance of the 2D drawing performance of GPU and GPU after CPU integer arithmetic performance, CPU floating point arithmetic performance, RAM operational performance and RAM read or write speed, first the test of virtual machine performance can be performed, 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 this first execution result of acquisition, perform 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 this first execution result of acquisition, perform 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 acquisition the 3rd execution result and the 4th execution result, perform 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 acquisition the 3rd execution result and the 4th execution result, perform 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 acquisition the 5th execution result and the 6th execution result, perform the test of this multitask performance, obtain the second execution result, and according to described 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 after this second execution result of acquisition, perform 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 that the 2D drawing performance of this GPU is corresponding.
And when this project to be tested also comprises the 3D drawing performance of GPU, after this second execution result of acquisition, the test of the 3D drawing performance of this GPU can be performed, obtains the 8th execution result, and according to the 8th execution result, determine the 8th test result that the 3D drawing performance of this GPU is corresponding.
When this project to be tested also comprises during database I/O performance, after this second execution result of acquisition, the test of this database I/O performance can be performed, obtains 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, after this second execution result of acquisition, the test of this memory performance can be performed, obtains 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.
Further, the method for testing of electronic equipment performance that the embodiment of the present invention provides can also comprise: each test result determined after the test of display project implementation.
It will be appreciated by those skilled in the art that, in order to the performance making user understand project intuitively, after the project of test is tested, the test result of each project can be shown to user respectively, 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.
Alternatively, also can perform mathematical calculations each test result determined after the test of project implementation process, using result as the performance test results corresponding to electronic equipment, this the performance test results for reflecting the overall performance of electronic equipment, and shows the performance test results corresponding to this electronic equipment.
For example, test result for project is the situation of mark, when determining test result corresponding to electronic equipment, can directly test result corresponding for each item of hardware be directly added, thus using addition result as test result corresponding to electronic equipment, and be shown to user; Or, the weighted value that each project is corresponding can be determined, thus the test result of each project is multiplied with respective weights value, and each sum of products is defined as test result corresponding to this electronic equipment, and be shown to user, certainly be not limited thereto.And be the situation of evaluation content for the test result of project, can using the test result of evaluation content the highest for proportion in all evaluation content as electronic equipment, or according to the test result of the evaluation content determination electronic equipment of a certain item of hardware, this is all rational.In addition, also further test result corresponding for electronic equipment can be shown with the form of grade, such as, grade is 1, grade is A etc., make the performance of user's more intuitive understanding electronic equipment.
It will be understood by those skilled in the art that the test result that after can showing the test of project implementation, each test result determined and electronic equipment are corresponding simultaneously, understand the overall performance of electronic equipment and the performance of each project to make user 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 process of above-mentioned the performance test results, also can not participate in, when the test result that browser performance is corresponding does not participate in the mathematical operation process of the performance test results, the test result that browser performance is corresponding can show separately.
Similar, in the embodiment of the present invention, the test result that display performance is corresponding also can participate in the mathematical operation process of above-mentioned the performance test results, also can not participate in, when the test result that display performance is corresponding does not participate in the mathematical operation process of the performance test results, the test result that display performance is corresponding can show separately.
Further, in order to improve Consumer's Experience, the test result of the first electronic equipment of this electronic equipment and other several popular types can be shown to user, to compare the performance difference of this electronic equipment and popular type.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:
Receive and be used to indicate contrast instruction electronic equipment and the first electronic equipment being carried out performance comparison;
Show this electronic equipment the test result corresponding to each project and prestore or the test result of respective item of this first electronic equipment that obtains from server; Or, show test result corresponding to this electronic equipment and prestore or the test result of this first electronic equipment that obtains from server.
Further, in order to improve Consumer's 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 corresponding for this electronic equipment, type are sent to server, to make this server according to the sortord preset, determine the rank of this electronic equipment in the electronic equipment of same model and/or the rank of this electronic equipment in the electronic equipment of different type of machines, and determined rank is fed back to this electronic equipment;
Receive rank that this server feeds back and show.
Wherein, server, according to the sortord preset, determines that the rank of this electronic equipment in the electronic equipment of same model and/or the rank of this electronic equipment in the electronic equipment of different type of machines according to existing mode, can not limit at this.
Further, for the situation of the test result of each project of display, 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:
The project performing test is carried out classification process, and under the test result of each project sorted being presented at corresponding classification logotype.
Such as, this virtual machine performance and this multitask performance are defined as a class, and under the classification logotype that the second corresponding to the first corresponding for this virtual machine performance test result and this multitask performance test result is presented at for showing Consumer's Experience performance;
This CPU integer arithmetic performance and CPU floating point arithmetic performance are defined as a class, and under the classification logotype that the 4th corresponding to the 3rd corresponding for this CPU integer arithmetic performance test result and this CPU floating point arithmetic performance test result is presented at for representing cpu performance;
This RAM operational performance and this RAM read or write speed are defined as a class, and under the classification logotype that the 6th corresponding to the 5th corresponding for this RAM operational performance test result and this RAM read or write speed test result is presented at for showing RAM performance;
The 2D drawing performance of this GPU and the 3D drawing performance of this GPU are defined as a class, and under the classification logotype that the 8th corresponding with the 3D drawing performance of this GPU for the 7th corresponding for the 2D drawing performance of this GPU test result test result is presented at for showing GPU performance;
This database I/O performance and this memory performance are defined as a class, and under the classification logotype that the tenth corresponding to the 9th corresponding for this database I/O performance test result and this memory performance test result is presented at for showing memory property.
Be understandable that, above-mentioned mode classification, as just example, should not form the restriction to the embodiment of the present invention.Further, browser performance and display performance can participate in classification display, also can not participate in classification display, embody separately.
It is once more emphasized that, the test of all the other projects can be performed after the execution result that acquisition project is corresponding, and after determining the test result of this project according to execution result, not perform the test of all the other projects; Further, the process according to the test result of execution result determination item of hardware can perform after this project testing, and also can complete after the execution result of all items is determined, this is all rational.
Further, it should be noted that, above-mentioned first execution result is to the 12 execution result, and the first test result is to the 12 test result, just to distinguishing different projects, does 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 provides 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, obtains and starts test instruction;
When needing the performance of test electronic, user can send beginning test instruction to electronic equipment, and this electronic equipment is after acquisition starts test instruction, can respond this test instruction, and then perform follow-up step S202-step S213, to test project to be tested respectively.
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, performs the test of this virtual machine performance, obtains for the first execution time, and according to this first execution time, determines the first mark that this virtual machine performance is corresponding;
It should be noted that, the test procedure that the test performing virtual machine performance utilizes can for the program of writing according to the algorithm of existing algorithm or designed, designed, and this is all rational; Further, a test procedure can be performed to test virtual machine performance, now, obtain first execution time, also can perform at least two test procedures to test virtual machine performance, now, obtain at least two the first execution time.
For example, when first execution time of acquisition, according to this first execution time, determine the first mark that virtual machine performance is corresponding, can in the following way:
Can from the corresponding relation of relevant to virtual machine performance execution time of presetting and mark, determine the first mark that the first execution time is corresponding, wherein, under normal circumstances, 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 in the following way:
From the corresponding relation of the execution time relevant to virtual machine performance and mark, the first mark that each first execution time is corresponding can be determined, and the value at least two the first marks being averaging gained is as the first final mark; Or, after determining the first mark that each first execution time is corresponding, determine the weighted value preset of test procedure corresponding to each first execution time, and each first mark is multiplied with respective weights value, each sum of products is defined as the first final mark.
It should be noted that, above-mentionedly determine that the mode of the first mark of virtual machine performance is as just example, should not form the restriction to the embodiment of the present invention.
S203, performs the test of this CPU integer arithmetic performance, obtained for the second execution time, and according to this second execution time, determines the second mark that this CPU integer arithmetic performance is corresponding;
It should be noted that, the test procedure that the test performing this CPU integer arithmetic performance utilizes can for the program of writing according to the algorithm of existing algorithm or designed, designed, and this is all rational; Further, a test procedure can be performed to test this CPU integer arithmetic performance, now, obtain second execution time, also can perform at least two test procedures to 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, such as: existing algorithm can be integer sorting algorithm, Huffman encoding algorithm or IDEA (InternationalDataEncryptionAlgorithm, 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 determining the mode of virtual machine performance in the present embodiment, therefore not to repeat here.
S204, performs the test of this CPU floating point arithmetic performance, obtains for the 3rd execution time, and according to the 3rd execution time, determines the 3rd mark that this CPU floating point arithmetic performance is corresponding;
It should be noted that, the test procedure that the test performing this CPU floating point arithmetic performance utilizes can for the program of writing according to the algorithm of the existing algorithm or designed, designed that relate to floating point arithmetic, and this is all rational; Further, a test procedure can be performed to test this CPU floating point arithmetic performance, now, obtain the 3rd execution time, also can perform at least two test procedures to 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 thereto.
Wherein, determine that the mode of the 3rd mark that this CPU floating point arithmetic performance is corresponding is similar to determining the mode of virtual machine performance in the present embodiment, therefore not to repeat here.
S205, performs the test of this RAM operational performance, obtains for the 4th execution time, and according to the 4th execution time, determines the 4th mark that this RAM operational performance is corresponding;
It should be noted that, for the test performing RAM operational performance, by performing the mode of the mathematical operation of large amount of complex, thus can record for the 4th execution time.Further, for the test performing this RAM operational performance, a kind of test procedure can be adopted, now, obtain 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 test procedure of this RAM operational performance can for the program of writing according to the algorithm of existing algorithm or designed, designed.Such as: existing algorithm can be sort algorithm or shifting algorithm, certainly, is not limited thereto.Wherein, determine that the mode of the 4th mark corresponding to this RAM operational performance is similar to the determination mode of the first mark of above-mentioned virtual machine performance, therefore not to repeat here.
S206, performs the test of this RAM read or write speed, obtains for the 5th execution time, and according to the 5th execution time, determines the 5th mark that this RAM read or write speed is corresponding;
Wherein, this RAM read or write speed is RAM handling capacity.Concrete, for the test of RAM read or write speed, can by performing the operation of a large amount of assignment that the test procedure write voluntarily realizes carrying out RAM, addition, multiplying; For example, for the test performing this RAM read or write speed, a kind of test procedure can be adopted, now, obtain the 5th execution time; Also can adopt at least two kinds of test procedures, now, obtain at least two the 5th execution time.Further, according to the 5th execution time, determine that the mode of the 5th mark corresponding to this RAM read or write speed is similar to the determination mode of the first mark of above-mentioned virtual machine performance, therefore not to repeat here.
S207, performs the test of this multitask performance, obtains for the 6th execution time, and according to the 6th execution time, determines the 6th mark that this multitask performance is corresponding;
Wherein, the test performing this multitask performance can comprise: the multiple task of random start, such as: game, broadcasting video/audio, 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.Further, according to the 6th execution time, determine that the mode of the 6th mark corresponding to this multitask performance is similar to the determination mode of the first mark of above-mentioned virtual machine performance, therefore not to repeat here.
S208, performs the test of the 2D drawing performance of GPU, obtains for the 7th execution time, and according to the 7th execution time, determines the 7th mark that the 2D drawing performance of this GPU is corresponding;
It should be noted that, in the test process of the 2D drawing performance to GPU, CPU, by performing test procedure, can draw 2D image and also show the 2D image drawn, and as the 7th execution result the 7th execution time by: draw 2D image also show the time needed for drafting 2D image.Wherein, the test performing the 2D drawing performance of GPU can utilize a kind of test procedure, thus obtains the 7th execution time, also can utilize at least two kinds of test procedures, thus obtains at least two the 7th execution time, and this is all rational.
Wherein, when the 7th execution time of acquisition, the corresponding relation of the execution time relevant from the 2D drawing performance to GPU and mark, the 7th mark can be determined, and using the 7th determined mark as the 7th test result; And when obtaining at least two the 7th execution time, can the corresponding relation of the execution time relevant from the 2D drawing performance to GPU and mark, determine at least two the 7th marks, and the value the 7th determined mark being averaging gained is as the 7th final mark; Certainly, also can be determined the 7th mark that the 2D drawing performance of this GPU is corresponding by the mode arranging weighted value, certainly be not limited thereto.
Wherein, the 2D drawing performance of the 2D image measurement program test GPU that can be write by the API using OpenGL and Canvas to provide respectively, obtained for the 7th execution time, thus determine the 7th mark, wherein, OpenGL (OpenGraphicsLibrary) 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, and script (normally JavaScript) can be used to come constructing graphic, animation, game and picture.
S209, performs the test of the 3D drawing performance of GPU, obtains for the 8th execution time, and according to the 8th execution time, determines the 8th mark that the 3D drawing performance of this GPU is corresponding;
Wherein, the test performing the 3D drawing performance of GPU can utilize a kind of test procedure, thus obtains the 8th execution time, also can utilize at least two kinds of test procedures, thus obtains at least two the 8th execution time, and this is all rational.
Wherein, when the 8th execution time of acquisition, the corresponding relation of the execution time relevant from the 3D drawing performance to GPU and mark, the 8th mark can be determined, and using the 8th determined mark as the 8th test result; And when obtaining at least two the 8th execution time, can the corresponding relation of the execution time relevant from the 3D drawing performance to GPU and mark, determine at least two the 8th marks, and the value the 8th determined mark being averaging gained is as the 8th final mark; Certainly, also can be determined the 8th mark that the 3D drawing performance of this GPU is corresponding by the mode arranging weighted value, certainly be not limited thereto.
Wherein, the 3D drawing performance of this GPU can by using OpenGLES1.1 version and the relevant API (ApplicationProgrammingInterface of 2.0 version, application programming interface) the 3D test procedure write realizes test, by performing dissimilar test procedure to obtain the 8th execution time, and then determine corresponding 8th mark, wherein, OpenGLES (OpenGLforEmbeddedSystems) is the subset of OpenGL three-dimensional picture API, designs for embedded devices such as mobile phone, panel computer and game hosts.
S210, performs the test of this database I/O performance, obtains for the 9th execution time, and according to the 9th execution time, determines the 9th mark that this database I/O performance is corresponding;
Wherein, when the test of performing database I/O performance is tested, the different operating of the different test procedures difference test databases write voluntarily can be passed through, thus obtain the 9th execution time corresponding to each operation, and then determine according to the 9th execution time the 9th mark that this database I/O performance is corresponding.Wherein, can comprise the operation of database: the interpolation of data, delete, search, replace.Wherein, determine that the mode of the 9th mark corresponding to this database I/O performance is similar to the determination mode of the first mark of above-mentioned virtual machine performance according to multiple 9th execution result, 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, determined the tenth point of number that this memory performance is corresponding;
Wherein, this memory performance for storer can comprise: SD card and/or EMMC.
Wherein, when performing EMMC performance test, the write performance reading performance and EMMC of EMMC can be obtained respectively by the different test procedure write voluntarily, thus obtain the tenth execution time corresponding to each test procedure, and then according to the tenth execution time, determine the tenth point of number that this EMMC performance is corresponding.Wherein, determine that the mode of the tenth point of number corresponding to this EMMC performance is similar to the determination mode of the first mark of above-mentioned virtual machine performance according to multiple tenth execution time, therefore not to repeat here.
It should be noted that, for there is the electronic equipment of SD card, also can perform the test of SD performance further, wherein, similar with EMMC, SD card performance also comprises the test of reading performance and write performance.
S212, performs the test of this display performance, obtains resolution and PPI, and according to this resolution and PPI, determines the 11 mark that this display performance is corresponding;
Wherein, resolution is higher shows that display performance is better, and PPI is higher also shows that display performance is better.Therefore, after determining resolution, can from the corresponding relation of resolution and mark, determine the mark corresponding to this resolution, and from the corresponding relation of PPI and mark, determine the mark corresponding to this PPI, further determined two marks are added, finally determine the 11 mark that this display performance is corresponding.
S213, performs the test of this browser performance, obtains for the 12 execution time, and according to the 12 execution time, determines the 12 mark that this browser performance is corresponding;
Wherein, in actual applications, browser performance test is mainly divided into two part: JavaScript to test and HTML5 test, and according to both the 12 corresponding execution time, determine the 12 mark that browser performance is corresponding, such as: be directly added as the 12 mark corresponding to browser performance using the mark corresponding to both the 12 execution time; Or, by arranging the mode of weighted value for both, determine the 12 mark that browser performance is corresponding.
Wherein, in actual applications, JavaScrip test can be tested by Octane and SunSpider two method of testings of increasing income, and obtains each self-corresponding execution time respectively, and determine the mark corresponding to each execution time, then namely mark summation obtains the mark of JavaScript performance.Wherein, Octane newly devises five testing schemes on the basis of original V8 benchmark test collection, every prescription case all select complete, without optimize well-known web application library; The score of these new departures can be directly interpreted as the performance height of similar web application and smooth degree.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: efficiency, the DOM (at least one in document dbject model (DocumentObjectModel) node, text typesetting, picture roll, page zoom-in and zoom-out, WebGL3D, embedding video playback, data throughout of the mixing of image rendering, pixel, JavaScript binding code.Be understandable that, the program that the test for the contents of a project of HTML5 test can be write according to the algorithm by existing algorithm or designed, designed, certainly, also can utilize existing test procedure, this is all rational.Such as: for image rendering, the existing test procedure of institute's foundation can comprise SeetheSunCanvas, CanvasCrossfader, AquariumCanvas etc.; And for the efficiency that JavaScript binds code, the existing test procedure of institute's foundation can comprise SurfWaxBinder; And for DOM node, the existing test procedure of institute's foundation can comprise DOMNodeSurfer etc.; And for 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 WebGLJellyfish.
Further, according to the 12 execution time, determine that the mode of the 12 mark that this browser performance is corresponding is similar to the determination mode of the first mark of above-mentioned virtual machine performance, therefore not to repeat here.
S214, after the mark obtaining each project to be tested, can be shown to 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 a class, and under the classification logotype that the 6th corresponding to the first corresponding for this virtual machine performance mark and this multitask performance mark is presented at for showing Consumer's Experience performance;
This CPU integer arithmetic performance and CPU floating point arithmetic performance are defined as a class, and under the classification logotype that the 3rd corresponding to the second corresponding for this CPU integer arithmetic performance mark and this CPU floating point arithmetic performance mark is presented at for representing cpu performance;
This RAM operational performance and this RAM read or write speed are defined as a class, and under the classification logotype that the 5th corresponding to the 4th corresponding for this RAM operational performance mark and this RAM read or write speed mark is presented at for showing RAM performance;
The 2D drawing performance of this GPU and the 3D drawing performance of this GPU are defined as a class, and under the classification logotype that the 8th corresponding with the 3D drawing performance of this GPU for the 7th corresponding for the 2D drawing performance of this GPU mark mark is presented at for showing GPU performance;
This database I/O performance and this memory performance are defined as a class, and by under the tenth point of corresponding to the 9th corresponding for this database I/O performance mark and this memory performance classification logotype that digital display is shown in for showing memory property.
Browser performance and display screen performance are defined as a class, and under the classification logotype that the 12 corresponding to the 11 corresponding for this display screen performance mark and this browser performance mark is presented at for identifying sundry item.
Visible, in this programme, by rational project testing order, the test accuracy of electronic equipment performance can be improved; And, can test multiple projects of electronic equipment in this programme, thus can comparatively true performance of comprehensively reacting electronic equipment.
Corresponding to said method embodiment, the embodiment of the present invention additionally provides a kind of proving installation of electronic equipment performance, as shown in Figure 3, can comprise:
Test instruction obtains module 310, for obtaining beginning test instruction;
Test instruction respond module 320, for responding described beginning test instruction, tests 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:
First implementation sub-module 321, for performing the test of described virtual machine performance, obtains the first execution result;
First test result determination submodule 322, for according to described first execution result, determines the first test result that described virtual machine performance is corresponding;
Second implementation sub-module 323, for after described first execution result of acquisition, performs the test of described multitask performance, obtains the second execution result;
Second test result determination submodule 324, for according to described 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, first the test of virtual machine performance is performed, avoid and survey that virtual machine performance and consume system resources, system temperature rise again owing to first testing sundry item performance, system reduces distribution to resource, finally causes the inaccurate problem of the 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 entirety of electronic equipment, thus simulate the actual service condition of user further, make test result have more referential and application value.Visible, in this programme, by rational project testing order, the test accuracy of electronic equipment performance can be improved; And, can test multiple projects of electronic equipment in this programme, thus can comparatively true performance of comprehensively reacting electronic equipment.
Further, described test instruction respond module 320, can also comprise:
3rd implementation sub-module, for after described first execution result of acquisition, performs the test of CPU integer performance, obtains the 3rd execution result;
3rd test result determination submodule, for according to described 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:
4th implementation sub-module, for after described first execution result of acquisition, performs the test of CPU floating point arithmetic performance, obtains the 4th execution result;
4th test result determination submodule, for according to described 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:
5th implementation sub-module, for after described first execution result of acquisition, performs the test of RAM operational performance, obtains the 5th execution result;
5th test result determination submodule, for according to described 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:
6th implementation sub-module, for after described first execution result of acquisition, performs the test of RAM read or write speed, obtains the 6th execution result;
6th test result determination submodule, for according to described 6th execution result, determines the 6th test result that described RAM read or write speed is corresponding.
Wherein, described 5th implementation sub-module, for after described 3rd execution result of acquisition and described 4th execution result, performs the test of RAM operational performance, obtains the 5th execution result;
5th test result determination submodule, for according to described 5th execution result, determines the 5th test result that described RAM operational performance is corresponding;
6th implementation sub-module, for after described 3rd execution result of acquisition and described 4th execution result, performs the test of RAM read or write speed, obtains the 6th execution result;
6th test result determination submodule, for according to described 6th execution result, determines the 6th test result that described RAM read or write speed is corresponding;
Second implementation sub-module, for after described 5th execution result of acquisition and described 6th execution result, performs the test of described multitask performance, obtains the second execution result;
Second test result determination submodule, for according to described second execution result, determines the second test result that described multitask performance is corresponding.
Further, described test instruction respond module 320, can also comprise:
7th implementation sub-module, for after described second execution result of acquisition, performs the test of the 2D drawing performance of GPU, obtains the 7th execution result;
7th test result determination submodule, for according to described 7th execution result, determines the 7th test result that the 2D drawing performance of GPU is corresponding.
Further, described test instruction respond module 320, can also comprise:
8th implementation sub-module, for after described second execution result of acquisition, performs the test of the 3D drawing performance of GPU, obtains the 8th execution result;
8th test result determination submodule, for according to described 8th execution result, determines the 8th test result that the 3D drawing performance of described GPU is corresponding.
Further, described test instruction respond module 320, can also comprise:
9th implementation sub-module, for after described second execution result of acquisition, the test of performing database I/O performance, obtains the 9th execution result;
9th test result determination submodule, for according to described 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:
Tenth implementation sub-module, for after described second execution result of acquisition, the test of execute store performance, obtains the tenth execution result;
Tenth test result determination submodule, for according to described tenth execution result, determines the tenth test result that described memory performance is corresponding.
Further, described test instruction respond module 320, can also comprise:
11 implementation sub-module, for after described first execution result of acquisition, performs the test of display performance, obtains the 11 execution result;
11 test result determination submodule, for according to described 11 execution result, determines the 11 test result that described display performance is corresponding.
Further, described test instruction respond module 320, can also comprise:
12 execution module, for after described first execution result of acquisition, performs the test of browser performance, obtains the 12 execution result;
12 test result determination submodule, for according to described 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:
Classification display module, for carrying out classification process by the project performing test, and under the test result of each project sorted being presented at corresponding classification logotype.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
One of ordinary skill in the art will appreciate that all or part of step realized in said method embodiment is that the hardware that can carry out instruction relevant by program has come, described program can be stored in computer read/write memory medium, here the alleged storage medium obtained, 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 amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (28)

1. a method of testing for electronic equipment performance, is characterized in that, comprising:
Obtain and start test instruction;
Respond described beginning test instruction, test respectively to project to be tested, described project to be tested at least comprises: virtual machine performance, multitask performance; Wherein, described multitask performance for: perform the performance of multiple task or program about multiple application caused electronic equipment that is opened simultaneously; Wherein, describedly respectively test is carried out to project to be tested and comprises:
Perform the test of described virtual machine performance, obtain the first execution result, according to described first execution result, determine the first test result that described virtual machine performance is corresponding;
After described first execution result of acquisition, perform the test of described multitask performance, obtain the second execution result, and according to described second execution result, determine the second test result that described multitask performance is corresponding, wherein, the test of described execution multitask performance comprises: the multiple task of random start, and the type of described task comprises: game, broadcasting video/audio or web page browsing.
2. method according to claim 1, is characterized in that, described project to be tested also comprises: CPU integer arithmetic performance;
After described first execution result of acquisition, perform the test of described CPU integer performance, obtain the 3rd execution result, and according to described 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 described first execution result of acquisition, perform the test of described CPU floating point arithmetic performance, obtain the 4th execution result, and according to described 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: RAM operational performance;
After described first execution result of acquisition, perform the test of described RAM operational performance, obtain the 5th execution result, and according to described 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: RAM read or write speed;
After described first execution result of acquisition, perform the test of described RAM read or write speed, obtain the 6th execution result, and according to described 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 described 3rd execution result of acquisition and described 4th execution result, perform the test of described RAM operational performance, obtain the 5th execution result, and according to described 5th execution result, determine the 5th test result that described RAM operational performance is corresponding;
After described 3rd execution result of acquisition and described 4th execution result, perform the test of described RAM read or write speed, obtain the 6th execution result, and according to described 6th execution result, determine the 6th test result that described RAM read or write speed is corresponding;
After described 5th execution result of acquisition and described 6th execution result, perform the test of described multitask performance, obtain the second execution result, and according to described 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 described second execution result of acquisition, perform the test of the 2D drawing performance of described GPU, obtain the 7th execution result, and according to described 7th execution result, determine the 7th test result that the 2D drawing performance of described GPU is corresponding.
8. method according to claim 7, is characterized in that, described project to be tested also comprises: the 3D drawing performance of GPU;
After described second execution result of acquisition, perform the test of the 3D drawing performance of described GPU, obtain the 8th execution result, and according to described 8th execution result, determine the 8th test result that the 3D drawing performance of described GPU is corresponding.
9. method according to claim 8, is characterized in that, described project to be tested also comprises: database I/O performance;
After described second execution result of acquisition, perform the test of described database I/O performance, obtain the 9th execution result, and according to described 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 described second execution result of acquisition, perform the test of described memory performance, obtain the tenth execution result, and according to described tenth execution result, determine the tenth test result that described memory performance is corresponding.
11. methods according to claim 10, is characterized in that, described memory performance for storer comprise: SD card and/or EMMC.
12. methods according to claim 10, is characterized in that, described project to be tested also comprises: display performance;
After described first execution result of acquisition, perform the test of described display performance, obtain the 11 execution result, and according to described 11 execution result, determine the 11 test result that described display performance is corresponding.
13. methods according to claim 10 or 12, it is characterized in that, described project to be tested also comprises: browser performance;
After described first execution result of acquisition, perform the test of described browser performance, obtain the 12 execution result, and according to described 12 execution result, determine the 12 test result that described browser performance is corresponding.
14. methods according to claim 10, is characterized in that, also comprise:
The project performing test is carried out classification process, and under the test result of each project sorted being presented at corresponding classification logotype.
15. methods according to claim 14, is characterized in that, the described project by execution test carries out classification process, and under test result corresponding for each project sorted being presented at corresponding classification logotype, comprising:
Described virtual machine performance and described multitask performance are defined as a class, and under the classification logotype that the first corresponding for described virtual machine performance test result and the second test result corresponding to described multitask performance are presented at for showing Consumer's Experience performance;
Described CPU integer arithmetic performance and CPU floating point arithmetic performance are defined as a class, and under the classification logotype that the 3rd corresponding for described CPU integer arithmetic performance test result and the 4th test result corresponding to described CPU floating point arithmetic performance are presented at for representing cpu performance;
Described RAM operational performance and described RAM read or write speed are defined as a class, and under the classification logotype that the 5th corresponding for described RAM operational performance test result and the 6th test result corresponding to described RAM read or write speed are presented at for showing RAM performance;
The 2D drawing performance of described GPU and the 3D drawing performance of described GPU are defined as a class, and under the classification logotype that the 8th corresponding for the 3D drawing performance of the 7th corresponding for the 2D drawing performance of described GPU test result and described GPU test result is presented at for showing GPU performance;
Described database I/O performance and described memory performance are defined as a class, and under the classification logotype that the 9th corresponding for described database I/O performance test result and the tenth test result corresponding to described memory performance are presented at for showing memory property.
The proving installation of 16. 1 kinds of electronic equipment performances, is characterized in that, comprising:
Test instruction obtains module, for obtaining beginning test instruction;
Test instruction respond module, for responding described beginning test instruction, tests project to be tested respectively, and described project to be tested at least comprises: virtual machine performance, multitask performance; Wherein, described multitask performance for: perform the performance of multiple task or program about multiple application caused electronic equipment that is opened simultaneously;
Described test instruction respond module, comprising:
First implementation sub-module, for performing the test of described virtual machine performance, obtains the first execution result;
First test result determination submodule, for according to described first execution result, determines the first test result that described virtual machine performance is corresponding;
Second implementation sub-module, for after described first execution result of acquisition, performs the test of described multitask performance, obtains the second execution result;
Second test result determination submodule, for according to described second execution result, determine the second test result that described multitask performance is corresponding, wherein, the test of described execution multitask performance comprises: the multiple task of random start, and the type of described task comprises: game, broadcasting video/audio or web page browsing.
17. proving installations according to claim 16, is characterized in that, described test instruction respond module, also comprises:
3rd implementation sub-module, for after described first execution result of acquisition, performs the test of CPU integer performance, obtains the 3rd execution result;
3rd test result determination submodule, for according to described 3rd execution result, determines the 3rd test result that described CPU integer performance is corresponding.
18. proving installations according to claim 17, is characterized in that, described test instruction respond module, also comprises:
4th implementation sub-module, for after described first execution result of acquisition, performs the test of CPU floating point arithmetic performance, obtains the 4th execution result;
4th test result determination submodule, for according to described 4th execution result, determines the 4th test result that described CPU floating point arithmetic performance is corresponding.
19. proving installations according to claim 18, is characterized in that, described test instruction respond module, also comprises:
5th implementation sub-module, for after described first execution result of acquisition, performs the test of RAM operational performance, obtains the 5th execution result;
5th test result determination submodule, for according to described 5th execution result, determines the 5th test result that described RAM operational performance is corresponding.
20. devices according to claim 19, is characterized in that, described test instruction respond module, also comprises:
6th implementation sub-module, for after described first execution result of acquisition, performs the test of RAM read or write speed, obtains the 6th execution result;
6th test result determination submodule, for according to described 6th execution result, determines the 6th test result that described RAM read or write speed is corresponding.
21. proving installations according to claim 20, is characterized in that, described 5th implementation sub-module, for after described 3rd execution result of acquisition and described 4th execution result, perform the test of RAM operational performance, obtain the 5th execution result;
5th test result determination submodule, for according to described 5th execution result, determines the 5th test result that described RAM operational performance is corresponding;
6th implementation sub-module, for after described 3rd execution result of acquisition and described 4th execution result, performs the test of RAM read or write speed, obtains the 6th execution result;
6th test result determination submodule, for according to described 6th execution result, determines the 6th test result that described RAM read or write speed is corresponding;
Second implementation sub-module, for after described 5th execution result of acquisition and described 6th execution result, performs the test of described multitask performance, obtains the second execution result;
Second test result determination submodule, for according to described second execution result, determines the second test result that described multitask performance is corresponding.
22. proving installations according to claim 21, is characterized in that, described test instruction respond module, also comprises:
7th implementation sub-module, for after described second execution result of acquisition, performs the test of the 2D drawing performance of GPU, obtains the 7th execution result;
7th test result determination submodule, for according to described 7th execution result, determines the 7th test result that the 2D drawing performance of GPU is corresponding.
23. proving installations according to claim 22, is characterized in that, described test instruction respond module, also comprises:
8th implementation sub-module, for after described second execution result of acquisition, performs the test of the 3D drawing performance of GPU, obtains the 8th execution result;
8th test result determination submodule, for according to described 8th execution result, determines the 8th test result that the 3D drawing performance of described GPU is corresponding.
24. proving installations according to claim 23, is characterized in that, described test instruction respond module, also comprises:
9th implementation sub-module, for after described second execution result of acquisition, the test of performing database I/O performance, obtains the 9th execution result;
9th test result determination submodule, for according to described 9th execution result, determines the 9th test result that described database I/O performance is corresponding.
25. proving installations according to claim 24, is characterized in that, described test instruction respond module, also comprises:
Tenth implementation sub-module, for after described second execution result of acquisition, the test of execute store performance, obtains the tenth execution result;
Tenth test result determination submodule, for according to described tenth execution result, determines the tenth test result that described memory performance is corresponding.
26. proving installations according to claim 25, is characterized in that, described test instruction respond module, also comprises:
11 implementation sub-module, for after described first execution result of acquisition, performs the test of display performance, obtains the 11 execution result;
11 test result determination submodule, for according to described 11 execution result, determines the 11 test result that described display performance is corresponding.
27. proving installations according to claim 25 or 26, it is characterized in that, described test instruction respond module, also comprises:
12 execution module, for after described first execution result of acquisition, performs the test of browser performance, obtains the 12 execution result;
12 test result determination submodule, for according to described 12 execution result, determines the 12 test result that described browser performance is corresponding.
28. proving installations according to claim 25, is characterized in that, also comprise:
Classification display module, for carrying out classification process by the project performing test, and under the test result of each project sorted being presented at 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 CN103488569A (en) 2014-01-01
CN103488569B true 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)

Families Citing this family (13)

* 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
CN104320522B (en) * 2014-05-21 2018-05-01 深圳月牙科技有限公司 The method for testing performance and system of intelligent terminal
CN104320523B (en) * 2014-05-21 2017-08-11 深圳月牙科技有限公司 The performance methods of exhibiting and system of intelligent terminal
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
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
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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7844928B2 (en) * 2008-01-11 2010-11-30 International Business Machines Corporation Method and apparatus for evaluating integrated circuit design performance using enhanced basic block vectors that include data dependent information
EP2583225A4 (en) * 2010-06-21 2014-03-05 Hewlett Packard Development Co System for testing and certifying a virtual appliance on a customer computer system
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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN103488569A (en) 2014-01-01
WO2015043527A1 (en) 2015-04-02

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
CN110337641B (en) Determining application test results using screen shot primitive data
CN103995763A (en) Electronic device performance test method and device
CN111897740B (en) User interface testing method and device, electronic equipment and computer readable medium
CN104572783A (en) Webpage click condition displaying method and device
CN103399810A (en) Method and device for evaluating performance of mobile terminal and mobile terminal
WO2022062610A1 (en) Information presentation method and apparatus, electronic device, and storage medium
CN104268047A (en) Electronic equipment performance testing method and device
CN111161390A (en) Rendering method and device based on BIM (building information modeling) model and WebGL (Web graphics library)
CN104111769A (en) Method and device for displaying electronic folders
CN111443899B (en) Element processing method and device, electronic equipment and storage medium
CN109471899A (en) A kind of method for visualizing, device and its storage medium
CN106446027A (en) Information recommendation method and apparatus
CN103699652A (en) Webpage access method and webpage access system
CN105824647A (en) Form page generating method and device
CN109672706A (en) A kind of information recommendation method, device, server and storage medium
CN115357696A (en) Dynamic chart billboard display method based on components and related equipment
CN111666201A (en) Regression testing method, device, medium and electronic equipment
CN109542775A (en) A kind of generation and execution method and device of test script
US9811448B2 (en) Event-driven software testing
CN110635966B (en) Visual display system, method, medium and electronic equipment for flow data
Meier et al. Heattile, a new method for heatmap implementations for mobile web-based cartographic applications
CN112966041A (en) Data processing method, device, equipment and storage medium
CN105808543A (en) Information display method and apparatus

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