Skip to content

Instantly share code, notes, and snippets.

@gopal1996
Created April 9, 2021 15:35
Show Gist options
  • Save gopal1996/7594fc1c2c134cb5823fa1f22c5aaf97 to your computer and use it in GitHub Desktop.
Save gopal1996/7594fc1c2c134cb5823fa1f22c5aaf97 to your computer and use it in GitHub Desktop.
  1. To render 60 frames every 1000ms, how much time is available to render a single frame? a. 100ms b. 20ms c. 16ms d. 30ms Ans: 16ms

  2. What is the TTFB? a. Time to First Bit b. Time to First Byte c. Time to First Base64 d. Time to First Browser Ans: Time to First Byte

  3. The PRPL pattern describes a. A pattern describing the following steps: push, Render, Pre-cache, Lazy load. b. A strategy to optimize the CSS. c. A compressing image algorithm. d. A font loading strategy. Ans: A pattern describing the following steps: push, Render, Pre-cache, Lazy load.

  4. What is the First Contentful Paint? a. First h2-Tag on the website. b. First title on the website. c. First meaningful painting of a child. d. How long it takes to render the first DOM content. Ans: How long it takes to render the first DOM content.

  5. What is the Time to Interactive? a. The time the browser renders the head section of the website. b. The time it takes until the next body exercise. c. The time until the website is fully interactive. d. The time the user has to wait for a server response. Ans: The time until the website is fully interactive.

  6. What is the Total Blocking Time? a. The time between First Contentful Paint and Time to Interactive. b. The time between Time to First Byte and Time to Interactive. c. The time between Largest Contentful Paint and Time to Interactive. d. The time between Cumulative Layout Shift and Time to Interactive. Ans: The time between First Contentful Paint and Time to Interactive.

  7. What is the CLS? a. A web performance measurement method. b. Measures layout shifts. c. A new browser standard. d. Stands for Community Layout Specification and describes the way to handle layout in the browser. Ans: Measures layout shifts.

  8. What is RUM? a. Performance measurement method with data from the lab. b. Performance measurement method with data from only mobile users. c. Performance measurement method with data from real users. d. Performance measurement method with data from only desktop users. Ans: Performance measurement method with data from real users.

  9. A Long Task is JavaScript code that monopolizes the main thread for extended periods of time. During this time, users may find your UI unresponsive. Any piece of code that blocks the main thread for ___ms or more can be characterized as a Long Task. a. 20 b. 50 c. 70 d. 100 Ans: 50

  10. True or false? Always insert new content before existing content. This ensures that any layout shifts that occur are expected a. True b. False Ans: False

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment