> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rocket.new/llms.txt
> Use this file to discover all available pages before exploring further.

# Performance

> Grade your Rocket.new site on Core Web Vitals and fix issues in one click with the built-in performance dashboard. Part of the only vibe solutioning platform with research, building, and intelligence.

export const LlmsDirective = () => <blockquote className="llms-directive">
    For the complete documentation index, see <a href="/llms.txt">llms.txt</a>.
    For a lightweight markdown version of this page, append .md to the URL.
  </blockquote>;

<LlmsDirective />

Your site's speed affects who finds it, who stays, and who converts. Rocket measures your site on the same metrics Google uses, grades it from A to F, and shows you exactly what to fix.

<Frame caption="How to use the Rocket performance dashboard">
  <iframe className="w-full aspect-video rounded-xl" src="https://www.youtube.com/embed/VzDbBRN-WCc" title="How to use the Rocket performance dashboard to check Core Web Vitals" frameBorder="0" loading="lazy" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />
</Frame>

<Info>
  Performance is only available for landing page and website projects. Google uses Core Web Vitals (LCP, INP, CLS) as a ranking signal. Sites that score poorly on these metrics risk lower placement in search results.
</Info>

## Steps

<Steps>
  <Step title="Open Performance">
    Click **...** in the top navigation bar of your task, then select **Performance** from the menu.
  </Step>

  <Step title="Pick what you want to measure">
    Use the **Staging / Production** toggle to choose which environment to check. Then switch between **Desktop** and **Mobile** to see scores for each.

    Desktop and mobile scores are measured separately because page loading differs by device. Mobile connections are slower, screens are smaller, and browsers handle resources differently. A page that scores well on desktop can still perform poorly on mobile. Check both.

    <Frame caption="Performance dashboard showing Core Web Vitals scores and grade">
      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/V8n5a5SD5I4rMm7t/images/build-docs/measure/performance/web-browser/performance-overview-light.webp?fit=max&auto=format&n=V8n5a5SD5I4rMm7t&q=85&s=8be6a6701b288c77ab0678458d117ff3" alt="Performance tab showing Grade A, five metric cards (LCP, INP, CLS, FCP, TTFB) all rated Great, with Desktop and Mobile tabs and Staging/Production toggle." className="theme-image light-image" width="1440" height="812" data-path="images/build-docs/measure/performance/web-browser/performance-overview-light.webp" />

      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/V8n5a5SD5I4rMm7t/images/build-docs/measure/performance/web-browser/performance-overview-dark.webp?fit=max&auto=format&n=V8n5a5SD5I4rMm7t&q=85&s=c26a07446d37e48c485d2bb593083697" alt="Performance tab showing Grade A, five metric cards (LCP, INP, CLS, FCP, TTFB) all rated Great, with Desktop and Mobile tabs and Staging/Production toggle." className="theme-image dark-image" width="1440" height="812" data-path="images/build-docs/measure/performance/web-browser/performance-overview-dark.webp" />
    </Frame>
  </Step>

  <Step title="Run the check">
    Click **Refresh** to fetch the latest scores.
  </Step>

  <Step title="Fix what Rocket flags">
    In **Issues**, click **Try to fix** on items you want Rocket to resolve automatically.

    <Warning>
      **Try to fix** uses credits. Each fix is an AI-powered code change applied to your project.
    </Warning>
  </Step>

  <Step title="Re-check until stable">
    Click **Refresh** again. Aim for consistent "Great" on LCP, INP, and CLS.
  </Step>
</Steps>

## What the dashboard measures

The Performance tab grades your site from **A to F** based on five metrics:

* **Three Core Web Vitals:** The metrics Google uses for search ranking.
* **Two diagnostics:** Supplementary metrics that help identify the root cause of slower scores.

Each metric shows a score, a progress bar, and a rating: Great, Needs Improvement, or Poor.

