Google Chrome Speeds Up by 5% with Improved Cookie Handling

Google Chrome reduces redundant cookie requests by 80%, boosting access speed by 60% and overall performance by 5%.

Google Chrome Browser Speeds Up by 5%: Cookie Redundant Requests Reduced by 80%, Access Speed Increased by 60%

Google’s Chromium blog announced on June 3 that by adjusting the way cookies are requested, early tests have shown performance improvements across all platforms.

Issue at Hand

In the era of single-process browsers, managing cookies was easier as all related data was stored in memory. However, modern browsers, including Chrome, use multiple processes to enhance performance and security.

Chrome runs a new process for each window and other functions, necessitating more queries to handle cookies, which slows down the performance.

Google stated that repeated cookie requests in Chrome cause many interactions to slow down.

According to Google, their blog post highlights:

“We discovered through live tracking of slow interactions that some websites trigger inefficient scenarios of repeatedly fetching cookies. We introduced additional metrics to measure the frequency of redundant GetCookieString() IPCs during all navigations. Surprisingly, 87% of cookie accesses were redundant, occurring hundreds of times per second in some cases.”

When multiple websites make rapid requests simultaneously, these requests can occur hundreds of times per second, causing severe delays. The traditional method of synchronizing cookies from the network service created bottlenecks.

Solution

Google now stores a local copy of cookie data and its version number, allowing Chrome to check if the cookies are up-to-date without repeatedly requesting them.

google document cookie updates

According to Google engineers, this change reduced the number of cookie-related queries by 80% and increased cookie access speed by 60%.

“Our approach involves pairing each document.cookie value with a monotonically increasing version number. Each renderer caches the document.cookie along with the version last read. The network service stores the version of each document.cookie in shared memory. Thus, renderers can determine if they have the latest version without inter-process queries.”

google document cookie performance improvements

Early tests showed performance improvements of up to 5% across all platforms after deploying this update.

Learn more about  Xiaomi Mi Mix 3 5G to go on sale soon from 2nd May!

Keep visiting for more such awesome posts, internet tips, and lifestyle tips, and remember we cover,
“Everything under the Sun!”

inspire2rise 2024 refresh

Follow Inspire2rise on Twitter. | Follow Inspire2rise on Facebook. | Follow Inspire2rise on YouTube

Love to experience and learn about new gadgets and technology. New technology is not good or evil by itself. It's all about how people choose to use it!


Google Chrome Speeds Up by 5% with Improved Cookie Handling

Leave a Comment

Discover more from Inspire2Rise

Subscribe now to keep reading and get access to the full archive.

Continue reading