


Tencent QQ NT architecture version memory optimization progress announced, chat scenes are controlled within 300M
The memory optimization progress of Tencent QQ NT architecture version was announced. PHP editor Xiaoxin learned that this version controls the chat scene memory within 300M, improving the user experience. This optimization measure will help users reduce memory usage when using QQ and make the software more smooth and efficient.

Recently, the QQ technical team published an introductory article on the InfoQ platform, sharing its phased progress in special optimization of memory.
According to reports, the memory challenges of the new version of QQ are mainly reflected in the following four aspects:
Product form: It consists of a complex large panel (100 modules of varying complexity) and a series of independent functional windows. There is a one-to-one correspondence between windows and rendering processes, and the number of window processes greatly affects Electron's memory footprint. For that complex large panel, it is easy to cause the memory to continue to rise without fine control.

Usage habits: The user hangs up for a long time. Compared with web pages that can be used immediately, QQ users may hang up for more than a month after logging in once. During this period, if you do not control your QQ If the memory is used, the result may be that the memory takes up more and more, the user interaction response becomes slower, or even crashes occur.
Version iteration: The 24-year-old QQ has many functions and features. The team has been doing this for the past year: starting from the core features to quickly complete Windows version, there are also some high-priority new features to be implemented. Continuous and rapid version iteration is likely to create new problems and degrade performance.
Application architecture: The new version of QQ relies on an NT core data module (C addon) to provide localized data services for the UI. QQ This module plays a crucial role in making the loading experience so smooth. At the same time, the linkage optimization with NT also needs to connect client C Of course, there will be some communication costs if the development students work together, but it is undeniable that the memory usage can be reduced and the client students also put in a lot of effort.

In this regard, the work of the QQ technical team mainly includes the following aspects:
Tool analysis: First, the team needs to use memory analysis tools of different dimensions, starting from V8 From the engine to the process and then to the entire application, the entire link is opened for detailed analysis from multiple angles to locate the bottleneck of memory usage.
Targeted optimization: After locating the problem through tools, the team will adopt a series of targeted optimization strategies, including caching strategies, on-demand loading, graceful degradation, etc.
Online monitoring: After passing the local or small-scale verification, the team needs verification from a large number of users to confirm whether the optimization measures are suitable for all scenarios. However, how to get the user in Windows The memory usage seen in Task Manager is a challenge that the team has done a lot of research and verification on.
Prevent performance degradation and automated testing: In order to protect the hard-earned optimization results and avoid frequent version iterations affecting QQ According to the memory target, the team will use development framework, tool construction, code review and other means to prevent performance degradation.

The QQ technical team stated that from the perspective of results or problem solving, after a series of optimizations, the memory of QQ’s core chat scene can basically be controlled within 300M and 150M. The size of the installation package is slightly different from the old version of pure Native QQ. Not only the memory usage, but also other core experiences, such as the smoothness of switching AIO are better than the old version of QQ.
For more information, please pay attention to this site.
The above is the detailed content of Tencent QQ NT architecture version memory optimization progress announced, chat scenes are controlled within 300M. For more information, please follow other related articles on the PHP Chinese website!

Microsoft PowerToys is free. This collection of tools developed by Microsoft is designed to enhance Windows system functions and improve user productivity. By installing and using features such as FancyZones, users can customize window layouts and optimize workflows.

ThebestalternativestoPowerToysforWindowsusersareAutoHotkey,WindowGrid,andWinaeroTweaker.1)AutoHotkeyoffersextensivescriptingforautomation.2)WindowGridprovidesintuitivegrid-basedwindowmanagement.3)WinaeroTweakerallowsdeepcustomizationofWindowssettings

Microsoft PowerToys does not require a license and is a free open source software. 1.PowerToys provides a variety of tools, such as FancyZones for window management, PowerRename for batch renaming, and ColorPicker for color selection. 2. Users can enable or disable these tools according to their needs to improve work efficiency.

Microsoft PowerToys is completely free. This tool set provides open source utilities that enhance Windows operating system, including features such as FancyZones, PowerRename, and KeyboardManager, to help users improve productivity and customize their operating experience.

PowerToys is not the default component of Windows 11, but a set of tools developed by Microsoft that needs to be downloaded separately. 1) It provides features such as FancyZones and Awake to improve user productivity. 2) Pay attention to possible software conflicts and performance impacts when using them. 3) It is recommended to selectively enable the tool and periodically update it to optimize performance.

The way to download Microsoft PowerToys is: 1. Open PowerShell and run wingetinstallMicrosoft.PowerToys, 2. or visit the GitHub page to download the installation package. PowerToys is a set of tools to improve Windows user productivity. It includes features such as FancyZones and PowerRename, which can be installed through winget or graphical interface.

PowerToys is a free collection of tools launched by Microsoft to enhance productivity and system control for Windows users. It provides features through standalone modules such as FancyZones management window layout and PowerRename batch renaming files, making user workflow smoother.

PowerToys needs to be run in the background to achieve its full functionality. 1) It relies on system-level hooks and event listening, such as FancyZones monitoring window movement. 2) Reasonable resource usage, usually 50-100MB of memory, and almost zero CPU usage when idle. 3) You can set up power-on and use PowerShell scripts to implement it. 4) When encountering problems, check the log files, disable specific tools, and ensure that they are updated to the latest version. 5) Optimization suggestions include disabling infrequently used tools, adjusting settings, and monitoring resource usage.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

Dreamweaver Mac version
Visual web development tools

Notepad++7.3.1
Easy-to-use and free code editor