Home Software Tutorial Computer Software Tencent QQ NT architecture version memory optimization progress announced, chat scenes are controlled within 300M

Tencent QQ NT architecture version memory optimization progress announced, chat scenes are controlled within 300M

Mar 05, 2024 pm 03:52 PM
qq Tencent Memory usage

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.

腾讯QQ NT架构版本内存优化进展公布,聊天场景控制在300M内

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.

腾讯QQ NT架构版本内存优化进展公布,聊天场景控制在300M内

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.

腾讯QQ NT架构版本内存优化进展公布,聊天场景控制在300M内

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.

腾讯QQ NT架构版本内存优化进展公布,聊天场景控制在300M内

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!

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to fine-tune deepseek locally How to fine-tune deepseek locally Feb 19, 2025 pm 05:21 PM

Local fine-tuning of DeepSeek class models faces the challenge of insufficient computing resources and expertise. To address these challenges, the following strategies can be adopted: Model quantization: convert model parameters into low-precision integers, reducing memory footprint. Use smaller models: Select a pretrained model with smaller parameters for easier local fine-tuning. Data selection and preprocessing: Select high-quality data and perform appropriate preprocessing to avoid poor data quality affecting model effectiveness. Batch training: For large data sets, load data in batches for training to avoid memory overflow. Acceleration with GPU: Use independent graphics cards to accelerate the training process and shorten the training time.

What software can make Bitcoin? Top 10 Bitcoin Trading Software Recommendations in 2025 What software can make Bitcoin? Top 10 Bitcoin Trading Software Recommendations in 2025 Feb 21, 2025 pm 09:30 PM

With the rapid development of the Bitcoin market, it is crucial to choose reliable trading software. This article will recommend the top ten Bitcoin trading software in 2025 to help you trade efficiently and safely. These software have been rigorously screened and consider factors such as functionality, security, user-friendliness and support levels. From beginner-friendly platforms to complex tools for experienced traders, you will find the best options for your trading needs in this list.

Summary of essential software for 2025 currency circle Summary of essential software for 2025 currency circle Feb 21, 2025 pm 09:42 PM

This guide provides an overview of the essential software tools in the currency circle that helps users manage and trade crypto assets more efficiently. These software cover a wide range of categories from trading platforms to analytical tools and security solutions. The guide is designed to help users prepare for the upcoming crypto market in 2025.

gateio exchange app old version gateio exchange app old version download channel gateio exchange app old version gateio exchange app old version download channel Mar 04, 2025 pm 11:36 PM

Gateio Exchange app download channels for old versions, covering official, third-party application markets, forum communities and other channels. It also provides download precautions to help you easily obtain old versions and solve the problems of discomfort in using new versions or device compatibility.

CS-Week 3 CS-Week 3 Apr 04, 2025 am 06:06 AM

Algorithms are the set of instructions to solve problems, and their execution speed and memory usage vary. In programming, many algorithms are based on data search and sorting. This article will introduce several data retrieval and sorting algorithms. Linear search assumes that there is an array [20,500,10,5,100,1,50] and needs to find the number 50. The linear search algorithm checks each element in the array one by one until the target value is found or the complete array is traversed. The algorithm flowchart is as follows: The pseudo-code for linear search is as follows: Check each element: If the target value is found: Return true Return false C language implementation: #include#includeintmain(void){i

Laravel Eloquent ORM in Bangla partial model search) Laravel Eloquent ORM in Bangla partial model search) Apr 08, 2025 pm 02:06 PM

LaravelEloquent Model Retrieval: Easily obtaining database data EloquentORM provides a concise and easy-to-understand way to operate the database. This article will introduce various Eloquent model search techniques in detail to help you obtain data from the database efficiently. 1. Get all records. Use the all() method to get all records in the database table: useApp\Models\Post;$posts=Post::all(); This will return a collection. You can access data using foreach loop or other collection methods: foreach($postsas$post){echo$post->

Which is the best market viewing software? Top 10 virtual currency exchange market viewing software Which is the best market viewing software? Top 10 virtual currency exchange market viewing software Feb 21, 2025 pm 09:48 PM

For those engaged in virtual currency trading, choosing an excellent market viewing software is crucial. This article aims to introduce readers to the ten most acclaimed virtual currency exchange viewing software to help them make informed choices. These software offer a variety of features, including real-time quotes, technical analysis tools, charts and custom alerts to meet the needs of different traders. Whether you are an experienced professional or a beginner, this article will provide you with valuable insights to help you find the best viewing software for your trading style.

How to optimize system performance with Debian Message How to optimize system performance with Debian Message Apr 02, 2025 am 08:09 AM

Debian systems are known for their stability and security, but performance optimization still needs attention. This article introduces some commonly used Debian system performance optimization methods. It does not directly use "DebianMessage" (maybe refer to system logs) for optimization, but improves efficiency by monitoring and adjusting system resources. Performance Monitoring Tool The following tools can help you monitor system resource usage in real time: top: display process information in real time, including CPU and memory usage. htop: (if available) interactive process viewer, more intuitive than top. vmstat: Displays virtual memory, disk, CPU and process activity information. iostat: Display disk I/O statistics, such as read and write speed

See all articles