Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions packages/docs/src/components/InReview.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
import type { MeasurementName } from '@framework-performance/results/measurements-config'
import { isMeasurementShown } from '../lib/measurement-status'

interface Props {
/** Hidden on production if any of these tests is in review */
test: MeasurementName | MeasurementName[]
}

const tests = [Astro.props.test].flat()
---

{tests.every(isMeasurementShown) && <slot />}
29 changes: 29 additions & 0 deletions packages/docs/src/content/docs/dev-time.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: Dev Time Stats
description: Framework project footprint and build cost metrics.
---

import InReview from '../../components/InReview.astro'
import { Content as DevTimeSetup } from '../../benchmarks/shared/DevTimeSetup.mdx'
import { Content as DependencyCountsDescription } from '../../benchmarks/dependency-counts/Description.mdx'
import FrameworkDependencyResults from '../../benchmarks/dependency-counts/FrameworkResults.astro'
Expand All @@ -17,6 +18,8 @@ import MinimumNodeVersionCompare from '../../benchmarks/minimum-node-version/Com

<DevTimeSetup />

<InReview test="dependencies">

## Dependency Counts

<DependencyCountsDescription />
Expand All @@ -33,26 +36,52 @@ import MinimumNodeVersionCompare from '../../benchmarks/minimum-node-version/Com

<StarterDependencyResults />

</InReview>

<InReview test="install">

## Node Modules Size

<NodeModulesSizeCompare />

</InReview>

<InReview test={['build', 'install']}>

## Build and Install Times

<BuildInstallCompare />

</InReview>

<InReview test="devServer">

## Dev Server Startup

<DevServerStartupCompare />

</InReview>

<InReview test="build">

## Core-JS Polyfills

<CoreJsCompare />

</InReview>

<InReview test="browserBaseline">

## Browser Baseline

<BrowserBaselineCompare />

</InReview>

<InReview test="nodeEngines">

## Minimum Node Version

<MinimumNodeVersionCompare />

</InReview>
45 changes: 45 additions & 0 deletions packages/docs/src/content/docs/framework/astro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: Astro
description: Astro version comparison page.
---

import InReview from '../../../components/InReview.astro'
import { Content as DevTimeSetup } from '../../../benchmarks/shared/DevTimeSetup.mdx'
import { Content as RunTimeSetup } from '../../../benchmarks/shared/RunTimeSetup.mdx'
import DependencyCountsDetails from '../../../benchmarks/dependency-counts/Details.astro'
Expand All @@ -29,50 +30,94 @@ export const astroRuntimeVersions = getRuntimeVersionStats('app-astro')

<DevTimeSetup />

<InReview test="dependencies">

### Dependency Counts

<DependencyCountsDetails versions={astroStarterVersions} />

</InReview>

<InReview test="install">

### Node Modules Size

<NodeModulesSizeDetails versions={astroStarterVersions} />

</InReview>

<InReview test={['build', 'install']}>

### Build and Install Times

<BuildInstallDetails versions={astroStarterVersions} />

</InReview>

<InReview test="devServer">

### Dev Server Startup

<DevServerStartupDetails versions={astroStarterVersions} />

</InReview>

<InReview test="build">

### Core-JS Polyfills

<CoreJsDetails versions={astroStarterVersions} />

</InReview>

<InReview test="browserBaseline">

### Browser Baseline

<BrowserBaselineDetails versions={astroStarterVersions} />

</InReview>

## Run Time

<RunTimeSetup />

<InReview test="initialLoad">

### Initial Load

<InitialLoadDetails versions={astroRuntimeVersions} />

</InReview>

<InReview test="clientSideRendered">

### Client Side Rendered Tests (Lighthouse)

<LighthouseClientSideRenderedDetails versions={astroRuntimeVersions} />

</InReview>

<InReview test="serverSideRendered">

### Server Side Rendered Tests (Lighthouse)

<LighthouseServerSideRenderedDetails versions={astroRuntimeVersions} />

</InReview>

<InReview test="ssrRequestThroughput">

### Server Side Throughput Tests

<SSRThroughputDetails versions={astroRuntimeVersions} />

</InReview>

<InReview test="ssrLoad">

### SSR Load Test

<SSRLoadDetails versions={astroRuntimeVersions} />

</InReview>
49 changes: 49 additions & 0 deletions packages/docs/src/content/docs/framework/next-js.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: Next.js
description: Next.js version comparison page.
---

import InReview from '../../../components/InReview.astro'
import { Content as DevTimeSetup } from '../../../benchmarks/shared/DevTimeSetup.mdx'
import { Content as RunTimeSetup } from '../../../benchmarks/shared/RunTimeSetup.mdx'
import DependencyCountsDetails from '../../../benchmarks/dependency-counts/Details.astro'
Expand Down Expand Up @@ -30,50 +31,92 @@ export const nextJsRuntimeVersions = getRuntimeVersionStats('app-next-js')

<DevTimeSetup />

<InReview test="dependencies">

### Dependency Counts

<DependencyCountsDetails versions={nextJsStarterVersions} />

</InReview>

<InReview test="install">

### Node Modules Size

<NodeModulesSizeDetails versions={nextJsStarterVersions} />

</InReview>

<InReview test={['build', 'install']}>

### Build and Install Times

<BuildInstallDetails versions={nextJsStarterVersions} />

</InReview>

<InReview test="devServer">

### Dev Server Startup

<DevServerStartupDetails versions={nextJsStarterVersions} />

</InReview>

<InReview test="build">

### Core-JS Polyfills

<CoreJsDetails versions={nextJsStarterVersions} />

</InReview>

<InReview test="browserBaseline">

### Browser Baseline

<BrowserBaselineDetails versions={nextJsStarterVersions} />

</InReview>

## Run Time

<RunTimeSetup />

<InReview test="initialLoad">

### Initial Load

<InitialLoadDetails versions={nextJsRuntimeVersions} />

</InReview>

<InReview test="clientSideRendered">

### Client Side Rendered Tests (Lighthouse)

<LighthouseClientSideRenderedDetails versions={nextJsRuntimeVersions} />

</InReview>

<InReview test="serverSideRendered">

### Server Side Rendered Tests (Lighthouse)

<LighthouseServerSideRenderedDetails versions={nextJsRuntimeVersions} />

</InReview>

<InReview test="ssrRequestThroughput">

### Server Side Throughput Tests

<SSRThroughputDetails versions={nextJsRuntimeVersions} />

</InReview>

<InReview test="ssrLoad">

### SSR Load Test

<SSRLoadDetails versions={nextJsRuntimeVersions}>
Expand All @@ -83,6 +126,10 @@ measurements are unavailable; new CI runs will populate this series.

</SSRLoadDetails>

</InReview>

<InReview test="ssrRouterLinkLoad">

### SSR Router Link Load Test

<SSRRouterLinkLoadDetails versions={nextJsRuntimeVersions}>
Expand All @@ -91,3 +138,5 @@ Framework router links at `/server-side-rendered`. Historical HTTP load results
are preserved in this series.

</SSRRouterLinkLoadDetails>

</InReview>
Loading