Home > Technology peripherals > It Industry > Improving user experience: Tencent QQ NT desktop version memory optimization and upgrade

Improving user experience: Tencent QQ NT desktop version memory optimization and upgrade

WBOY
Release: 2023-08-11 16:57:03
forward
1521 people have browsed it

Tencent QQ desktop client has recently undergone a series of major reforms. In response to problems reported by users such as high memory usage, oversized installation packages, and slow startup, the QQ technical team has made special optimizations in terms of memory and has made certain progress

提升用户体验:腾讯QQ NT桌面版内存优化再升级

It is understood that the new version of QQ faces several major challenges in terms of memory. First of all, the product form is relatively complex, consisting of a large panel and multiple independent functional windows. The windows correspond to the rendering processes one-to-one. The number of window processes affects Electron's memory usage. Failure to have fine-grained control over this complex large panel can easily lead to a continuous increase in memory. Secondly, users are accustomed to hanging up for a long time. Compared with Web pages, QQ users may hang up for more than a month. Therefore, memory usage needs to be controlled to avoid performance degradation caused by continuous memory growth. In addition, the version iteration speed is relatively fast, and QQ has many functions and features. Continuous iteration may cause new problems and affect performance. Finally, the new version of QQ relies on an NT core data module (C addon) to provide localized data services for the UI and play a key role in the loading experience. However, linkage optimization with NT also requires communication costs

提升用户体验:腾讯QQ NT桌面版内存优化再升级

In order to solve the above problems, the QQ technical team has adopted a series of work directions. First, they used memory analysis tools in different dimensions, from the V8 engine to the process, and then to the entire application, to conduct detailed analysis of the entire link to determine the bottleneck of memory usage. Secondly, the team adopted targeted optimization strategies, including caching strategies, on-demand loading and graceful degradation, to improve performance. After local or small-scale verification is passed, the team also needs verification from a large number of users to confirm whether the optimization measures are applicable to all scenarios. In order to protect the optimization results and prevent performance degradation, the team will use development frameworks, tool construction, code review and other means

提升用户体验:腾讯QQ NT桌面版内存优化再升级

According to the author’s understanding, after a series of optimizations, the new version QQ's memory control in core chat scenarios is basically kept within 300M, and the installation package size is 150M, which is not much different from the old version of pure Native QQ. In addition to memory usage, other core experience aspects, such as the smoothness of switching AIO, are also better than the old version of QQ. Tencent has released updated versions of Windows QQ 9.9.1 and Mac QQ 6.9.18, which have brought a number of optimizations and improvements. In the future, they will continue to improve performance to provide users with a better user experience

The above is the detailed content of Improving user experience: Tencent QQ NT desktop version memory optimization and upgrade. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:itbear.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template