CN111240977A - Performance test method, device and equipment for game scene and storage medium - Google Patents

Performance test method, device and equipment for game scene and storage medium Download PDF

Info

Publication number
CN111240977A
CN111240977A CN202010016718.5A CN202010016718A CN111240977A CN 111240977 A CN111240977 A CN 111240977A CN 202010016718 A CN202010016718 A CN 202010016718A CN 111240977 A CN111240977 A CN 111240977A
Authority
CN
China
Prior art keywords
performance
data
waypoints
waypoint
test
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.)
Pending
Application number
CN202010016718.5A
Other languages
Chinese (zh)
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202010016718.5A priority Critical patent/CN111240977A/en
Publication of CN111240977A publication Critical patent/CN111240977A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Abstract

The application provides a performance testing method, device, equipment and storage medium for a game scene, and relates to the technical field of game testing. The method comprises the following steps: acquiring data of a plurality of waypoints in a game scene to be tested; respectively testing at least one item of performance of the data of each waypoint to obtain a test result of at least one item of performance of the game scene, wherein the test result of each item of performance comprises the following steps: a test value of performance corresponding to the plurality of waypoints; and generating a performance analysis chart of the game scene, wherein the performance analysis chart shows performance test values corresponding to all the waypoints, and the positions corresponding to all the waypoints in the performance analysis chart are consistent with the positions of the waypoints in the game scene. Compared with the prior art, the problem that the presented data is not intuitive enough because the data is not subjected to relevant automatic analysis and processing is avoided.

Description

Performance test method, device and equipment for game scene and storage medium
Technical Field
The application relates to the technical field of game testing, in particular to a performance testing method, device, equipment and storage medium for a game scene.
Background
The visual sense is the most intuitive feeling for people, the aesthetic requirements of games are higher and higher, and the accompanying effect is that the image quality and the fineness of the games are continuously improved, particularly the 3D MMO game.
As a mobile game, it is necessary to perform a relevant client performance test on all models of different grades on the market, in the prior art, the client performance test generally calls an interface manually according to a test object, and records relevant memory and frame rate data; for testing the game scene resources, the operation of manually importing waypoints is needed, then the testing is carried out, and finally the data are counted.
However, the processing mode does not realize the automation of the process, the repeated work causes higher labor cost, and the similar test learning degree is not easy; secondly, the data is not subjected to relevant automatic analysis and processing, and the presented data is not intuitive enough.
Disclosure of Invention
An object of the present application is to provide a method, an apparatus, a device, and a storage medium for testing performance of a game scenario, so as to solve the problem that data in the prior art is not analyzed and processed automatically, and the presented data is not intuitive enough.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, an embodiment of the present application provides a performance testing method for a game scenario, where the method includes:
acquiring data of a plurality of waypoints in a game scene to be tested;
respectively testing at least one item of performance of the data of each waypoint to obtain at least one item of performance test result of the game scene; wherein each of the performance test results comprises: a plurality of test values of the performance corresponding to the waypoints;
and generating a performance analysis diagram of the game scene, wherein the performance analysis diagram shows the performance test data corresponding to each waypoint, and the position of each waypoint in the performance analysis diagram is consistent with the position of the corresponding waypoint in the game scene.
Optionally, the performing at least one performance test on the data of each waypoint to obtain at least one performance test result of the game scene includes:
controlling a current waypoint where a game role is located to rotate a lens at a preset time interval, and carrying out at least one performance test on data of the current waypoint under each visual angle in the rotating process;
and when the lens rotation angle of the current waypoint reaches a preset angle, performing at least one item of performance test on other waypoints in the plurality of waypoints until the plurality of waypoints are tested, and obtaining at least one item of performance test result.
Optionally, the generating a performance analysis graph of the game scene includes:
dividing intervals of the performance test data corresponding to the multiple road points;
and generating a performance analysis chart of the game scene according to the test data after the interval division, wherein in the performance analysis chart, the way points of the test data in the same interval have the same display mode.
Optionally, the test data corresponding to each of the waypoints is: and averaging the test data of each waypoint at a plurality of viewing angles.
Optionally, the performing interval division on the performance test data corresponding to the multiple waypoints includes:
and according to at least one numerical value of the lowest value, the average value and the maximum value in each item of the performance test data, carrying out interval division on the performance test data corresponding to the multiple road points.
Optionally, the obtaining data of a plurality of waypoints in the game scene to be tested includes:
acquiring data of a plurality of waypoints in the game scene to be tested according to preset scene configuration information; wherein the scene configuration information includes at least one of the following parameters: the method comprises the following steps of testing edge points of a scene, coordinates of intersection points in the scene, and an identifier of the scene.
Optionally, the obtaining data of a plurality of waypoints in the game scene to be tested includes:
acquiring at least one line between the waypoints according to preset scene configuration information; wherein the circuit can cover the whole game scene to be tested;
calling a preset interface, and generating a waypoint set according to the at least one line; wherein the waypoint set comprises a plurality of waypoint data in the game scene to be tested.
Optionally, before the performing the test of at least one item of performance on the data of each waypoint to obtain the test result of at least one item of performance of the game scenario, the method further includes:
and acquiring test environment information of the client, and respectively testing at least one item of performance of the data of each waypoint according to the test environment information to obtain at least one item of performance test result of the game scene.
Optionally, before the obtaining data of a plurality of waypoints in the game scene to be tested, the method further includes:
responding to a test instruction input aiming at a test interface, and acquiring a debugging code of a game scene corresponding to the test instruction;
and running the debugging code of the game scene to acquire the data of a plurality of waypoints in the game scene to be tested.
In a second aspect, another embodiment of the present application provides a performance testing apparatus for a game scenario, which is applied to a client, and the apparatus includes: the device comprises an acquisition module, a test module and a generation module, wherein:
the acquisition module is used for acquiring data of a plurality of waypoints in a game scene to be tested;
the testing module is used for respectively testing at least one item of performance of the data of each waypoint to obtain at least one item of performance testing result of the game scene; wherein each of the performance test results comprises: a plurality of test values of the performance corresponding to the waypoints;
the generating module is configured to generate a performance analysis graph of the game scene, where the performance analysis graph shows the performance test data corresponding to each waypoint, and the position of each waypoint in the performance analysis graph is consistent with the position of the corresponding waypoint in the game scene.
Optionally, the testing module is further configured to control a current waypoint where the game character is located to rotate the lens at preset time intervals, and perform at least one performance test on data of the current waypoint at each viewing angle in a rotation process; and when the lens rotation angle of the current waypoint reaches a preset angle, performing at least one item of performance test on other waypoints in the plurality of waypoints until the plurality of waypoints are tested, and obtaining at least one item of performance test result.
Optionally, the generating module is further configured to perform interval division on the test data of the performance corresponding to the multiple waypoints;
generating a performance analysis chart of the game scene according to the test data after interval division; in the performance analysis diagram, the way points of the test data in the same interval have the same display mode.
Optionally, the generating module is further configured to perform interval division on the performance test data corresponding to the multiple waypoints according to at least one of a lowest value, an average value, and a maximum value in each of the performance test data.
Optionally, the obtaining module is further configured to obtain data of a plurality of waypoints in the game scene to be tested according to preset scene configuration information; wherein the scene configuration information includes at least one of the following parameters: the boundary points of the test scene, the coordinates of the intersection points in the test scene, and the identification of the test scene.
Optionally, the obtaining module is further configured to obtain at least one route between the waypoints according to preset scene configuration information; wherein the circuit can cover the whole game scene to be tested;
the generating module is further configured to call a preset interface, and generate a waypoint set according to the at least one line; wherein the waypoint set comprises a plurality of waypoint data in the game scene to be tested.
Optionally, the obtaining module is further configured to obtain testing environment information of the client, and perform at least one performance test on the data of each waypoint according to the testing environment information, to obtain at least one performance test result of the game scene.
Optionally, the obtaining module is further configured to respond to a test instruction input for a test interface, and obtain a debugging code of a game scene corresponding to the test instruction; and running the debugging code of the game scene to acquire the data of a plurality of waypoints in the game scene to be tested.
In a third aspect, another embodiment of the present application provides a performance testing apparatus for a game scenario, where the apparatus includes: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when the performance testing device of the game scene is operated, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to execute the steps of the method according to any one of the first aspect.
In a fourth aspect, another embodiment of the present application provides a storage medium having a computer program stored thereon, where the computer program is executed by a processor to perform the steps of the method according to any one of the above first aspects.
The beneficial effect of this application is: the performance of a plurality of data in the acquired game scene to be tested is tested to obtain at least one performance test result, and a performance analysis chart of the game scene to be tested is generated according to the performance test result, the performance test data corresponding to a plurality of waypoints are displayed in the performance analysis chart, and the positions of the waypoints in the performance analysis chart are the same as the positions of the waypoints corresponding to the scene, so that the processing mode can lead the data to present the performance test data corresponding to the waypoints in the form of images after the data is automatically processed and analyzed, lead the presented data to be more visual, and directly map the performance condition of the waypoints in the scene map.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic flowchart of a performance testing method for a game scenario according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a performance testing method for a game scenario according to another embodiment of the present application;
fig. 3 is a schematic flowchart of a performance testing method for a game scenario according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of a performance testing apparatus for a game scene according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a performance testing device of a game scene according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments.
Fig. 1 is a schematic flow chart of a performance testing method for a game scenario, which is applied to a client, and the method may be executed by any electronic device, such as a mobile phone, a tablet computer, and the like, capable of installing and running the test client, and the application is not limited herein, as shown in fig. 1, the method includes:
s101: and acquiring data of a plurality of waypoints in the game scene to be tested.
The data of the waypoints may include: coordinate points corresponding to the waypoints in the game scene to be tested, performance data to be tested corresponding to the waypoints and the like.
S102: and respectively testing at least one item of performance of the data of each waypoint to obtain a test result of at least one item of performance of the game scene.
Wherein the test result of each performance comprises: test data of performance corresponding to the plurality of waypoints.
Optionally, the performance data may include at least one of: frame rate, transmission per second performance, rendering performance Draw call, and component performance critical. Wherein the frame rate is a frequency at which bitmap images in units of frames continuously appear on the display; the test values of the transmission performance per second include: number of transmissions per second; the test values for rendering performance include: a number of times a Central Processing Unit (CPU) is instructed to perform a rendering operation; the testing of component performance is the quantity data of the loaded components (primitives).
S103: and generating a performance analysis chart of the game scene, wherein the performance analysis chart shows performance test data corresponding to each road point.
And the positions of all the waypoints in the performance analysis chart are consistent with the positions of the corresponding waypoints in the game scene.
Alternatively, if the performance test result is multiple, the multiple performance test results may be respectively displayed on the multiple graphs. The results of multiple performance tests may also be presented on a graph, in which: the test results of a plurality of performances can be respectively shown in a plurality of areas of a graph; different performances can be represented by different shapes on one graph, test results of multiple performances are displayed in the same area on one graph, the display form of the specific test results is designed according to the needs of users, and the application is not limited at all.
In this embodiment, a performance test is performed on a plurality of acquired data in a game scene to be tested to obtain at least one performance test result, and a performance analysis graph of the game scene to be tested is generated according to the performance test result, where the performance analysis graph shows performance test data corresponding to a plurality of waypoints, and the positions of the waypoints in the performance analysis graph are the same as the positions of the waypoints corresponding to the scene, and such a processing manner can make the data present the performance test data corresponding to the waypoints in an image form after the data is subjected to automatic processing and analysis, so that the presented data is more intuitive, and the performance status of the waypoints in the scene map can be directly mapped.
Optionally, in an embodiment of the present application, S102 may include: controlling the current waypoint where the game role is located to rotate the lens at preset time intervals, and testing at least one item of performance of the data of the current waypoint under each visual angle in the rotating process; and when the rotation angle of the lens of the current waypoint reaches a preset angle, testing at least one item of performance of other waypoints in the plurality of waypoints until the plurality of waypoints are tested, and obtaining a test result of at least one item of performance.
For example, the following steps are carried out: the test data of each path point under a plurality of visual angles is acquired in the following mode: 1. each path point where the role is located continuously and automatically rotates the lens according to an extremely short time interval (so that the visual picture of the client side can be completely covered); 2. and when the rotation of the waypoint reaches 360 degrees, the waypoint is tested completely, and at the moment, the next waypoint is automatically jumped to, and the operation of the step 1 is continuously repeated until all waypoints in the scene to be tested are tested completely. Each shot shift (or screen change) queries a series of performance data of the current waypoint according to an interface provided by the engine. The principle is as follows: and continuously inquiring current coordinate data through a game script interface according to a preset time interval by continuously changing the current scene coordinate of the character in the moving process, and storing the data into a local file.
Fig. 2 is a schematic flow chart of a performance testing method for a game scenario according to an embodiment of the present application, and as shown in fig. 2, S103 includes:
s104: and carrying out interval division on the performance test data corresponding to the multiple road points.
Wherein, the test data corresponding to each road point is as follows: average value of test data of each road point under a plurality of visual angles.
Optionally, if the test method provided by the present application is used for testing some special resources, the test method provided by the present application may be used for testing, the resource to be tested is configured with the test environment according to the requirement (for example, when the client has a performance with a large number of roles, the environment with the large number of roles is configured), then the performance test code script is directly called, and the related performance data of the client may also be output.
Optionally, the average value of the test data of each waypoint under multiple viewing angles may be calculated after each waypoint is tested, or the average value of the test data of each waypoint may be calculated one by one after all waypoints in the scene to be tested are tested.
S105: and generating a performance analysis chart of the game scene according to the test data after the interval division.
In the performance analysis diagram, the way points of the test data in the same interval have the same display mode.
Optionally, the display mode may be: the road points in different intervals are different in color or different in road point marks (such as circular, triangular and square), and the road points in different intervals are different in color and icons.
Different interval display modes are different, the performance conditions of all the waypoints can be more directly reflected on the graph, a user can clearly obtain which waypoints have abnormal performance consumption, and the problem waypoints can be accurately positioned.
Optionally, the step S104 may be to perform interval division on the performance test data corresponding to the multiple waypoints according to at least one of the lowest value, the average value, and the maximum value in the performance test data, and divide the performance of each waypoint into corresponding intervals; the interval division is designed by a user in advance, and in the test process, each waypoint is divided into the corresponding interval according to the performance data of each waypoint.
In one embodiment of the present application, the interval of the current test data is divided into [60-70], [70-80], [80-90] in sequence; wherein, the waypoint of the performance test data in the [60-70] interval can be defined as the waypoint with abnormity, and the waypoint is represented by a red icon in the performance analysis chart; defining the waypoints of the performance test data in the interval of [70-80] as normal waypoints, and representing the waypoints by yellow icons in a performance analysis chart; the waypoints of the performance test data in the [80-90] interval are defined as good waypoints, and the performance analysis graph is represented by green icons, so that whether the current performance condition of each waypoint is abnormal can be visually seen through corresponding to each waypoint in the three intervals by three different colors. If the performance of a waypoint is divided according to the average value of test data of the waypoint in the current test, the lowest value of the test data of a certain waypoint is 60, the average value is 75, and the highest value is 90, the average performance value of the waypoint can be considered to be 75, the waypoint is divided into normal waypoints, the specific way of dividing the waypoint can be designed according to the needs of users, and the application is not limited herein.
Fig. 3 is a schematic flowchart of a performance testing method for a game scenario according to an embodiment of the present application, and as shown in fig. 3, before S101, the method further includes:
s106: and responding to the test instruction input aiming at the test interface, and acquiring the debugging code of the game scene corresponding to the test instruction.
The debugging codes of the game scenes are packaged into a conventional interface or instruction form, the debugging codes are added into the debugging codes of the debugging interface and stored in the script database, and when the debugging device is used, the debugging codes of the corresponding game scenes are called in the script database only according to the test instructions input by the client (for example, clicking corresponding test buttons on a debugging panel), so that the preparation and the modification before the test are greatly reduced.
Alternatively, the script database may be an SVN repository.
S107: and running debugging codes of the game scene to acquire data of a plurality of waypoints in the game scene to be tested.
Alternatively, S101 may include: acquiring data of a plurality of waypoints in a game scene to be tested according to preset scene configuration information; wherein the scene configuration information includes at least one of the following parameters: the boundary points of the test scene, the coordinates of the intersection points in the test scene, and the identification of the test scene.
Optionally, before the preset scene configuration information is obtained, due to differences of the client devices, to avoid a problem of inaccurate data caused by device differences, data of the client devices needs to be obtained to ensure that the relevant variables do not affect the tested data, where the data of the client devices may include resolution, line of sight, and the like of the devices.
In one embodiment of the application, the data of the client device is automatically acquired and set by debugging codes of a game scene when testing is performed.
Alternatively, S101 may include: acquiring at least one line between each waypoint according to preset scene configuration information; the circuit can cover the whole game scene to be tested; then, calling a preset interface, and generating a waypoint set according to at least one line; the waypoint set comprises a plurality of waypoint data in a game scene to be tested.
After preset scene configuration information is acquired, the road points are connected in series, all road point combination forms are input, at least one line is combined among the road points, a line which can cover the whole scene resource loading is formed, then debugging codes of a game scene are called, and a road point set which covers the whole map is generated.
The process of obtaining the waypoint set is realized through debugging codes of the game scene, so that testers can obtain the performance test waypoint set of the scene after simply configuring preset scene configuration information, automatically perform test data recording and related data processing of performance indexes according to the waypoints, and finally perform image visualization operation on the processed data of each performance test, thereby saving test labor and enabling users to more clearly know the related data of the test waypoints.
By adopting the performance testing method of the game scene provided by the application, at least one performance testing result is obtained by performing performance testing on a plurality of data in the obtained game scene to be tested, each waypoint is divided into sections according to the performance testing result, the performance analysis chart of the game scene to be tested is generated according to the divided performance testing result, the performance analysis chart displays the performance testing data corresponding to a plurality of waypoints, the position of each waypoint in the performance analysis chart is the same as the position of each waypoint corresponding to the scene, and the waypoint display forms of different sections are different (the waypoint display forms of the same section are the same), the processing mode can lead the data to visually display the performance testing data corresponding to each waypoint in the form of images after the data is automatically processed and analyzed, and the performance condition of each waypoint in the scene map can be directly mapped, and the image that appears can direct expression fine arts resource's particular case, and all users can both clearly understand the concrete problem that fine arts resource exists on the different equipment, can pinpoint the orientation of optimizing in the fine arts resource preparation, have saved effectively to different performance equipment test manpowers.
Fig. 4 is a schematic structural diagram of a performance testing apparatus for a game scenario according to an embodiment of the present application, and as shown in fig. 4, the apparatus includes: an obtaining module 201, a testing module 202 and a generating module 203, wherein:
the obtaining module 201 is configured to obtain data of a plurality of waypoints in a game scene to be tested.
The testing module 202 is configured to perform at least one performance test on the data of each waypoint to obtain at least one performance test result of the game scene; wherein the test result of each performance comprises: and testing the performance corresponding to the multiple road points.
The generating module 203 is configured to generate a performance analysis graph of the game scene, where the performance analysis graph shows performance test data corresponding to each waypoint, and a position of each waypoint in the performance analysis graph is consistent with a position of the corresponding waypoint in the game scene.
Optionally, the testing module 202 is further configured to control the current waypoint where the game character is located to rotate the lens at preset time intervals, and perform at least one performance test on data of the current waypoint at each viewing angle in the rotating process; and when the rotation angle of the lens of the current waypoint reaches a preset angle, testing at least one item of performance of other waypoints in the plurality of waypoints until the plurality of waypoints are tested, and obtaining a test result of at least one item of performance.
Optionally, the generating module 203 is further configured to perform interval division on the performance test data corresponding to the multiple waypoints; generating a performance analysis chart of the game scene according to the test data after the interval division; in the performance analysis diagram, the way points of the test data in the same interval have the same display mode.
Optionally, the generating module 203 is further configured to perform interval division on the performance test data corresponding to the multiple waypoints according to at least one of the lowest value, the average value, and the maximum value in each performance test data.
Optionally, the obtaining module 201 is further configured to obtain data of a plurality of waypoints in the game scene to be tested according to preset scene configuration information; wherein the scene configuration information includes at least one of the following parameters: the boundary points of the test scene, the coordinates of the intersection points in the test scene, and the identification of the test scene.
Optionally, the obtaining module 201 is further configured to obtain at least one line between the waypoints according to preset scene configuration information; wherein the circuit can cover the whole game scene to be tested.
The generating module 203 is further configured to invoke a preset interface, and generate a waypoint set according to at least one line; the waypoint set comprises a plurality of waypoint data in a game scene to be tested.
Optionally, the obtaining module 201 is further configured to obtain testing environment information of the client, and perform at least one performance test on data of each waypoint according to the testing environment information, to obtain at least one performance test result of the game scene.
Optionally, the obtaining module 201 is further configured to respond to a test instruction input for the test interface, and obtain a debugging code of a game scene corresponding to the test instruction; and running debugging codes of the game scene to acquire data of a plurality of waypoints in the game scene to be tested.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 5 is a schematic structural diagram of a performance testing device of a game scenario provided in an embodiment of the present application, where the performance testing device of the game scenario may be integrated in a terminal device or a chip of the terminal device.
The performance test equipment of the game scene comprises: a processor 501, a storage medium 502, and a bus 503.
The processor 501 is used for storing a program, and the processor 501 calls the program stored in the storage medium 502 to execute the method embodiment corresponding to fig. 1-3. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the present application also provides a program product, such as a storage medium, on which a computer program is stored, including a program, which, when executed by a processor, performs embodiments corresponding to the above-described method.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to perform some steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

Claims (12)

1. A performance testing method for a game scene is characterized by comprising the following steps:
acquiring data of a plurality of waypoints in a game scene to be tested;
respectively testing at least one item of performance of the data of each waypoint to obtain at least one item of performance test result of the game scene; wherein each of the performance test results comprises: test data of the performance corresponding to a plurality of the waypoints;
generating a performance analysis chart of the game scene, wherein the performance analysis chart shows the performance test data corresponding to each road point; and the position of each waypoint in the performance analysis chart is consistent with the position of the corresponding waypoint in the game scene.
2. The method of claim 1, wherein said performing at least one performance test on each of said waypoint data to obtain at least one performance test result for said game scenario comprises:
controlling a current waypoint where a game role is located to rotate a lens at a preset time interval, and carrying out at least one performance test on data of the current waypoint under each visual angle in the rotating process;
and when the lens rotation angle of the current waypoint reaches a preset angle, performing at least one item of performance test on other waypoints in the plurality of waypoints until the plurality of waypoints are tested, and obtaining at least one item of performance test result.
3. The method of claim 1, wherein the generating a performance analysis map of the game scene comprises:
dividing intervals of the performance test data corresponding to the multiple road points;
generating a performance analysis chart of the game scene according to the test data after interval division; in the performance analysis diagram, the way points of the test data in the same interval have the same display mode.
4. The method of claim 3, wherein the test data corresponding to each of the waypoints is: and averaging the test data of each waypoint at a plurality of viewing angles.
5. The method of claim 3, wherein said partitioning test data for said performance corresponding to a plurality of said waypoints into intervals comprises:
and according to at least one numerical value of the lowest value, the average value and the maximum value in each item of the performance test data, carrying out interval division on the performance test data corresponding to the multiple road points.
6. The method of claim 1, wherein said obtaining data for a plurality of waypoints in a game scene to be tested comprises:
acquiring data of a plurality of waypoints in the game scene to be tested according to preset scene configuration information; wherein the scene configuration information includes at least one of the following parameters: the method comprises the following steps of testing edge points of a scene, coordinates of intersection points in the scene, and an identifier of the scene.
7. The method of claim 6, wherein said obtaining data for a plurality of waypoints in a game scene to be tested comprises:
acquiring at least one line between the waypoints according to preset scene configuration information; wherein the circuit can cover the whole game scene to be tested;
calling a preset interface, and generating a waypoint set according to the at least one line; wherein the waypoint set comprises a plurality of waypoint data in the game scene to be tested.
8. The method of claim 1, wherein before performing at least one performance test on the data of each waypoint separately to obtain at least one performance test result of the game scenario, the method further comprises:
and acquiring test environment information of a client, and respectively testing at least one item of performance of the data of each waypoint according to the test environment information to obtain at least one item of performance test result of the game scene.
9. The method of any of claims 1-8, prior to obtaining data for a plurality of waypoints in a game scene to be tested, the method further comprising:
responding to a test instruction input aiming at a test interface, and acquiring a debugging code of a game scene corresponding to the test instruction;
and running the debugging code of the game scene to acquire the data of a plurality of waypoints in the game scene to be tested.
10. A performance testing apparatus for a game scenario, the apparatus comprising: the device comprises an acquisition module, a test module and a generation module, wherein:
the acquisition module is used for acquiring data of a plurality of waypoints in a game scene to be tested;
the testing module is used for respectively testing at least one item of performance of the data of each waypoint to obtain at least one item of performance testing result of the game scene; wherein each of the performance test results comprises: a plurality of test values of the performance corresponding to the waypoints;
the generating module is configured to generate a performance analysis graph of the game scene, where the performance analysis graph shows the performance test data corresponding to each waypoint, and the position of each waypoint in the performance analysis graph is consistent with the position of the corresponding waypoint in the game scene.
11. A performance testing apparatus for a game scenario, the apparatus comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the performance testing device of a game scenario is running, the processor executing the machine-readable instructions to perform the steps of the method of any one of claims 1-7.
12. A storage medium having stored thereon a computer program for performing the steps of the method according to any of claims 1-7 when executed by a processor.
CN202010016718.5A 2020-01-07 2020-01-07 Performance test method, device and equipment for game scene and storage medium Pending CN111240977A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010016718.5A CN111240977A (en) 2020-01-07 2020-01-07 Performance test method, device and equipment for game scene and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010016718.5A CN111240977A (en) 2020-01-07 2020-01-07 Performance test method, device and equipment for game scene and storage medium

Publications (1)

Publication Number Publication Date
CN111240977A true CN111240977A (en) 2020-06-05

Family

ID=70866059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010016718.5A Pending CN111240977A (en) 2020-01-07 2020-01-07 Performance test method, device and equipment for game scene and storage medium

Country Status (1)

Country Link
CN (1) CN111240977A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111813689A (en) * 2020-07-22 2020-10-23 腾讯科技(深圳)有限公司 Game testing method, apparatus and medium
CN112069079A (en) * 2020-09-22 2020-12-11 腾讯科技(成都)有限公司 Performance test method, related device and storage medium
CN112100065A (en) * 2020-09-08 2020-12-18 完美世界(重庆)互动科技有限公司 Game scene data processing method, device and equipment
CN112817821A (en) * 2021-02-01 2021-05-18 网易(杭州)网络有限公司 Data processing method, device, equipment and storage medium
CN113157593A (en) * 2021-05-24 2021-07-23 网易(杭州)网络有限公司 Performance data acquisition method, device, system, electronic equipment and storage medium
CN113384879A (en) * 2021-05-14 2021-09-14 完美世界征奇(上海)多媒体科技有限公司 Game data display method and device
CN113157593B (en) * 2021-05-24 2024-05-10 网易(杭州)网络有限公司 Performance data acquisition method, device, system, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120204153A1 (en) * 2011-02-04 2012-08-09 Disney Enterprises, Inc. Automated testing on multiple video game platforms
CN106055470A (en) * 2016-05-19 2016-10-26 网易(杭州)网络有限公司 Method, device and system for performance testing of game program
CN106267822A (en) * 2016-08-18 2017-01-04 网易(杭州)网络有限公司 The method of testing of game performance and device
CN106528398A (en) * 2015-09-15 2017-03-22 网易(杭州)网络有限公司 Game software performance visual analysis method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120204153A1 (en) * 2011-02-04 2012-08-09 Disney Enterprises, Inc. Automated testing on multiple video game platforms
CN106528398A (en) * 2015-09-15 2017-03-22 网易(杭州)网络有限公司 Game software performance visual analysis method
CN106055470A (en) * 2016-05-19 2016-10-26 网易(杭州)网络有限公司 Method, device and system for performance testing of game program
CN106267822A (en) * 2016-08-18 2017-01-04 网易(杭州)网络有限公司 The method of testing of game performance and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111813689A (en) * 2020-07-22 2020-10-23 腾讯科技(深圳)有限公司 Game testing method, apparatus and medium
CN111813689B (en) * 2020-07-22 2021-08-31 腾讯科技(深圳)有限公司 Game testing method, apparatus and medium
CN112100065A (en) * 2020-09-08 2020-12-18 完美世界(重庆)互动科技有限公司 Game scene data processing method, device and equipment
CN112069079A (en) * 2020-09-22 2020-12-11 腾讯科技(成都)有限公司 Performance test method, related device and storage medium
CN112069079B (en) * 2020-09-22 2024-03-22 腾讯科技(成都)有限公司 Performance test method, related device and storage medium
CN112817821A (en) * 2021-02-01 2021-05-18 网易(杭州)网络有限公司 Data processing method, device, equipment and storage medium
CN112817821B (en) * 2021-02-01 2022-12-20 网易(杭州)网络有限公司 Data processing method, device, equipment and storage medium
CN113384879A (en) * 2021-05-14 2021-09-14 完美世界征奇(上海)多媒体科技有限公司 Game data display method and device
CN113157593A (en) * 2021-05-24 2021-07-23 网易(杭州)网络有限公司 Performance data acquisition method, device, system, electronic equipment and storage medium
CN113157593B (en) * 2021-05-24 2024-05-10 网易(杭州)网络有限公司 Performance data acquisition method, device, system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111240977A (en) Performance test method, device and equipment for game scene and storage medium
JP5875751B2 (en) Graphic analysis technology
CN107845113B (en) Target element positioning method and device and user interface testing method and device
US10810113B2 (en) Method and apparatus for creating reference images for an automated test of software with a graphical user interface
CN109767447B (en) Template matching method, device, equipment and medium
CN111124567B (en) Operation recording method and device for target application
EP2871560B1 (en) Image processing method and apparatus
CN109801342B (en) Method and device for dynamically identifying mapping fit degree in running process on mobile equipment
US20200187332A1 (en) Automated re-creation of lighting visual for stage
CN110708214B (en) Service data display method, device, equipment and computer readable storage medium
WO2016043729A1 (en) User interface layout comparison
CN106294161A (en) The interface function method of testing of a kind of application and device
WO2023142434A1 (en) Rendering engine testing method and apparatus, device, system, storage medium, computer program and computer program product
CN112274934A (en) Model rendering method, device, equipment and storage medium
CN109144868B (en) Page judgment method and device
CN106951138B (en) Icon fuzzification method and device
CN110827658A (en) Method and device for displaying equipment in electronic map
CN107179181B (en) Display screen uniformity testing method, terminal and computer readable storage medium
CN113568735B (en) Data processing method and system
CN112257134B (en) Model management method and device and electronic equipment
CN113887566A (en) AR test method, AR test device and computer-readable storage medium
CN112486993A (en) Air quality visual display method and air quality visual display system
CN111736748A (en) Data processing method and device based on map information and electronic equipment
CN112306838A (en) Page layout compatibility testing method, device and equipment and readable storage medium
CN116416238A (en) Abnormal screen shielding detection method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination