DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Analyzing Accelerated Mobile Pages Performance

In this article, we are going to see about AMP from a performance perspective.

NaveenKumar Namachivayam user avatar by
NaveenKumar Namachivayam
CORE ·
Oct. 17, 16 · Opinion
Like (7)
Save
Tweet
Share
3.29K Views

Join the DZone community and get the full member experience.

Join For Free

If you are avid mobile user you would have noticed in Google search results pages a fine logo of lightning bolt with grey-ish text AMP. Have you ever thought what it is and why it is displaying in your search results. In this article, we are going to see about AMP from a performance perspective.

Now-a-days every web application is being built on complex architecture with micro services and there are lot of resources loaded on the client side. But for mobile users, it is unnecessary to load everything as-is like desktop. You get annoying pop-ups, huge images, automatic redirect to your app store or play or windows store. That is why Google designed a project called AMP. AMP stands for Accelerated Mobile Pages.

It is an open source initiative by Google to deliver better performance for mobile web. Google collaborates with multiple publishers who creates mobile optimized content to deliver it quickly to the end users. The language to create AMP is called AMP HTML along with AMP JS library.

What Is the Need for AMP?

From my perspective, I feel it is necessary to streamline the mobile web content and to display relevant results quickly without loading all the resources. It saves the bandwidth, time, and many more. AMP project objective is to deliver content quickly for mobile web users.

How It Works?

Right now, there are lot of publishers who enabled their pages AMP-ish. E.g. Washington Post, if you search for any news, if Washington Post lists in the first page, Google collates it and display the content as AMP along with other publishers’ results as carousel. See below example.

search features02 TopStoryEven our blog QAInsights.com is AMP enabled. WordPress has released AMP plugin recently where you need to just install that plugin and activate it. Google start indexing the pages as AMP and display it accordingly.

What AMP Supports?

AMP supports content, image, videos,  layouts, advertisements etc. Very soon, AMP extensions enables users to sign-up for newsletters, basic site searches etc. AMP supports e-commerce as well where users can shop in AMP.

As I mentioned above, AMP definitely enables faster web by loading only relevant resources.

  • It will save the bandwidth usage
  • less number of requests
  • less number of DNS lookups
  • Improved user experience.

Validate AMP

There are multiple ways to validate AMP. Easy way to validate the AMP content is : using this chrome app which validates the AMP compliance. You can use chrome dev tools to view the AMP errors.

Measuring AMP performance

Usual tools like HPE LoadRunner or Apache JMeter does not support AMP as of today. Only SOASTA’s mPulse tool has a privilege to capture real user monitoring for AMPs.

Your turn: Is there any other tool available to measure the AMP performance?

Have you enabled AMP for your blog?

mobile app

Published at DZone with permission of NaveenKumar Namachivayam, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • 10 Most Popular Frameworks for Building Restful APIs
  • AWS Cloud Migration: Best Practices and Pitfalls to Avoid
  • What Is Policy-as-Code? An Introduction to Open Policy Agent
  • Agile Scrum and the New Way of Work in 2023

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: