CN112256541A - Method for testing display performance and pressure of graphical window of operating system - Google Patents

Method for testing display performance and pressure of graphical window of operating system Download PDF

Info

Publication number
CN112256541A
CN112256541A CN202011082094.3A CN202011082094A CN112256541A CN 112256541 A CN112256541 A CN 112256541A CN 202011082094 A CN202011082094 A CN 202011082094A CN 112256541 A CN112256541 A CN 112256541A
Authority
CN
China
Prior art keywords
window
performance
testing
graphical
graphic
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
CN202011082094.3A
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.)
Kirin Software Co Ltd
Original Assignee
Kirin Software 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 Kirin Software Co Ltd filed Critical Kirin Software Co Ltd
Priority to CN202011082094.3A priority Critical patent/CN112256541A/en
Publication of CN112256541A publication Critical patent/CN112256541A/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/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment

Landscapes

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

Abstract

A method for testing the display performance and pressure of an operating system graphic window belongs to the technical field of graphic window display performance and pressure testing, and comprises the following steps: configuring a graphic window performance testing software on an operating system; starting the performance test software of the graphic window; configuring test information on the graph window performance test software; the graphical window performance testing software schedules window events; the graphical window performance testing software executes the window event; and the graphical window performance testing software outputs a test report. The method for testing the display performance and the pressure of the graphical window of the operating system has the following effects: (1) the method for evaluating the display performance and the pressure of the domestic cross-architecture platform is provided; (2) a display stability test method according with the actual use condition of a user is provided; (3) providing a performance standard value for a graphical program suite of a domestic system; (4) and a basis and a solution idea are provided for subsequent product updating and optimization.

Description

Method for testing display performance and pressure of graphical window of operating system
Technical Field
The invention belongs to the technical field of graphical window display performance and pressure testing, and particularly relates to a graphical window display performance and pressure testing method for an operating system.
Background
The prior art lacks a graphical window display performance and stability test method under a Linux graphical operating system, and most of the existing performance stress tests are concurrent tests aiming at web applications and interfaces or single apps, such as loadrunner and jemeter. The existing operating system display performance test mainly aims at microscopic benchmark test of the performance of a display card, such as Linux 2D and 3D display benchmark performance test, but the benchmark performance test on the appearance cannot truly reflect the graphic window display performance and stability of the operating system.
Generally, the graph is the most intuitive product window of the graphical system for user experience, and the quality of the graphical product needs to be evaluated by a set of measuring methods so as to promote the quality improvement and the product updating of the graphical product. However, at present, a method for testing the performance pressure of the graphic operation scene in the practical use process of a user does not exist.
Disclosure of Invention
In order to solve the above problems, the present invention provides a method for testing the display performance and pressure of an operating system graphic window, comprising the steps of:
configuring a graphic window performance testing software on an operating system;
starting the performance test software of the graphic window;
configuring test information on the graph window performance test software;
the graphical window performance testing software schedules window events;
the graphical window performance testing software executes the window event;
and the graphical window performance testing software outputs a test report.
Preferably, the configuring test information on the graphics window performance test software includes the steps of:
configuring a graph window performance test parameter on the graph window performance test software;
configuring a graphic application scene on the graphic window performance test software;
and configuring a test scene combination queue on the graph window performance test software according to the graph application scene.
Preferably, the configuring of the graphics window performance testing parameters on the graphics window performance testing software includes the steps of:
configuring window event testing times on the graph window performance testing software;
configuring window event testing intensity on the graph window performance testing software;
and configuring the adjacent window event sleep time on the graphical window performance test software.
Preferably, the configuring a graphics application scenario on the graphics window performance testing software comprises the steps of:
configuring a 2D static graphic application scene on the graphic window performance test software;
configuring a 3D static graphic application scene on the graphic window performance test software;
configuring a 2D dynamic graphic application scene on the graphic window performance test software;
configuring a 3D dynamic graphic application scene on the graphic window performance test software;
and configuring a desktop environment application scene on the graphical window performance testing software.
Preferably, the configuring a test scenario combination queue on the graphics window performance test software according to the graphics application scenario includes:
acquiring all the graphic application scenes;
acquiring an actual use process of a user;
and combining all the graphic application scenes according to the actual using process of the user to obtain the test scene combination queue.
Preferably, the scheduling of the window event by the graphical window performance testing software comprises the steps of:
executing each of the graphic application scenes in the test scene combination queue;
generating an ID and a name of each graphic application scene;
generating a window event corresponding to each ID;
and generating a scheduling dictionary according to the ID and the corresponding window event.
Preferably, the executing of the window event by the graphical window performance testing software comprises the steps of:
acquiring a scheduling dictionary;
sequentially executing each window event in the scheduling dictionary;
judging whether the window crashes or not;
if yes, stopping testing;
and if not, executing the next adjacent window event.
Preferably, after the executing of the next window event, the method further comprises the steps of:
acquiring a test scene combination queue corresponding to the current window event;
judging whether the length of the test scene combination queue is less than or equal to 0;
if yes, executing the adjacent next test scene combination queue;
and if not, executing the next adjacent window event.
Preferably, the executing the window event in the schedule dictionary comprises the steps of:
calculating the accuracy of graphic rendering display;
calculating a response time of the window event;
acquiring the use condition of operating system resources in the execution process of the window event;
calculating the time consumed by the window event from the beginning of execution to the end of execution.
The method for testing the display performance and the pressure of the graphic window of the operating system is suitable for testing the performance pressure of the desktop environment of the domestic kylin operating system and the graphical application of a third party, and the display performance and the stability of the graphic window of the desktop of the system are tested under certain pressure through test configuration and scene configuration; the testing method simulates a graphic operation scene and a plurality of application comprehensive use scenes in the actual use process of a user, can reflect the real performance of the graphic environment of the kylin operation system more truly, and provides a graphical environment collapse recurrence method.
The method for testing the display performance and the pressure of the graphical window of the operating system fills the gap of the display performance and the pressure test in the domestic Linux operating system (the Galaxy kylin operating system), effectively solves the problem of the evaluation method of the display performance and the pressure based on the domestic cross-architecture platform, provides a standard value for the performance of the graphical program suite of the domestic system, and provides a basis and a solution for the updating and optimization of subsequent products.
Compared with the prior art, the invention has the following advantages:
(1) the method for evaluating the display performance and the pressure of the domestic cross-architecture platform is provided;
(2) a display stability test method according with the actual use condition of a user is provided;
(3) providing a performance standard value for a graphical program suite of a domestic system;
(4) and a basis and a solution idea are provided for subsequent product updating and optimization.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow chart of a method for testing the display performance and pressure of a graphical window of an operating system according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings in conjunction with the following detailed description. It should be understood that the description is intended to be exemplary only, and is not intended to limit the scope of the present invention. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present invention.
Referring to fig. 1, in an embodiment of the present application, the present invention provides a method for testing display performance and stress of a graphical window of an operating system, where the method includes:
s1: configuring a graphic window performance testing software on an operating system;
s2: starting the performance test software of the graphic window;
s3: configuring test information on the graph window performance test software;
s4: the graphical window performance testing software schedules window events;
s5: the graphical window performance testing software executes the window event;
s6: and the graphical window performance testing software outputs a test report.
When the graphic window display performance and the pressure test are carried out on an operating system, firstly, graphic window performance test software is configured on the operating system, wherein the operating system can be a Windows system, a Linux system, an operating system developed by foreign companies, a domestic operating system, such as a domestic Galaxy kylin operating system; the graphic window performance testing software can be the existing testing software or the software developed by a tester according to the testing requirement. When testing, starting the graphic window performance testing software on the operating system, then configuring the testing information on the graphic window performance testing software, scheduling a window event by the graphic window performance testing software, executing the window event to test the operating system, and finally outputting a testing report by the graphic window performance testing software for a tester to analyze the graphic window display performance and the pressure stability of the operating system in reference. The method provided by the application adopts python language coding, and meets the stability test requirement on the cross-architecture platform.
In this embodiment of the present application, the step of configuring test information on the graphics window performance test software in step S3 includes the steps of:
configuring a graph window performance test parameter on the graph window performance test software;
configuring a graphic application scene on the graphic window performance test software;
and configuring a test scene combination queue on the graph window performance test software according to the graph application scene.
Specifically, the test information includes: the system comprises a graph window performance test parameter, a graph application scene and a test scene combination queue. And configuring the graphical window performance test parameters, the graphical application scene and the test scene combination queue on the graphical window performance test software so as to complete the configuration of the test information.
Further, in this embodiment of the present application, the configuring the graphics window performance testing parameters on the graphics window performance testing software includes:
configuring window event testing times on the graph window performance testing software;
configuring window event testing intensity on the graph window performance testing software;
and configuring the adjacent window event sleep time on the graphical window performance test software.
Specifically, the graphic window performance test parameters include: window event test times, window event test strength, and adjacent window event sleep time. The window event test times represent the test times of each window event, the window event test strength represents the test strength of each window event, and the adjacent window event sleep time represents the sleep duration of the interval between two adjacent window events.
Further, in this embodiment of the present application, the configuring a graphics application scenario on the graphics window performance testing software includes:
configuring a 2D static graphic application scene on the graphic window performance test software;
configuring a 3D static graphic application scene on the graphic window performance test software;
configuring a 2D dynamic graphic application scene on the graphic window performance test software;
configuring a 3D dynamic graphic application scene on the graphic window performance test software;
and configuring a desktop environment application scene on the graphical window performance testing software.
Specifically, the graphic application scenario includes: a 2D static graphics application scenario, a 3D static graphics application scenario, a 2D dynamic graphics application scenario, a 3D dynamic graphics application scenario, and a desktop environment application scenario.
Further, in this embodiment of the present application, the configuring a test scenario combination queue on the graphics window performance test software according to the graphics application scenario includes:
acquiring all the graphic application scenes;
acquiring an actual use process of a user;
and combining all the graphic application scenes according to the actual using process of the user to obtain the test scene combination queue.
Specifically, the test scene combination queue includes at least one graphic application scene, and one or more graphic application scenes are selected from each test scene combination queue according to the actual use process of the user to obtain the test scene combination queue.
In this embodiment of the present application, the step S4 of scheduling the window event by the graphical window performance testing software includes the steps of:
executing each of the graphic application scenes in the test scene combination queue;
generating an ID and a name of each graphic application scene;
generating a window event corresponding to each ID;
and generating a scheduling dictionary according to the ID and the corresponding window event.
In the embodiment of the application, when the graphical window performance testing software carries out a scheduling window event, each graphical application scene in the testing scene combination queue is executed firstly; then generating ID and name of each graphic application scene; then generating a window event corresponding to each ID; and then generating a scheduling dictionary according to the ID and the corresponding window event.
In this embodiment of the present application, the step S5 of the graphical window performance testing software executing the window event includes the steps of:
acquiring a scheduling dictionary;
sequentially executing each window event in the scheduling dictionary;
judging whether the window crashes or not;
if yes, stopping testing;
and if not, executing the next adjacent window event.
In the embodiment of the application, when the graphical window performance test software executes the window event, a scheduling dictionary is obtained firstly; then sequentially executing each window event in the scheduling dictionary; and determining whether the window crashes; stopping the test when the test is broken down; when there is no crash, the next adjacent window event is executed.
In this embodiment of the present application, after the executing of the next window event, the method further includes:
acquiring a test scene combination queue corresponding to the current window event;
judging whether the length of the test scene combination queue is less than or equal to 0;
if yes, executing the adjacent next test scene combination queue;
and if not, executing the next adjacent window event.
In the embodiment of the application, after the execution of the next adjacent window event, a test scenario combination queue corresponding to the current window event is obtained; judging whether the length of the test scene combination queue is less than or equal to 0; when the length of the test scene combination queue is less than or equal to 0, executing the next adjacent test scene combination queue; and when the length of the test scene combination queue is greater than 0, executing the next adjacent window event.
In this embodiment of the present application, the executing the window event in the scheduling dictionary includes:
calculating the accuracy of graphic rendering display;
calculating a response time of the window event;
acquiring the use condition of operating system resources in the execution process of the window event;
calculating the time consumed by the window event from the beginning of execution to the end of execution.
In the embodiment of the application, when the window event in the scheduling dictionary is executed, the accuracy of graphic rendering display is calculated; and calculating a response time of the window event; then obtaining the service condition of the operating system resource in the window event execution process; the time consumed by the window event from the beginning of execution to the end of execution is then calculated. When the test report is output, the accuracy of the graphic rendering display, the response time of the window event, the use condition of the operating system resource in the execution process of the window event and the time consumed by the window event from the beginning to the end of the execution can be output.
The method for testing the display performance and the pressure of the graphic window of the operating system is suitable for testing the performance pressure of the desktop environment of the domestic kylin operating system and the graphical application of a third party, and the display performance and the stability of the graphic window of the desktop of the system are tested under certain pressure through test configuration and scene configuration; the testing method simulates a graphic operation scene and a plurality of application comprehensive use scenes in the actual use process of a user, can reflect the real performance of the graphic environment of the kylin operation system more truly, and provides a graphical environment collapse recurrence method.
The method for testing the display performance and the pressure of the graphical window of the operating system fills the gap of the display performance and the pressure test in the domestic Linux operating system (the Galaxy kylin operating system), effectively solves the problem of the evaluation method of the display performance and the pressure based on the domestic cross-architecture platform, provides a standard value for the performance of the graphical program suite of the domestic system, and provides a basis and a solution for the updating and optimization of subsequent products.
Compared with the prior art, the invention has the following advantages:
(1) the method for evaluating the display performance and the pressure of the domestic cross-architecture platform is provided;
(2) a display stability test method according with the actual use condition of a user is provided;
(3) providing a performance standard value for a graphical program suite of a domestic system;
(4) and a basis and a solution idea are provided for subsequent product updating and optimization.
It is to be understood that the above-described embodiments of the present invention are merely illustrative of or explaining the principles of the invention and are not to be construed as limiting the invention. Therefore, any modification, equivalent replacement, improvement and the like made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. Further, it is intended that the appended claims cover all such variations and modifications as fall within the scope and boundaries of the appended claims or the equivalents of such scope and boundaries.

Claims (9)

1. A method for testing the display performance and the pressure of an operating system graphic window is characterized by comprising the following steps:
configuring a graphic window performance testing software on an operating system;
starting the performance test software of the graphic window;
configuring test information on the graph window performance test software;
the graphical window performance testing software schedules window events;
the graphical window performance testing software executes the window event;
and the graphical window performance testing software outputs a test report.
2. The method for testing the display performance and the pressure of the graphical window of the operating system according to claim 1, wherein the step of configuring the test information on the graphical window performance test software comprises the steps of:
configuring a graph window performance test parameter on the graph window performance test software;
configuring a graphic application scene on the graphic window performance test software;
and configuring a test scene combination queue on the graph window performance test software according to the graph application scene.
3. The method for testing the display performance and the pressure of the graphical window of the operating system according to claim 2, wherein the step of configuring the performance test parameters of the graphical window on the performance test software of the graphical window comprises the following steps:
configuring window event testing times on the graph window performance testing software;
configuring window event testing intensity on the graph window performance testing software;
and configuring the adjacent window event sleep time on the graphical window performance test software.
4. The method for testing the display performance and the pressure of the graphical window of the operating system according to claim 2, wherein the step of configuring the graphical application scene on the graphical window performance testing software comprises the steps of:
configuring a 2D static graphic application scene on the graphic window performance test software;
configuring a 3D static graphic application scene on the graphic window performance test software;
configuring a 2D dynamic graphic application scene on the graphic window performance test software;
configuring a 3D dynamic graphic application scene on the graphic window performance test software;
and configuring a desktop environment application scene on the graphical window performance testing software.
5. The method for testing the display performance and the pressure of the graphical window of the operating system according to claim 2, wherein the step of configuring the test scene combination queue on the graphical window performance test software according to the graphical application scene comprises the steps of:
acquiring all the graphic application scenes;
acquiring an actual use process of a user;
and combining all the graphic application scenes according to the actual using process of the user to obtain the test scene combination queue.
6. The method for testing the display performance and the pressure of the graphical window of the operating system according to claim 1, wherein the graphical window performance testing software scheduling window events comprises the steps of:
executing each of the graphic application scenes in the test scene combination queue;
generating an ID and a name of each graphic application scene;
generating a window event corresponding to each ID;
and generating a scheduling dictionary according to the ID and the corresponding window event.
7. The method for testing the display performance and the pressure of the graphical window of the operating system according to claim 1, wherein the step of executing the window event by the graphical window performance testing software comprises the steps of:
acquiring a scheduling dictionary;
sequentially executing each window event in the scheduling dictionary;
judging whether the window crashes or not;
if yes, stopping testing;
and if not, executing the next adjacent window event.
8. The method for testing the display performance and pressure of the graphical window of the operating system as claimed in claim 7, further comprising the step of, after said executing the next window event:
acquiring a test scene combination queue corresponding to the current window event;
judging whether the length of the test scene combination queue is less than or equal to 0;
if yes, executing the adjacent next test scene combination queue;
and if not, executing the next adjacent window event.
9. The method for testing the display performance and pressure of the graphical window of the operating system as claimed in claim 7, wherein the step of executing the window event in the scheduling dictionary comprises the steps of:
calculating the accuracy of graphic rendering display;
calculating a response time of the window event;
acquiring the use condition of operating system resources in the execution process of the window event;
calculating the time consumed by the window event from the beginning of execution to the end of execution.
CN202011082094.3A 2020-10-12 2020-10-12 Method for testing display performance and pressure of graphical window of operating system Pending CN112256541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011082094.3A CN112256541A (en) 2020-10-12 2020-10-12 Method for testing display performance and pressure of graphical window of operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011082094.3A CN112256541A (en) 2020-10-12 2020-10-12 Method for testing display performance and pressure of graphical window of operating system

Publications (1)

Publication Number Publication Date
CN112256541A true CN112256541A (en) 2021-01-22

Family

ID=74242719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011082094.3A Pending CN112256541A (en) 2020-10-12 2020-10-12 Method for testing display performance and pressure of graphical window of operating system

Country Status (1)

Country Link
CN (1) CN112256541A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120174069A1 (en) * 2010-12-31 2012-07-05 Verizon Patent And Licensing, Inc. Graphical user interface testing systems and methods
CN107832176A (en) * 2017-11-16 2018-03-23 郑州云海信息技术有限公司 Hard disk pressure automatic test approach and system under a kind of Windows
CN109144864A (en) * 2018-08-13 2019-01-04 北京百度网讯科技有限公司 Method and device for test window
CN109857668A (en) * 2019-02-03 2019-06-07 苏州市龙测智能科技有限公司 UI automated function test method, test device, test equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120174069A1 (en) * 2010-12-31 2012-07-05 Verizon Patent And Licensing, Inc. Graphical user interface testing systems and methods
CN107832176A (en) * 2017-11-16 2018-03-23 郑州云海信息技术有限公司 Hard disk pressure automatic test approach and system under a kind of Windows
CN109144864A (en) * 2018-08-13 2019-01-04 北京百度网讯科技有限公司 Method and device for test window
CN109857668A (en) * 2019-02-03 2019-06-07 苏州市龙测智能科技有限公司 UI automated function test method, test device, test equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109302522B (en) Test method, test device, computer system, and computer medium
CN102479151B (en) Testing method and device of webpage access speed
CN110162471A (en) A kind of method for testing pressure and system based on container cloud
CN109684188B (en) Test method and device
CN111309343B (en) Development deployment method and device
CN110007921B (en) Code publishing method and device
CN109165153A (en) A kind of performance test methods of high emulation securities business transaction class system
US20230185702A1 (en) Method and Apparatus for Generating and Applying Deep Learning Model based on Deep Learning Framework
US8918762B2 (en) Generating test plans and test cases from service-oriented architecture and process models
CN115576828A (en) Test case generation method, device, equipment and storage medium
CN108170592B (en) Remote testing method and terminal for virtual reality software performance
CN112256541A (en) Method for testing display performance and pressure of graphical window of operating system
CN114880182B (en) Monitoring platform testing method and device, electronic equipment and readable storage medium
CN115563773A (en) Interface signal adjusting method, device, equipment and storage medium
US20120232880A1 (en) Performance assessment of a program model
CN103019927A (en) Performance testing method and system
CN114860563A (en) Application program testing method and device, computer readable storage medium and equipment
CN111061599B (en) Method for generating check point of interface test environment
CN106855840B (en) System CPU analysis method and device
CN111309595A (en) Special effect testing method and device, electronic equipment and computer readable medium
CN115098405B (en) Software product evaluation method and device, electronic equipment and storage medium
CN113360368B (en) Method and device for testing software performance
CN115934575A (en) Product testing method, device, equipment and storage medium
CN111090574B (en) Regression testing method, device and storage medium
CN116991739A (en) Internet of things platform testing method and device, electronic equipment and readable 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210122

RJ01 Rejection of invention patent application after publication