Logo

dev-resources.site

for different kinds of informations.

Performance Audit: Analyzing Namshi’s Mobile Website with Live Core Web Vitals

Published at
12/27/2024
Categories
webdev
devtools
corewebvitals
performance
Author
shidhincr
Author
9 person written this
shidhincr
open
Performance Audit: Analyzing Namshi’s Mobile Website with Live Core Web Vitals

If you’re new to Live Core Web Vitals, check out my previous post:

What Are We Going to Do?

Namshi is one of the largest e-commerce websites in the UAE. Having worked at Namshi before, I was curious to test the Core Web Vitals scores of their mobile website and evaluate the user experience.

I started with their most visited webpage:

Namshi: Women's Fashion

Namshi web vitals

Using a high-speed Wi-Fi network and an M3 Pro MacBook, I conducted the test without any network or CPU throttling. The LCP (Largest Contentful Paint) score was 2.84 seconds, indicating room for improvement. The LCP metric primarily points to the banner image in the carousel.

Suggestions for improvements:

  • Use smaller placeholder images for banners.
  • Preload banner images(using link preload directive).

As I interacted with the page, the other metrics appeared satisfactory.

Namshi web vitals

Finding slowness

Namshi’s website heavily relies on modal components for features like Sort, Filter, and Search. While most modals opened and closed quickly, I noticed occasional slowness patterns. The INP (Interaction to Next Paint) score fluctuated between 60-100ms, which is generally acceptable.

Namshi web vitals

However, I discovered main-thread blocking code when toggling the “New Arrivals” modal and attempting to close it. This directly impacted the INP score. You can see the behavior in the video below:

A Worse Version?

Yes, I found an even worse scenario where the INP score turned completely RED.

This occurred when I opened the “Filter” modal, applied some filters, and then clicked “Reset Filters”. The page froze momentarily, resulting in a poor user experience.

Namshi web vitals

Suggestions for improvements:

  • Avoid blocking the main thread during user interactions, especially while applying filters.
  • Use Web Workers for computationally intensive tasks

Another Observation

By recording a Performance Profile, the issue was clearly visible in the flame chart. This method is invaluable for identifying and addressing performance bottlenecks.

Recording flame chart

corewebvitals Article's
30 articles in total
Favicon
Performance Audit: Analyzing Namshi’s Mobile Website with Live Core Web Vitals
Favicon
Live core web vitals (local metrics) in browser devtools
Favicon
🚀 Master Core Web Vitals: 3 Metrics for a Better User Experience
Favicon
How to Fix Long Animation Frames (LoAFs) and Speed Up Your Website
Favicon
Fixing WordPress Website Core Web Vitals Issues: Complete Guide
Favicon
How to improve the RES of a web page?
Favicon
Key Strategies to Improve Your Google Lighthouse Score
Favicon
Core Web Vitals, what are they and how to improve your website?
Favicon
Ways to Improve Core Web Vitals of Your Website
Favicon
Improve Performances With Dynamic “Content-Visibility”
Favicon
Google I/O (Connect) — Recap de la categoría Web
Favicon
Core Web Vitals, ¿qué son y cómo mejorar tu web?
Favicon
l Back/Forward Cache (bfcache): Performance-Booster for Magento 2 ✔ | JaJuMa-Blog
Favicon
Docusaurus: improving Core Web Vitals with fetchpriority
Favicon
Google top Core Web Vitals recommendations for 2023
Favicon
See Current Core Web Vitals with Chrome
Favicon
Understanding SEO and Web Vitals for your NextJS site and how to improve them?
Favicon
Getting to Know Web Vitals!
Favicon
Core Web Vitals Dashboard On Google Analytics
Favicon
How to Optimize Website for Core Web Vitals--A Guide for Designers
Favicon
Google Core Web Vitals Explained
Favicon
Doing the right thing for the wrong reasons
Favicon
Core Web Vitals: How to Measure and Improve Them?
Favicon
How List Rendering Can Cause Huge Cumulative Layout Shift
Favicon
Next.js: The Ultimate Cheat Sheet To Page Rendering
Favicon
Core Web Vitals explained with GIFs
Favicon
Introducing the Core Web Vitals Technology Report
Favicon
Core Web Vitals
Favicon
Top WordPress Plugins to Pass the Google Core Web Vitals Test– 2021
Favicon
Numbers

Featured ones: