Frontend
1.0.0
1.0.0
  • Introduction
  • Project Guidelines
    • INTRODUCTION
    • PROJECT SETUP
      • Frameworks
      • Static type checking
      • Code Quality Tools
      • Enforcing good practices
      • Testing
      • Code versioning flow
      • Continuous Integration & Delivery
      • Isolated component development
    • EFFECTIVE AND CONSISTENT WORKFLOW
      • Code structure, architecture
      • Code versioning and review flow
      • Testing
      • Continuous Integration & Delivery
      • Dependency checking
      • Project Management Tools
      • Communication
    • THE QUALITY OUTPUT
      • Great UX/UI
        • Design & User Experience
        • SEO, SMO
      • Accessibility
        • Introduction
        • Why a11y?
        • Fundamentals
        • A11y in STRV
          • Share Knowledge
          • Project Life Cycle
          • A11y culture
      • Performance
        • Bundle Size
        • Deployment
        • Audits & Reports
      • Stability
        • Documentation
        • Analytics & Error Tracking
        • Quality Assurance
      • Security
    • FINAL WORDS
    • ACKNOWLEDGEMENT
Powered by GitBook
On this page
  • Loading Performance
  • How to improve loading performance?
  • Runtime Performance
  • How to improve runtime performance?
  • Articles

Was this helpful?

  1. Project Guidelines
  2. THE QUALITY OUTPUT

Performance

PreviousA11y cultureNextBundle Size

Last updated 5 years ago

Was this helpful?

Web is fast, web is slow. Your app should be accessible to all users, regardless if they are on a super-fast fiber network or on a 3G/2G. You can have an amazing app running super fast, but if users are not able to load it, it’s useless.

There are many studies about how page load time actually affects conversion rates. After 2014, mobile usage has taken over desktop use; since then, we've needed to focus on mobile first. And mobiles are unfortunately prone to be on a slow network.

The math here is simple. The less data there is to load, the faster the load is.

Tools like and help you analyze your output and improve the overall user experience.

Performance plays a major role in the success of any online venture. Please follow on Google’s Web Fundamentals. Take an extra look on provided case studies. It’s obvious that when a web app is faster, it’s more successful.

  • - Case studies and experiments demonstrating the impact of web performance optimization (WPO) on user experience and business metrics.

Loading Performance

Loading performance is all about how fast the end-user will see your app. There are a few terms you should be aware of:

  • Time to First Byte (TTFB) - seen as the time between clicking a link and the first bit of content coming in.

  • First Paint (FP) - the first moment any pixel becomes visible to the user.

  • First Contentful Paint (FCP) - the time when requested content (article body, etc.) becomes visible.

  • Time To Interactive (TTI) - the time at which a page becomes interactive (events wired up, etc.).

The audit tools mentioned above will help you fix the majority of issues with loading performance.

How to improve loading performance?

  • Service Workers

  • Lazy loading images

    • Minification

    • Code splitting

    • Tree shaking

Runtime Performance

Runtime Performance is more about how smooth and fluid your app is. You should aim to have 60fps all the time. You can use Chrome’s flame chart, which visualizes JavaScript performance. Also, there is the FPS meter.

How to improve runtime performance?

  • WebGL for hardcode web animations accelerated by GPU

  • web-workers

  • WebAssembly

Articles

- React components for efficiently rendering large lists and tabular data

Lighthouse
Webpack Bundle Analyzer
Why Performance Matters
https://wpostats.com/
https://speedcurve.com/benchmarks/
https://developers.google.com/web/updates/2019/02/rendering-on-the-web#terminology
Optimizing bundle size
CDN
react-window
20 Ways to Speed Up Your Website and Improve Conversion in 2019
Smashing Magazine's Frontend Performance Checklist 2020
2019 Page Speed Report for Marketers
Industry Benchmarks on Mobile Page Speeds
Impact on conversion rates
Mobile pages speeds
How fast should a website load?
Value of speed
Google Mobile Site Speed Playbook