A method, apparatus, device, storage medium, and product for optimizing application performance.
By obtaining the unit increment of service and performance metrics of application clients, the contribution of each application performance metric is quantified, enabling precise performance optimization of application clients, solving the problem of difficulty in locating performance bottlenecks, and improving the utilization rate of optimization resources.
Patent Information
- Application Number
- CN202510638522.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-16
- Publication Date
- 2026-11-17
AI Technical Summary
In existing technologies, performance optimization of application clients relies on the experience of technical personnel, which makes it difficult to locate performance bottlenecks, achieve reasonable allocation of optimization resources, and result in unsatisfactory optimization effects.
By acquiring service metrics and application performance metrics of the application client, calculating the increment of each metric, determining the metric parameter data, and performing performance optimization on the application client based on this data, the contribution of each application performance metric is quantified, and performance bottlenecks are accurately located.
It improved the utilization rate of optimized resources, ensured the optimization effect of application clients, and solved the problem of difficulty in locating performance bottlenecks.
Smart Images

Figure CN123114904A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a method, apparatus, device, storage medium and product for optimizing application performance. Background Technology
[0002] When application clients run online, numerous performance metrics are involved. Currently, the performance optimization process largely relies on the experience of technical personnel, making it difficult to accurately pinpoint performance bottlenecks. Consequently, it is difficult to achieve a reasonable allocation of optimization resources, resulting in less than ideal optimization effects. Summary of the Invention
[0003] This invention provides a method, apparatus, device, storage medium, and product for optimizing application performance, in order to solve the problem of difficulty in locating performance bottlenecks, improve the utilization rate of optimization resources, and ensure the optimization effect of application clients.
[0004] In a first aspect, embodiments of the present invention provide a method for optimizing application performance, the method comprising:
[0005] Obtain service metrics for the application client and at least two application performance metrics;
[0006] For each application performance metric, obtain the unit metric increment corresponding to the application performance metric and the service metric, and determine the metric parameter data corresponding to the application performance metric based on the unit metric increment; wherein, the unit metric increment represents the increment generated by the service metric under the unit optimization range of the application performance metric, and the metric parameter data represents the metric change generated based on the application performance metric and the service metric.
[0007] The application client is optimized based on the at least two application performance metrics and the at least two metric parameter data.
[0008] Secondly, embodiments of the present invention also provide an application performance optimization device, the device comprising:
[0009] The application performance metrics acquisition module is used to acquire service metrics of the application client and at least two application performance metrics.
[0010] The indicator parameter data determination module is used to obtain the unit indicator increment corresponding to the application performance indicator and the service indicator for each application performance indicator, and determine the indicator parameter data corresponding to the application performance indicator based on the unit indicator increment; wherein, the unit indicator increment represents the increment generated by the service indicator under the unit optimization range of the application performance indicator, and the indicator parameter data represents the indicator change based on the application performance indicator and the service indicator.
[0011] The performance optimization processing module is used to perform performance optimization processing on the application client based on the at least two application performance indicators and at least two indicator parameter data.
[0012] Thirdly, embodiments of the present invention also provide an electronic device, the electronic device comprising:
[0013] At least one processor; and
[0014] A memory communicatively connected to the at least one processor; wherein,
[0015] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the application performance optimization method described in any embodiment of the present invention.
[0016] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing computer instructions that are used to cause a processor to execute and implement the application performance optimization method described in any embodiment of the present invention.
[0017] Fifthly, embodiments of the present invention also provide a computer program product, including a computer program that, when executed by a processor, implements the application performance optimization method described in any embodiment of the present invention.
[0018] The technical solution of this invention obtains the unit indicator increment corresponding to the application performance indicator and the service indicator of the application client for each application performance indicator corresponding to the application client. Based on the unit indicator increment, the indicator parameter data corresponding to the application performance indicator is determined. Based on at least two application performance indicators and at least two indicator parameter data, the performance of the application client is optimized. Each application performance indicator is quantified from the dimension of the demand service provided by the application client, so that the application performance indicators are no longer limited to vague qualitative descriptions, solving the problem of difficulty in locating performance bottlenecks, improving the utilization rate of optimization resources, and thus ensuring the optimization effect of the application client. Attached Figure Description
[0019] The above and other features, advantages, and aspects of the various embodiments of the present invention will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.
[0020] Figure 1 A flowchart illustrating an application performance optimization method provided in one embodiment of the present invention;
[0021] Figure 2 A flowchart illustrating another application performance optimization method provided in one embodiment of the present invention;
[0022] Figure 3 This is a schematic diagram of an index fitting function provided in one embodiment of the present invention;
[0023] Figure 4 A schematic diagram of an application performance optimization device provided in one embodiment of the present invention;
[0024] Figure 5 This is a schematic diagram of the structure of an electronic device provided in one embodiment of the present invention. Detailed Implementation
[0025] Embodiments of the present invention will now be described in more detail with reference to the accompanying drawings. While some embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the invention. It should be understood that the accompanying drawings and embodiments are for illustrative purposes only and are not intended to limit the scope of protection of the invention.
[0026] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.
[0027] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0028] It should be noted that the concepts of "first" and "second" mentioned in this invention are only used to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0029] It should be noted that the terms "a" and "a plurality of" used in this invention are illustrative rather than restrictive. Those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0030] The names of the messages or information exchanged between the multiple devices in the embodiments of the present invention are for illustrative purposes only and are not intended to limit the scope of these messages or information.
[0031] It is understood that before using the technical solutions disclosed in the various embodiments of the present invention, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in the present invention and their authorization should be obtained in accordance with relevant laws and regulations through appropriate means.
[0032] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to autonomously choose whether to provide personal information to the software or hardware, such as the electronic device, application client, server, or storage medium executing the operation of this invention, based on the prompt message.
[0033] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0034] It is understood that the above notification and user authorization process is merely illustrative and does not constitute a limitation on the implementation of the present invention. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present invention.
[0035] Figure 1 This is a flowchart illustrating an application performance optimization method according to an embodiment of the present invention. This embodiment is applicable to optimizing the performance metrics of application clients. The method can be executed by an application performance optimization device, which can be implemented in hardware and / or software. This application performance optimization device can be configured in an electronic device, typically a mobile terminal or tablet computer. Figure 1 As shown, the method includes:
[0036] S110, obtain the service metrics of the application client and at least two application performance metrics.
[0037] Specifically, an application client refers to a tool software that runs on a terminal device to provide service functions. For example, an application client can be classified as social software, office software, travel software, or learning software, etc., but is not limited to the example scenarios.
[0038] Specifically, service metrics represent quantitative indicators that reflect the application client's performance in areas such as business results, efficiency, or effectiveness. Examples of service metrics include business conversion rate, business feedback rate, order parameter values, or value attribute values, but are not limited to these examples.
[0039] Specifically, application performance metrics are quantitative parameters used to measure and evaluate the performance of application clients, reflecting their operational status. Examples of application performance metrics include response time, throughput, fmp (First Meaningful Paint), and resource utilization. Response time represents the time taken from detecting a user interaction to the application client returning a response. Throughput represents the number of requests or data volumes that the application client can process per unit of time. fmp refers to the time when the application client first renders visual content directly related to the service content or user interaction. Resource utilization includes the application client's usage of device resources during runtime, such as CPU (Central Processing Unit) utilization, memory utilization, bandwidth utilization, etc. This is only an example of application performance metrics and is not a limitation; specific settings can be customized according to requirements.
[0040] S120. For each application performance metric, obtain the unit metric increment corresponding to the application performance metric and the service metric, and determine the metric parameter data corresponding to the application performance metric based on the unit metric increment.
[0041] In this embodiment, the unit metric increment represents the increment of the service metric under a unit optimization range of the application performance metric. Specifically, the unit metric increment can be used to reflect the contribution of a unit optimization range of the application performance metric to improving the service metric.
[0042] The unit optimization magnitude represents the degree of change in the application performance index before and after optimization, based on the unit of the application performance index. For example, when the application performance index is response time, the unit optimization magnitude can be 1ms, and when the application performance index is resource utilization, the unit optimization magnitude can be 1%.
[0043] In one optional embodiment, obtaining the unit metric increment corresponding to the application performance metric and the service metric includes: obtaining first performance parameter data corresponding to the application performance metric and the first device set, and obtaining first service parameter data corresponding to the service metric and the first device set; performing linear fitting based on the first performance parameter data and the first service parameter data to obtain the unit metric increment corresponding to the application performance metric and the service metric.
[0044] Specifically, each first device in the first device set runs the application client, and each first device in the first device set corresponds one-to-one with the first performance parameter value in the first performance parameter data and one-to-one with the first service parameter value in the first service parameter data.
[0045] Specifically, the slope in the linear fitting function obtained by linear fitting represents the increment of the unit index.
[0046] In an optional embodiment, the unit index increment corresponding to the application performance index and the service index is obtained by linear fitting based on the first performance parameter data and the first service parameter data, including: dividing the first performance parameter data to obtain at least two first performance parameter sets, obtaining the device subsets corresponding to each first performance parameter set in the first device set, and obtaining the first service parameter sets corresponding to each device subset in the first service parameter data, and performing linear fitting based on the at least two first performance parameter sets and the at least two first service parameter sets to obtain the unit index increment corresponding to the application performance index and the service index.
[0047] The advantage of partitioning the set is that it smooths out the noisy data in the first performance parameter data and the first service parameter data, thereby improving the accuracy of the unit indicator increment and ensuring the performance optimization effect of the application client.
[0048] In this embodiment, the indicator parameter data represents the amount of indicator change based on the application performance indicator and the service indicator. Specifically, the indicator parameter data includes at least one indicator parameter value, which represents the amount of indicator change caused by the change in the application performance indicator affecting the service indicator, or the amount of indicator change caused by the change in the service indicator affecting the application performance indicator.
[0049] In an optional embodiment, determining the indicator parameter data corresponding to the application performance indicator based on the unit indicator increment includes: using the unit indicator increment as the indicator parameter value in the indicator parameter data corresponding to the application performance indicator.
[0050] In another optional embodiment, determining the indicator parameter data corresponding to the application performance indicator based on the unit indicator increment includes: when the indicator parameter data includes a first indicator increment, obtaining a first optimization magnitude of the application performance indicator in the performance optimization process; and determining the first indicator increment corresponding to the application performance indicator based on the unit indicator increment and the first optimization magnitude.
[0051] Specifically, the first optimization range is the optimization range to be achieved pre-set by the performance optimization personnel during the performance optimization process, the first indicator increment represents the increment generated by the service indicator under the first optimization range, and the product of the unit indicator increment and the first optimization range is used as the first indicator increment corresponding to the application performance indicator.
[0052] The advantage of setting the first indicator increment is that, based on the optimization extent of each application performance indicator in the performance optimization process, it quantifies the contribution of each application performance indicator to improving service indicators under the current conditions, and achieves the purpose of locating performance bottlenecks from the perspective of the current service improvement potential of application performance indicators.
[0053] In another optional embodiment, determining the indicator parameter data corresponding to the application performance indicator based on the unit indicator increment includes: when the indicator parameter data includes the minimum optimization range, determining the minimum optimization range of the application performance indicator based on the unit indicator increment and the minimum indicator increment corresponding to the service indicator; wherein, the minimum indicator increment represents the minimum value of the increment for the service indicator to satisfy the significance check.
[0054] Specifically, the minimum optimization margin is the ratio between the minimum indicator increment and the unit indicator increment.
[0055] The advantage of setting a minimum optimization margin is that it quantifies the optimization space when each application performance metric can make a significant contribution to the service metric, thereby achieving the goal of locating performance bottlenecks from the perspective of the optimization significance of application performance metrics.
[0056] In another optional embodiment, determining the indicator parameter data corresponding to the application performance indicator based on the unit indicator increment includes: obtaining the first optimization magnitude of the application performance indicator in the performance optimization process when the indicator parameter data includes the differential optimization magnitude; determining the minimum optimization magnitude of the application performance indicator based on the unit indicator increment and the minimum indicator increment corresponding to the service indicator; and determining the differential optimization magnitude corresponding to the application performance indicator based on the minimum optimization magnitude and the first optimization magnitude.
[0057] Specifically, the difference between the minimum optimization range and the first optimization range is taken as the differential optimization range corresponding to the application performance index.
[0058] The advantage of setting a differential optimization margin is that it quantifies the gap between each application performance metric and the minimum optimization margin under the current conditions, thereby achieving the goal of locating performance bottlenecks from the perspective of the current significant gap in application performance metrics.
[0059] S130. Based on the at least two application performance indicators and at least two indicator parameter data, perform performance optimization processing on the application client.
[0060] In one optional embodiment, the application client is subjected to performance optimization processing based on the at least two application performance indicators and at least two indicator parameter data, including: using the application performance indicators corresponding to the indicator parameter data that meet the indicator constraints as the filtered application performance indicators; and performing performance optimization processing on the application client based on at least one filtered application performance indicator.
[0061] In one optional embodiment, the indicator constraints include parameter constraint ranges corresponding to at least one indicator parameter value in the indicator parameter data. Specifically, when the indicator parameter data includes a first indicator increment and a difference optimization magnitude, the indicator constraints include the first indicator increment being greater than a first increment threshold and the difference optimization magnitude being less than a preset magnitude threshold.
[0062] In another optional embodiment, the indicator constraints include the parameter constraint range of the fusion parameter value corresponding to at least one indicator parameter value in the indicator parameter data. The fusion parameter value represents the fusion result corresponding to at least one indicator parameter value. Specifically, at least one indicator parameter value in the indicator parameter data is normalized, and the normalized at least one indicator parameter value is weighted and summed to obtain the fusion parameter value.
[0063] In another optional embodiment, the step of optimizing the application client based on the at least two application performance metrics and at least two metric parameter data includes: sorting the at least two application performance metrics according to the at least two metric parameter data to obtain performance ranking data; and performing performance optimization on the application client based on the performance ranking data.
[0064] In one specific embodiment, when the indicator parameter data includes an indicator parameter value, a sorting algorithm corresponding to the indicator parameter value is used to sort the at least two application performance indicators to obtain performance ranking data. Specifically, the sorting algorithm corresponding to the first indicator increment is a descending order algorithm, and the sorting algorithm corresponding to the difference optimization magnitude is an ascending order algorithm.
[0065] In one specific embodiment, when the indicator parameter data contains at least two indicator parameter values, at least one indicator parameter value in the indicator parameter data is normalized, and the at least one normalized indicator parameter value is weighted and summed to obtain a fused indicator parameter value. The at least two application performance indicators are sorted according to the at least two fused parameter values to obtain performance ranking data.
[0066] Based on the above embodiments, optionally, after performing performance optimization on the application client according to the at least two application performance metrics and at least two metric parameter data, the method further includes: for each application performance metric, obtaining the average service parameter value corresponding to the performance-optimized application client and the service metric; using the difference between the average service parameter value and the first performance parameter value of the application performance metric as a unit metric increment for verification; determining the difference result between the unit metric increment for verification and the unit metric increment, and updating the unit metric increment according to the first performance parameter value and the average service parameter value in response to the difference result not meeting the error range.
[0067] The advantage of this setting is that it achieves the goal of dynamically adjusting the increment of unit indicators, further ensuring the accuracy of the increment of unit indicators, and thus further ensuring the subsequent optimization effect of the application client.
[0068] The technical solution of this embodiment obtains the unit indicator increment corresponding to the application performance indicator and the service indicator of the application client for each application performance indicator corresponding to the application client. Based on the unit indicator increment, the indicator parameter data corresponding to the application performance indicator is determined. Based on at least two application performance indicators and at least two indicator parameter data, the performance of the application client is optimized. Each application performance indicator is quantified from the dimension of the demand service provided by the application client, so that the application performance indicators are no longer limited to vague qualitative descriptions, solving the problem of difficulty in locating performance bottlenecks, improving the utilization rate of optimization resources, and thus ensuring the optimization effect of the application client.
[0069] Figure 2 This is a flowchart of another application performance optimization method provided by an embodiment of the present invention. This embodiment further refines the step of "determining the indicator parameter data corresponding to the application performance indicator based on the unit indicator increment" in the above embodiment. In this embodiment, determining the indicator parameter data corresponding to the application performance indicator based on the unit indicator increment includes: when the indicator parameter data includes a second indicator increment, obtaining first performance parameter data corresponding to the application performance indicator and a first device set; determining a second performance parameter value based on the first performance parameter data; determining a second optimization range based on the baseline performance parameter value corresponding to the application performance indicator and the second performance parameter value; and determining a second indicator increment corresponding to the application performance indicator based on the unit indicator increment and the second optimization range. Figure 2 As shown, the method includes:
[0070] S210, Obtain service metrics for the application client and at least two application performance metrics.
[0071] S210 in this embodiment is the same as that in the above embodiment. Figure 1 The S110 shown is the same or similar, and will not be described again in this embodiment.
[0072] S220. For each application performance metric, obtain the unit metric increment corresponding to the application performance metric and the service metric.
[0073] In one optional embodiment, the application performance metric is the response time parameter corresponding to the application interaction object in the application client, and the service metric is the order parameter value.
[0074] For example, the application interaction object can be the application page or the interaction object in the application page. Taking the application client as an example of e-commerce software, the interaction objects in the application page can be slots, label controls, homepage controls, or shelf lists, etc.
[0075] For example, the response time parameter can be a time parameter corresponding to rendering operations, interactive operations, or resource loading operations, where the time parameter can be the time elapsed or fmp.
[0076] Specifically, the order parameter value represents the numerical value corresponding to the order parameter. For example, the order parameter can be the order quantity, the total order value parameter, or the average order value parameter.
[0077] It is understood that this embodiment only provides an illustrative example of the response time parameter and order parameter values, and does not limit them. The specific settings can be customized according to actual needs.
[0078] Accordingly, obtaining the unit metric increment corresponding to the application performance metric and the service metric includes: obtaining response time data and display conversion rate data corresponding to the first device set and the application interaction object; performing linear fitting based on the response time data and the display conversion rate data to determine the unit conversion rate increment corresponding to the response time parameter and the interaction display conversion rate; and determining the unit metric increment corresponding to the response time parameter and the order parameter value based on the unit conversion rate increment, the order conversion rate corresponding to the application interaction object, and the object access volume.
[0079] In this context, the first device in the first device set, the response time parameter in the response time data, and the interaction display conversion rate in the display conversion rate data correspond one-to-one. Specifically, the interaction display conversion rate represents the ratio between the number of clicks on the application's interactive object and the number of times the object is displayed, and the unit conversion rate increment represents the conversion rate increment of the interaction display conversion rate under the unit optimization range of the response time parameter.
[0080] In this embodiment, the order conversion rate is the ratio between the number of associated orders of the application interaction object and the number of times the object is displayed. The number of associated orders represents the number of orders generated within a preset number of operations after the application interaction object is displayed. Specifically, the number of associated orders reflects the impact of the application interaction object's display event on the number of orders. For example, the preset number of operations can be 20 or 10 times, but is not limited to the example scenario.
[0081] In one optional embodiment, when the order parameter value is the order quantity, the unit metric increment is the product of the unit conversion rate increment, the order conversion rate, and the number of object visits. When the order parameter value is the total order value parameter value, the unit metric increment is the product of the unit conversion rate increment, the order conversion rate, the number of object visits, and the average order value parameter value. The average order value parameter value represents the value generated per user through resource exchange.
[0082] The advantage of this setup is that when there is no strong causal relationship between application performance metrics and service metrics, an intermediate metric that has a causal relationship with the application performance metrics can be selected. By using the mapping relationship between the intermediate metric and the service metrics, a causal relationship between the application performance metrics and service metrics can be established, thereby broadening the selection range of application performance metrics and service metrics and ensuring the linear matching degree between application performance metrics and service metrics.
[0083] Taking the above embodiment as an example, assuming the response time parameter of the application interaction object is the product details page loading time, there is a clear causal relationship between the product details page loading time and the interaction display conversion rate. Specifically, as the product details page loading time increases, the interaction display conversion rate decreases, and conversely, as the product details page loading time decreases, the interaction display conversion rate increases. Therefore, a linear fitting relationship can be established between the product details page loading time and the interaction display conversion rate.
[0084] There is a relatively clear and stable relationship between interaction display conversion rate and order parameter values, demonstrating causal explanatory power. Specifically, as the number of times a product detail page is displayed increases, the number of orders will increase accordingly. Therefore, by analyzing the conversion rate from product detail page display to subsequent order submission, a relationship can be established between interaction display conversion rate and order parameter values.
[0085] S230. If the indicator parameter data includes the second indicator increment, obtain the first performance parameter data corresponding to the application performance indicator and the first device set.
[0086] In this embodiment, each first device in the first device set runs the application client, and the first devices in the first device set correspond one-to-one with the first performance parameter values in the first performance parameter data.
[0087] S240. Determine the value of the second performance parameter based on the first performance parameter data.
[0088] Specifically, a first statistical algorithm is used to statistically analyze the first performance parameter data to obtain the second performance parameter value. For example, the first statistical algorithm could be a 90th percentile algorithm or an average algorithm, but is not limited to the example scenario.
[0089] S250. Determine the second optimization range based on the baseline performance parameter value corresponding to the application performance index and the second performance parameter value.
[0090] Specifically, the baseline performance parameter value represents the reference value corresponding to the application performance index, providing data support for the optimization direction or optimization goal of the application performance index.
[0091] In one alternative embodiment, the baseline performance parameter value is a performance parameter value preset by the performance optimizer.
[0092] Specifically, the difference between the baseline performance parameter value corresponding to the application performance index and the second performance parameter value is used as the second optimization range.
[0093] In another optional embodiment, the method further includes: obtaining first service parameter data corresponding to the service metric and the first device set; determining a second service parameter value based on the first service parameter data; filtering the first device set to obtain a second device set based on the second service parameter value; and taking the minimum value among the first performance parameter values corresponding to the second device set as the benchmark performance parameter value corresponding to the application performance metric.
[0094] In this system, each device in the first device set corresponds one-to-one with a first service parameter value in the first service parameter data. Specifically, a second statistical algorithm is used to statistically analyze the first service parameter data to obtain a second service parameter value. The second statistical algorithm can be the same as or different from the first statistical algorithm. For example, the second statistical algorithm can be an average algorithm or a median algorithm, and correspondingly, the second service parameter value represents the mean or median of the second service parameter data, but this is not limited to the example scenario.
[0095] Specifically, the first service parameter value corresponding to each second device in the second device set is the same as the second service parameter value.
[0096] In this embodiment, the baseline performance parameter value represents the minimum performance parameter value that the application performance index needs to achieve, and represents the short-term optimization goal or short-term optimization direction of the application performance index.
[0097] In another optional embodiment, the method further includes: obtaining first service parameter data corresponding to the service metric and the first device set; determining a metric fitting function corresponding to the application performance metric and the service metric based on the first performance parameter data and the first service parameter data; using the first service parameter value corresponding to the upper inflection point of the metric fitting function as a third service parameter value, and filtering the first device set according to the third service parameter value to obtain a third device set; and determining a benchmark performance parameter value corresponding to the application performance metric based on at least one first performance parameter value corresponding to the third device set.
[0098] In this context, each device in the first device set corresponds one-to-one with a first service parameter value in the first service parameter data. Specifically, a third statistical algorithm is used to statistically analyze at least one first performance parameter value corresponding to the third device set to obtain the baseline performance parameter value corresponding to the application performance index.
[0099] Figure 3 This is a schematic diagram of an index fitting function provided in one embodiment of the present invention. Specifically, the horizontal axis represents application performance indicators, and the vertical axis represents service indicators. For example... Figure 3 As shown, the area to the left of the first dashed line indicates that the application client has good performance, but the increase in service metrics brought about by performance optimization is small, indicating that the optimization of application performance metrics no longer constitutes a bottleneck for service metrics. The area to the right of the second dashed line indicates that the application client has good performance and the increase in service metrics brought about by performance optimization is large, indicating that the application performance metrics and service metrics are mismatched, and the application performance metrics are very likely to be the bottleneck causing poor service metrics. The area to the right of the second dashed line indicates that the application client has poor performance and the increase in service metrics brought about by performance optimization is small.
[0100] Specifically, the upper inflection point indicates a change in the concavity of the index fitting function, and the corresponding ordinate value changes from convex downward (concave upward) to convex upward (convex upward).
[0101] Specifically, the first service parameter value corresponding to each third device in the third device set is the same as the third service parameter value. The third statistical algorithm can be the same as or different from the first statistical algorithm. For example, the third statistical algorithm can be an average algorithm, a maximum value algorithm, or a median algorithm, but is not limited to the example scenario.
[0102] In this embodiment, the baseline performance parameter value represents the maximum performance parameter value that the application performance index needs to achieve, and represents the medium- and long-term optimization goal or direction of the application performance index.
[0103] S260. Based on the unit indicator increment and the second optimization magnitude, determine the second indicator increment corresponding to the application performance indicator.
[0104] Specifically, the product of the unit indicator increment and the second optimization magnitude is taken as the second indicator increment corresponding to the application performance indicator. Here, the second indicator increment represents the increment of the service indicator under the second optimization magnitude.
[0105] S270. Based on the at least two application performance indicators and at least two indicator parameter data, perform performance optimization processing on the application client.
[0106] S270 in this embodiment is the same as that in the above embodiment. Figure 1 The S130 shown is the same or similar, and will not be described again in this embodiment.
[0107] The technical solution of this embodiment quantifies the contribution of each application performance indicator to the improvement of service indicators under short-term or medium-to-long-term optimization conditions by optimizing each application performance indicator relative to the baseline performance parameter value. From the perspective of the future service improvement potential of application performance indicators, it achieves the purpose of locating performance bottlenecks.
[0108] The following are embodiments of the application performance optimization device provided in this invention. This device and the application performance optimization method described above belong to the same inventive concept. For details not described in detail in the embodiments of the application performance optimization device, please refer to the content of the application performance optimization method in the above embodiments.
[0109] Figure 4 This is a schematic diagram of an application performance optimization device provided in one embodiment of the present invention. Figure 4 As shown, the device includes: an application performance index acquisition module 310, an index parameter data determination module 320, and a performance optimization processing module 330.
[0110] The application performance metric acquisition module 310 is used to acquire the service metrics of the application client and at least two application performance metrics.
[0111] The indicator parameter data determination module 320 is used to obtain the unit indicator increment corresponding to the application performance indicator and the service indicator for each application performance indicator, and determine the indicator parameter data corresponding to the application performance indicator based on the unit indicator increment; wherein, the unit indicator increment represents the increment generated by the service indicator under the unit optimization range of the application performance indicator, and the indicator parameter data represents the indicator change based on the application performance indicator and the service indicator.
[0112] The performance optimization processing module 330 is used to perform performance optimization processing on the application client based on the at least two application performance indicators and at least two indicator parameter data.
[0113] The technical solution of this embodiment obtains the unit indicator increment corresponding to the application performance indicator and the service indicator of the application client for each application performance indicator corresponding to the application client. Based on the unit indicator increment, the indicator parameter data corresponding to the application performance indicator is determined. Based on at least two application performance indicators and at least two indicator parameter data, the performance of the application client is optimized. Each application performance indicator is quantified from the dimension of the demand service provided by the application client, so that the application performance indicators are no longer limited to vague qualitative descriptions, solving the problem of difficulty in locating performance bottlenecks, improving the utilization rate of optimization resources, and thus ensuring the optimization effect of the application client.
[0114] In an optional embodiment, the indicator parameter data determination module 320 includes:
[0115] The first indicator increment determination unit is used to obtain the first optimization magnitude of the application performance indicator in the performance optimization process when the indicator parameter data includes the first indicator increment.
[0116] Based on the unit indicator increment and the first optimization magnitude, determine the first indicator increment corresponding to the application performance indicator;
[0117] Wherein, the first indicator increment represents the increment generated by the service indicator under the first optimization range.
[0118] In an optional embodiment, the indicator parameter data determination module 320 includes:
[0119] The second indicator increment determination unit is used to obtain the first performance parameter data corresponding to the application performance indicator and the first device set when the indicator parameter data includes the second indicator increment; wherein, each first device in the first device set runs the application client, and the first device in the first device set corresponds one-to-one with the first performance parameter value in the first performance parameter data.
[0120] Based on the first performance parameter data, determine the value of the second performance parameter;
[0121] The second optimization range is determined based on the baseline performance parameter value corresponding to the application performance index and the second performance parameter value;
[0122] Based on the unit indicator increment and the second optimization magnitude, determine the second indicator increment corresponding to the application performance indicator;
[0123] Wherein, the second indicator increment represents the increment generated by the service indicator under the second optimization magnitude.
[0124] In an optional embodiment, the device further includes:
[0125] The first benchmark performance parameter value determination module is used to obtain the first service parameter data corresponding to the service indicator and the first device set; wherein, the first device in the first device set corresponds one-to-one with the first service parameter value in the first service parameter data.
[0126] The second service parameter value is determined based on the first service parameter data;
[0127] Based on the second service parameter value, the first device set is filtered to obtain the second device set;
[0128] The minimum value among the first performance parameter values corresponding to the second set of devices is taken as the benchmark performance parameter value corresponding to the application performance index.
[0129] In an optional embodiment, the device further includes:
[0130] The second benchmark performance parameter value determination module is used to obtain the first service parameter data corresponding to the service indicator and the first device set; wherein, the first device in the first device set corresponds one-to-one with the first service parameter value in the first service parameter data.
[0131] Based on the first performance parameter data and the first service parameter data, determine the indicator fitting function corresponding to the application performance indicator and the service indicator;
[0132] The first service parameter value corresponding to the upper inflection point of the index fitting function is used as the third service parameter value, and the first device set is filtered according to the third service parameter value to obtain the third device set.
[0133] Based on at least one first performance parameter value corresponding to the third device set, determine the baseline performance parameter value corresponding to the application performance index.
[0134] In an optional embodiment, the indicator parameter data determination module 320 includes:
[0135] The differential optimization magnitude determination unit is used to obtain the first optimization magnitude of the application performance index in the performance optimization process when the index parameter data includes the differential optimization magnitude.
[0136] The minimum optimization range of the application performance index is determined based on the unit index increment and the minimum index increment corresponding to the service index.
[0137] Based on the minimum optimization range and the first optimization range, determine the difference optimization range corresponding to the application performance index;
[0138] Wherein, the minimum indicator increment represents the minimum increment of the service indicator that satisfies the significance check.
[0139] In an optional embodiment, the application performance metric is the response time parameter corresponding to the application interaction object in the application client, and the service metric is the order parameter value; correspondingly, the metric parameter data determination module 320 includes:
[0140] The unit indicator increment determination unit is used to obtain response time data and display conversion rate data corresponding to the first device set and the application interaction object; wherein, each first device in the first device set runs the application client, and the first device in the first device set, the response time parameter in the response time data and the interaction display conversion rate in the display conversion rate data correspond one-to-one.
[0141] Based on the response time data and the display conversion rate data, a linear fit is performed to determine the unit conversion rate increment corresponding to the response time parameter and the interactive display conversion rate.
[0142] Based on the unit conversion rate increment, the order conversion rate and object access volume corresponding to the application interaction object, determine the unit metric increment corresponding to the response time parameter and the order parameter value;
[0143] The order conversion rate is the ratio between the number of associated orders of the application interaction object and the number of times the object is displayed. The number of associated orders represents the number of orders generated within a preset number of operations after the application interaction object is displayed.
[0144] In an optional embodiment, the performance optimization processing module 330 is specifically used for:
[0145] The step of optimizing the application client based on the at least two application performance metrics and at least two metric parameter data includes:
[0146] Based on at least two indicator parameter data, the at least two application performance indicators are sorted to obtain performance ranking data;
[0147] Based on the performance ranking data, the application client is subjected to performance optimization.
[0148] The application performance optimization apparatus provided in this embodiment of the invention can execute the application performance optimization method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the method.
[0149] The following is for reference. Figure 5The diagram illustrates a structural schematic of an electronic device (e.g., a terminal device or a server) 400 suitable for implementing embodiments of the present invention. The terminal device in the embodiments of the present invention may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 5 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of the present invention.
[0150] like Figure 5 As shown, electronic device 400 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 401, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 402 or a program loaded from storage device 406 into random access memory (RAM) 403. RAM 403 also stores various programs and data required for the operation of electronic device 400. Processing device 401, ROM 402, and RAM 403 are interconnected via bus 404. Input / output (I / O) interface 405 is also connected to bus 404.
[0151] Typically, the following devices can be connected to I / O interface 405: input devices 406 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 407 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 406 including, for example, magnetic tapes, hard disks, etc.; and communication devices 409. Communication device 409 allows electronic device 400 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 5 An electronic device 400 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0152] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 409, or installed from a storage device 406, or installed from a ROM 402. When the computer program is executed by the processing device 401, it performs the functions defined in the methods of the embodiments of the present invention.
[0153] It should be noted that the computer-readable medium described above in this invention can be a computer-readable signal medium, a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this invention, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0154] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0155] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0156] The aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: acquire at least two Internet Protocol (IP) addresses; send a node evaluation request including the at least two IP addresses to a node evaluation device, wherein the node evaluation device selects an IP address from the at least two IP addresses and returns it; and receive the IP address returned by the node evaluation device; wherein the acquired IP address indicates an edge node in a content delivery network.
[0157] Alternatively, the aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: receive a node evaluation request including at least two Internet Protocol (IP) addresses; select an IP address from the at least two IP addresses; and return the selected IP address; wherein the received IP address indicates an edge node in the content delivery network.
[0158] Computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof, including but not limited to object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0159] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0160] The units described in the embodiments of the present invention can be implemented in software or in hardware. The name of a unit does not necessarily limit the unit itself; for example, the first acquisition unit can also be described as "a unit that acquires at least two Internet Protocol addresses".
[0161] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0162] In the context of this invention, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0163] According to one or more embodiments of the present invention, Example 1 provides a method for optimizing application performance, comprising:
[0164] Obtain service metrics for the application client and at least two application performance metrics;
[0165] For each application performance metric, obtain the unit metric increment corresponding to the application performance metric and the service metric, and determine the metric parameter data corresponding to the application performance metric based on the unit metric increment; wherein, the unit metric increment represents the increment generated by the service metric under the unit optimization range of the application performance metric, and the metric parameter data represents the metric change generated based on the application performance metric and the service metric.
[0166] The application client is optimized based on the at least two application performance metrics and the at least two metric parameter data.
[0167] According to one or more embodiments of the present invention, Example 2, based on the method described in Example 1, includes determining the indicator parameter data corresponding to the application performance indicator based on the unit indicator increment, comprising:
[0168] When the indicator parameter data includes the first indicator increment, the first optimization magnitude of the application performance indicator is obtained in the performance optimization process.
[0169] Based on the unit indicator increment and the first optimization magnitude, determine the first indicator increment corresponding to the application performance indicator;
[0170] Wherein, the first indicator increment represents the increment generated by the service indicator under the first optimization range.
[0171] According to one or more embodiments of the present invention, Example 3, based on the method described in Example 1, includes determining the indicator parameter data corresponding to the application performance indicator based on the unit indicator increment, comprising:
[0172] When the indicator parameter data includes the second indicator increment, the first performance parameter data corresponding to the application performance indicator and the first device set is obtained; wherein, each first device in the first device set runs the application client, and the first device in the first device set corresponds one-to-one with the first performance parameter value in the first performance parameter data.
[0173] Based on the first performance parameter data, determine the value of the second performance parameter;
[0174] The second optimization range is determined based on the baseline performance parameter value corresponding to the application performance index and the second performance parameter value;
[0175] Based on the unit indicator increment and the second optimization magnitude, determine the second indicator increment corresponding to the application performance indicator;
[0176] Wherein, the second indicator increment represents the increment generated by the service indicator under the second optimization magnitude.
[0177] According to one or more embodiments of the present invention, Example 4 describes the method according to Example 3, the method further comprising:
[0178] Obtain the service indicator and the first service parameter data corresponding to the first device set; wherein, the first device in the first device set corresponds one-to-one with the first service parameter value in the first service parameter data;
[0179] The second service parameter value is determined based on the first service parameter data;
[0180] Based on the second service parameter value, the first device set is filtered to obtain the second device set;
[0181] The minimum value among the first performance parameter values corresponding to the second set of devices is taken as the benchmark performance parameter value corresponding to the application performance index.
[0182] According to one or more embodiments of the present invention, Example 5 describes the method according to Example 3, the method further comprising:
[0183] Obtain the service indicator and the first service parameter data corresponding to the first device set; wherein, the first device in the first device set corresponds one-to-one with the first service parameter value in the first service parameter data;
[0184] Based on the first performance parameter data and the first service parameter data, determine the indicator fitting function corresponding to the application performance indicator and the service indicator;
[0185] The first service parameter value corresponding to the upper inflection point of the index fitting function is used as the third service parameter value, and the first device set is filtered according to the third service parameter value to obtain the third device set.
[0186] Based on at least one first performance parameter value corresponding to the third device set, determine the baseline performance parameter value corresponding to the application performance index.
[0187] According to one or more embodiments of the present invention, Example 6, based on the method described in Example 1, includes determining the indicator parameter data corresponding to the application performance indicator based on the unit indicator increment, comprising:
[0188] When the indicator parameter data includes the differential optimization magnitude, the first optimization magnitude of the application performance indicator is obtained in the performance optimization process;
[0189] The minimum optimization range of the application performance index is determined based on the unit index increment and the minimum index increment corresponding to the service index.
[0190] Based on the minimum optimization range and the first optimization range, determine the difference optimization range corresponding to the application performance index;
[0191] Wherein, the minimum indicator increment represents the minimum increment of the service indicator that satisfies the significance check.
[0192] According to one or more embodiments of the present invention, Example 7, based on the method described in Example 1, wherein the application performance metric is a response time parameter corresponding to an application interaction object in the application client, and the service metric is an order parameter value; correspondingly, obtaining the unit metric increments corresponding to the application performance metric and the service metric includes:
[0193] Obtain response time data and display conversion rate data corresponding to the first device set and the application interaction object; wherein, each first device in the first device set runs the application client, and the first device in the first device set, the response time parameter in the response time data, and the interaction display conversion rate in the display conversion rate data correspond one-to-one.
[0194] Based on the response time data and the display conversion rate data, a linear fit is performed to determine the unit conversion rate increment corresponding to the response time parameter and the interactive display conversion rate.
[0195] Based on the unit conversion rate increment, the order conversion rate and object access volume corresponding to the application interaction object, determine the unit metric increment corresponding to the response time parameter and the order parameter value;
[0196] The order conversion rate is the ratio between the number of associated orders of the application interaction object and the number of times the object is displayed. The number of associated orders represents the number of orders generated within a preset number of operations after the application interaction object is displayed.
[0197] According to one or more embodiments of the present invention, Example 8 describes the method according to any one of Examples 1-7, wherein the performance optimization process of the application client based on the at least two application performance metrics and at least two metric parameter data includes:
[0198] Based on at least two indicator parameter data, the at least two application performance indicators are sorted to obtain performance ranking data;
[0199] Based on the performance ranking data, the application client is subjected to performance optimization.
[0200] According to one or more embodiments of the present invention, Example 9 provides an application performance optimization apparatus, comprising:
[0201] The application performance metrics acquisition module is used to acquire service metrics of the application client and at least two application performance metrics.
[0202] The indicator parameter data determination module is used to obtain the unit indicator increment corresponding to the application performance indicator and the service indicator for each application performance indicator, and determine the indicator parameter data corresponding to the application performance indicator based on the unit indicator increment; wherein, the unit indicator increment represents the increment generated by the service indicator under the unit optimization range of the application performance indicator, and the indicator parameter data represents the indicator change based on the application performance indicator and the service indicator.
[0203] The performance optimization processing module is used to perform performance optimization processing on the application client based on the at least two application performance indicators and at least two indicator parameter data.
[0204] According to one or more embodiments of the present invention, Example 10 provides an electronic device, comprising:
[0205] At least one processor; and
[0206] A memory communicatively connected to the at least one processor; wherein,
[0207] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the application performance optimization method described in any one of Examples 1-8.
[0208] According to one or more embodiments of the present invention, Example 11 provides a computer-readable storage medium storing computer instructions for causing a processor to execute and implement the application performance optimization method described in any one of Examples 1-8.
[0209] According to one or more embodiments of the present invention, Example 12 provides a computer program product including a computer program that, when executed by a processor, implements a method for optimizing application performance according to any one of Examples 1-8.
[0210] The above description is merely a preferred embodiment of the present invention and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of disclosure in this invention is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this invention.
[0211] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the invention. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0212] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A method for optimizing application performance, characterized in that, include: Obtain service metrics for the application client and at least two application performance metrics; For each application performance metric, obtain the unit metric increment corresponding to the application performance metric and the service metric, and determine the metric parameter data corresponding to the application performance metric based on the unit metric increment; wherein, the unit metric increment represents the increment generated by the service metric under the unit optimization range of the application performance metric, and the metric parameter data represents the metric change generated based on the application performance metric and the service metric. The application client is optimized based on the at least two application performance metrics and the at least two metric parameter data.
2. The method according to claim 1, characterized in that, The step of determining the indicator parameter data corresponding to the application performance indicator based on the unit indicator increment includes: When the indicator parameter data includes the first indicator increment, the first optimization magnitude of the application performance indicator is obtained in the performance optimization process. Based on the unit indicator increment and the first optimization magnitude, determine the first indicator increment corresponding to the application performance indicator; Wherein, the first indicator increment represents the increment generated by the service indicator under the first optimization range.
3. The method according to claim 1, characterized in that, The step of determining the indicator parameter data corresponding to the application performance indicator based on the unit indicator increment includes: When the indicator parameter data includes the second indicator increment, the first performance parameter data corresponding to the application performance indicator and the first device set is obtained; wherein, each first device in the first device set runs the application client, and the first device in the first device set corresponds one-to-one with the first performance parameter value in the first performance parameter data. Based on the first performance parameter data, determine the value of the second performance parameter; The second optimization range is determined based on the baseline performance parameter value corresponding to the application performance index and the second performance parameter value; Based on the unit indicator increment and the second optimization magnitude, determine the second indicator increment corresponding to the application performance indicator; Wherein, the second indicator increment represents the increment generated by the service indicator under the second optimization magnitude.
4. The method according to claim 3, characterized in that, The method further includes: Obtain the service indicator and the first service parameter data corresponding to the first device set; wherein, the first device in the first device set corresponds one-to-one with the first service parameter value in the first service parameter data; The second service parameter value is determined based on the first service parameter data; Based on the second service parameter value, the first device set is filtered to obtain the second device set; The minimum value among the first performance parameter values corresponding to the second set of devices is taken as the benchmark performance parameter value corresponding to the application performance index.
5. The method according to claim 3, characterized in that, The method further includes: Obtain the service indicator and the first service parameter data corresponding to the first device set; wherein, the first device in the first device set corresponds one-to-one with the first service parameter value in the first service parameter data; Based on the first performance parameter data and the first service parameter data, determine the indicator fitting function corresponding to the application performance indicator and the service indicator; The first service parameter value corresponding to the upper inflection point of the index fitting function is used as the third service parameter value, and the first device set is filtered according to the third service parameter value to obtain the third device set. Based on at least one first performance parameter value corresponding to the third device set, determine the baseline performance parameter value corresponding to the application performance index.
6. The method according to claim 1, characterized in that, The step of determining the indicator parameter data corresponding to the application performance indicator based on the unit indicator increment includes: When the indicator parameter data includes the differential optimization magnitude, the first optimization magnitude of the application performance indicator is obtained in the performance optimization process; The minimum optimization range of the application performance index is determined based on the unit index increment and the minimum index increment corresponding to the service index. Based on the minimum optimization range and the first optimization range, determine the difference optimization range corresponding to the application performance index; Wherein, the minimum indicator increment represents the minimum increment of the service indicator that satisfies the significance check.
7. The method according to claim 1, characterized in that, The application performance metric is the response time parameter corresponding to the application interaction object in the application client, and the service metric is the order parameter value; correspondingly, obtaining the unit metric increment corresponding to the application performance metric and the service metric includes: Obtain response time data and display conversion rate data corresponding to the first device set and the application interaction object; wherein, each first device in the first device set runs the application client, and the first device in the first device set, the response time parameter in the response time data, and the interaction display conversion rate in the display conversion rate data correspond one-to-one. Based on the response time data and the display conversion rate data, a linear fit is performed to determine the unit conversion rate increment corresponding to the response time parameter and the interactive display conversion rate. Based on the unit conversion rate increment, the order conversion rate and object access volume corresponding to the application interaction object, determine the unit metric increment corresponding to the response time parameter and the order parameter value; The order conversion rate is the ratio between the number of associated orders of the application interaction object and the number of times the object is displayed. The number of associated orders represents the number of orders generated within a preset number of operations after the application interaction object is displayed.
8. The method according to any one of claims 1-7, characterized in that, The step of optimizing the application client based on the at least two application performance metrics and at least two metric parameter data includes: Based on at least two indicator parameter data, the at least two application performance indicators are sorted to obtain performance ranking data; Based on the performance ranking data, the application client is subjected to performance optimization.
9. An application performance optimization device, characterized in that, include: The application performance metrics acquisition module is used to acquire service metrics of the application client and at least two application performance metrics. The indicator parameter data determination module is used to obtain the unit indicator increment corresponding to the application performance indicator and the service indicator for each application performance indicator, and determine the indicator parameter data corresponding to the application performance indicator based on the unit indicator increment; wherein, the unit indicator increment represents the increment generated by the service indicator under the unit optimization range of the application performance indicator, and the indicator parameter data represents the indicator change based on the application performance indicator and the service indicator. The performance optimization processing module is used to perform performance optimization processing on the application client based on the at least two application performance indicators and at least two indicator parameter data.
10. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the application performance optimization method according to any one of claims 1-8.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the method for optimizing application performance according to any one of claims 1-8.
12. A computer program product comprising a computer program that, when executed by a processor, implements the method for optimizing application performance according to any one of claims 1-8.