<Frame caption="Performance metrics and identified issues">
  <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/V8n5a5SD5I4rMm7t/images/build-docs/measure/performance/web-browser/performance-issues-light.webp?fit=max&auto=format&n=V8n5a5SD5I4rMm7t&q=85&s=bc7e1a70a75eb610b68901fb5710f4fd" alt="Performance dashboard showing five metric cards (LCP, INP, CLS, FCP, TTFB) all rated Great, followed by the Identified issues list with Try to fix and Ignore buttons." className="theme-image light-image" width="1440" height="1269" data-path="images/build-docs/measure/performance/web-browser/performance-issues-light.webp" />

  <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/V8n5a5SD5I4rMm7t/images/build-docs/measure/performance/web-browser/performance-issues-dark.webp?fit=max&auto=format&n=V8n5a5SD5I4rMm7t&q=85&s=77d8c7c5ae7e6ba91394697ce5a42b0a" alt="Performance dashboard showing five metric cards (LCP, INP, CLS, FCP, TTFB) all rated Great, followed by the Identified issues list with Try to fix and Ignore buttons." className="theme-image dark-image" width="1440" height="1269" data-path="images/build-docs/measure/performance/web-browser/performance-issues-dark.webp" />
</Frame>

<Tabs>
  <Tab title="Core Web Vitals">
    ### Page load speed (LCP)

    **Largest Contentful Paint** measures how long it takes for the main content of your page to become visible. This is usually the hero image, headline, or largest text block.

    Visitors decide whether a page feels fast or slow based on this moment. Faster LCP means more people stay.

    | Rating            | Threshold         |
    | ----------------- | ----------------- |
    | Great             | Under 2.5 seconds |
    | Needs Improvement | 2.5 to 4 seconds  |
    | Poor              | Over 4 seconds    |

    ### Click response (INP)

    **Interaction to Next Paint** measures how quickly the page reacts when someone clicks, taps, or types. A slow INP makes the site feel unresponsive or broken even after it has fully loaded.

    | Rating            | Threshold      |
    | ----------------- | -------------- |
    | Great             | Under 200ms    |
    | Needs Improvement | 200ms to 500ms |
    | Poor              | Over 500ms     |

    ### Page stability (CLS)

    **Cumulative Layout Shift** measures how much the page layout moves while it is loading. A score of 0 means nothing shifts. Higher scores mean elements are jumping around, which causes misclicks and a frustrating experience.

    | Rating            | Threshold   |
    | ----------------- | ----------- |
    | Great             | Under 0.1   |
    | Needs Improvement | 0.1 to 0.25 |
    | Poor              | Over 0.25   |
  </Tab>

  <Tab title="Diagnostics">
    ### First impression (FCP)

    **First Contentful Paint** measures how quickly the first piece of content appears on screen, whether text, an image, or a background. Unlike LCP, which tracks the main content, FCP captures the first sign of life.

    A fast FCP tells the visitor the page is working. A slow one looks like a blank screen.

    | Rating            | Threshold         |
    | ----------------- | ----------------- |
    | Great             | Under 1.8 seconds |
    | Needs Improvement | 1.8 to 3 seconds  |
    | Poor              | Over 3 seconds    |

    ### Server speed (TTFB)

    **Time to First Byte** measures how quickly the server starts sending a response to the browser. Everything else depends on this. If the server is slow, no amount of front-end optimization will make up for it.

    | Rating            | Threshold       |
    | ----------------- | --------------- |
    | Great             | Under 800ms     |
    | Needs Improvement | 800ms to 1800ms |
    | Poor              | Over 1800ms     |
  </Tab>
</Tabs>

<Note>
  Thresholds are defined by [Google's Web Vitals standards](https://web.dev/articles/defining-core-web-vitals-thresholds) and measured at the 75th percentile of page views. This means if 75% of your visitors see a "Great" score, your site passes.
</Note>

<Note>
  Staging scores reflect your current work in progress. Production scores reflect what real users experience on your live site. Check both before publishing to catch issues before they go live.
</Note>

## Identified issues

Below the metric cards, Rocket lists specific issues detected on your site. Each issue includes the affected metric, the current value, and an estimated savings breakdown so you can see exactly where time or bytes are being lost.

<CardGroup cols={3}>
  <Card title="High LCP or FCP" icon="hourglass-half">
    Caused by unused JavaScript, render-blocking CSS, or unoptimized images.
  </Card>

  <Card title="Unoptimized images" icon="image">
    Estimated waste in KiB shown for both mobile and desktop.
  </Card>

  <Card title="Missing cache headers" icon="database">
    On generated images, affecting both LCP and FCP savings.
  </Card>
</CardGroup>

### Fixing or ignoring issues

Every issue has two actions:

* **Try to fix.** Rocket applies an automatic fix (compress images, remove unused code, add lazy loading, set cache headers). Each fix targets the exact metric that flagged the issue. This uses credits.
* **Ignore.** Dismisses the issue if it is not relevant or if you plan to address it manually.

## Improving your scores

You can also describe the issue to Rocket in chat and it will apply the fix for you.

<CodeGroup>
  ```plaintext wrap Page speed theme={null}
  Improve my site's page load speed. Optimize images, lazy load below-the-fold content, and reduce unused JavaScript.
  ```

  ```plaintext wrap Layout shifts theme={null}
  Fix layout shift issues on my landing page. Make sure images and fonts have explicit dimensions so nothing jumps around while loading.
  ```

  ```plaintext wrap Server speed theme={null}
  Improve server response time by adding caching headers and optimizing the critical rendering path.
  ```
</CodeGroup>

## Frequently asked questions

<AccordionGroup>
  <Accordion title="Why do Core Web Vitals matter for my business?">
    Google uses Core Web Vitals as a ranking signal. Sites that fail the thresholds risk being pushed down in search results.

    Beyond SEO, speed directly affects revenue: a [Deloitte study](https://www.deloitte.com/ie/en/services/consulting/research/milliseconds-make-millions.html) found that a 0.1-second speed improvement increased travel site conversions by 10.1%.

    If you build sites for clients, a Grade A performance report is concrete proof of quality before they even review the design.
  </Accordion>

  <Accordion title="How often should I check my performance scores?">
    After every major change: adding images, new sections, third-party scripts, or fonts. Always before deploying to production. Rocket makes this a one-click task with the **Refresh** button.
  </Accordion>

  <Accordion title="What's the difference between staging and production scores?">
    Staging measures your work in progress inside Rocket. Production measures what real visitors experience on your [deployed site](/build/launch-web/launch-your-site). Scores can differ if your production environment has additional third-party scripts, different assets, or different server configurations.
  </Accordion>

  <Accordion title="What does the 'Try to fix' button actually do?">
    Rocket analyzes the specific issue and applies targeted fixes: compressing oversized images, removing unused JavaScript, adding lazy loading to off-screen images, or setting proper cache headers. Each fix targets the exact metric that flagged the issue.
  </Accordion>

  <Accordion title="Do I need technical knowledge to improve my scores?">
    No. The **Try to fix** button handles everything automatically. You can also describe the issue in plain language in Rocket's chat and it will apply the changes.
  </Accordion>

  <Accordion title="Which three metrics does Google actually use for ranking?">
    LCP, INP, and CLS are the three Core Web Vitals that affect search ranking. FCP and TTFB are supplementary diagnostics. Rocket tracks all five because fixing TTFB or FCP often improves the core three as well.
  </Accordion>
</AccordionGroup>

<Divider />

## What's next?

<CardGroup cols={2}>
  <Card title="SEO & discoverability" icon="magnifying-glass" href="/build/polish/seo">
    Performance scores directly affect your Google search rankings. Optimize your site for search engines.
  </Card>

  <Card title="Analytics" icon="chart-line" href="/build/measure/analytics">
    Track how performance improvements affect your traffic, bounce rate, and engagement over time.
  </Card>

  <Card title="Accessibility" icon="universal-access" href="/build/polish/accessibility">
    Accessible sites tend to perform better due to cleaner HTML structure. Improve both at once.
  </Card>

  <Card title="Deploy to web" icon="globe" href="/build/launch-web/launch-your-site">
    Deploy to production so performance can be measured against real traffic.
  </Card>
</CardGroup>
