diff --git a/packages/docs/astro.config.mjs b/packages/docs/astro.config.mjs index 43141d18..50d58634 100644 --- a/packages/docs/astro.config.mjs +++ b/packages/docs/astro.config.mjs @@ -5,6 +5,7 @@ import starlight from '@astrojs/starlight' // https://astro.build/config export default defineConfig({ + redirects: { '/all-frameworks': '/all-results/' }, site: 'https://frameworks.e18e.dev', integrations: [ starlight({ @@ -20,7 +21,8 @@ export default defineConfig({ { label: 'Overview', link: '/' }, { label: 'Dev Time', link: '/dev-time/' }, { label: 'Run Time', link: '/run-time/' }, - { label: 'All Frameworks', link: '/all-frameworks/' }, + { label: 'Core Web Vitals', link: '/core-web-vitals/' }, + { label: 'All Results', link: '/all-results/' }, { label: 'Methodology', link: '/methodology/' }, { label: 'Glossary', link: '/glossary/' }, { label: 'Impact', link: '/impact/' }, diff --git a/packages/docs/src/content/docs/all-frameworks.mdx b/packages/docs/src/content/docs/all-results.mdx similarity index 92% rename from packages/docs/src/content/docs/all-frameworks.mdx rename to packages/docs/src/content/docs/all-results.mdx index df446709..ece3009f 100644 --- a/packages/docs/src/content/docs/all-frameworks.mdx +++ b/packages/docs/src/content/docs/all-results.mdx @@ -1,6 +1,6 @@ --- -title: All Frameworks -description: All tracked framework benchmark charts and JSON-driven tables. +title: All Results +description: Every tracked framework and test, including Dev Time, Run Time, and Core Web Vitals. tableOfContents: maxHeadingLevel: 4 --- @@ -29,6 +29,8 @@ import { Content as SSRRouterLinkLoadDescription } from '../../components/benchm import { Content as CoreWebVitalsDescription } from '../../components/benchmarks/core-web-vitals/Description.mdx' import CoreWebVitalsResults from '../../components/benchmarks/core-web-vitals/Results.astro' +All results for every tracked framework, including the featured frameworks shown on the Dev Time, Run Time, and Core Web Vitals pages. +
## Dev Time @@ -131,15 +133,15 @@ import CoreWebVitalsResults from '../../components/benchmarks/core-web-vitals/Re -### Core Web Vitals +## Core Web Vitals -#### CWV Desktop +### Desktop -#### CWV Mobile +### Mobile diff --git a/packages/docs/src/content/docs/core-web-vitals.mdx b/packages/docs/src/content/docs/core-web-vitals.mdx new file mode 100644 index 00000000..6b6f726c --- /dev/null +++ b/packages/docs/src/content/docs/core-web-vitals.mdx @@ -0,0 +1,23 @@ +--- +title: Core Web Vitals +description: Compare desktop and mobile website performance across featured frameworks using HTTP Archive data. +--- + +import { Content as CoreWebVitalsDescription } from '../../components/benchmarks/core-web-vitals/Description.mdx' +import CoreWebVitalsResults from '../../components/benchmarks/core-web-vitals/Results.astro' + +These results show website performance for the featured frameworks using HTTP Archive technology reports. Hosting, site design, and implementation also influence these results. The data refreshes monthly when a new snapshot is collected. + + + +
+ +## Desktop + + + +## Mobile + + + +
diff --git a/packages/docs/src/content/docs/index.mdx b/packages/docs/src/content/docs/index.mdx index 3994f301..c1ce41c2 100644 --- a/packages/docs/src/content/docs/index.mdx +++ b/packages/docs/src/content/docs/index.mdx @@ -34,9 +34,12 @@ We currently split our tests into two sections: Dev Time and Run Time. Dev Time - Server-Side Throughput - SSR Load Tests - SS Framework Router Link Load Test -- Exports from Core Web Vitals -Tests run in the CI pipeline, and we save the results to a JSON file that the Astro docs site loads. The [Methodology](/methodology) page explains how we collect each metric. +### Core Web Vitals + +[Core Web Vitals](/core-web-vitals/) compares desktop and mobile website performance using HTTP Archive technology reports. + +Dev Time and Run Time tests run in the CI pipeline, and we save the results to a JSON file that the Astro docs site loads. The [Methodology](/methodology) page explains how we collect each metric. We track metrics for all `major` and `minor` versions. Stats show the latest version we have. You can click into each Framework detail page to see changes over time @@ -64,6 +67,6 @@ We measure the following frameworks using the versions listed below. ## Additional frameworks -We also track the frameworks below. Their results appear on the All Tests page, but are excluded from the Dev Time and Run Time stats. +We also track the frameworks below. The [All Results](/all-results/) page includes every tracked framework and test, including the featured frameworks. The Dev Time, Run Time, and Core Web Vitals pages focus on the featured frameworks. diff --git a/packages/docs/src/content/docs/run-time.mdx b/packages/docs/src/content/docs/run-time.mdx index f7969916..c9f8ac5a 100644 --- a/packages/docs/src/content/docs/run-time.mdx +++ b/packages/docs/src/content/docs/run-time.mdx @@ -13,8 +13,6 @@ import SSRLoadP90Charts from '../../components/SSRLoadP90Charts.astro' import SSRLoadP75Charts from '../../components/SSRLoadP75Charts.astro' import { Content as SSRLoadDescription } from '../../components/benchmarks/ssr-load-test/Description.mdx' import { Content as SSRRouterLinkLoadDescription } from '../../components/benchmarks/ssr-router-link-load-test/Description.mdx' -import { Content as CoreWebVitalsDescription } from '../../components/benchmarks/core-web-vitals/Description.mdx' -import CoreWebVitalsResults from '../../components/benchmarks/core-web-vitals/Results.astro' ## Setup @@ -70,16 +68,4 @@ import CoreWebVitalsResults from '../../components/benchmarks/core-web-vitals/Re -## Core Web Vitals - - - -### CWV Desktop - - - -### CWV Mobile - - -