From 9cba57e6111cda1197121a1d5cfa6492fa1e326b Mon Sep 17 00:00:00 2001
From: Alexander Karan
Date: Wed, 14 Jan 2026 17:36:35 +0800
Subject: [PATCH 1/2] Added build stats
---
.../docs/src/components/DependencyStats.astro | 29 ++++++++++++++++++-
packages/docs/src/content/config.ts | 6 ++++
2 files changed, 34 insertions(+), 1 deletion(-)
diff --git a/packages/docs/src/components/DependencyStats.astro b/packages/docs/src/components/DependencyStats.astro
index 175cbc6..990cc1c 100644
--- a/packages/docs/src/components/DependencyStats.astro
+++ b/packages/docs/src/components/DependencyStats.astro
@@ -23,6 +23,9 @@ const stats = statsEntries.map((entry) => entry.data)
.
+ All stats are taken from the basic starter kits each meta-framework sets based on their current docs
+
+
Dev Time Performance
@@ -47,7 +50,6 @@ const stats = statsEntries.map((entry) => entry.data)
-
Details
@@ -75,6 +77,31 @@ const stats = statsEntries.map((entry) => entry.data)
+
+
+
+
+ | Framework |
+ Install |
+ Cold Build |
+ Warm Build |
+
+
+
+ {
+ stats.map((framework) => (
+
+ | {framework.name} |
+ {(framework.installTimeMs / 1000).toFixed(2)}s |
+ {(framework.coldBuildTimeMs / 1000).toFixed(2)}s |
+ {(framework.warmBuildTimeMs / 1000).toFixed(2)}s |
+
+ ))
+ }
+
+
+
+
Runtime Performance
Coming soon...
diff --git a/packages/docs/src/content/config.ts b/packages/docs/src/content/config.ts
index 72cdffa..ea386c9 100644
--- a/packages/docs/src/content/config.ts
+++ b/packages/docs/src/content/config.ts
@@ -4,9 +4,15 @@ const statsCollection = defineCollection({
type: 'data',
schema: z.object({
name: z.string(),
+ type: z.string(),
prodDependencies: z.number(),
devDependencies: z.number(),
npmGraphUrl: z.string().url().optional(),
+ installTimeMs: z.number(),
+ coldBuildTimeMs: z.number(),
+ warmBuildTimeMs: z.number(),
+ timingMeasuredAt: z.string(),
+ runner: z.string(),
}),
})
From f4cb78fdf5dc6397dd2bb4f02145270650198e4c Mon Sep 17 00:00:00 2001
From: Alexander Karan
Date: Wed, 14 Jan 2026 18:11:15 +0800
Subject: [PATCH 2/2] Updated styling
---
packages/docs/src/assets/background.svg | 1 -
.../docs/src/components/DependencyStats.astro | 88 ++++++++++---------
packages/docs/src/layouts/Layout.astro | 14 ++-
3 files changed, 60 insertions(+), 43 deletions(-)
delete mode 100644 packages/docs/src/assets/background.svg
diff --git a/packages/docs/src/assets/background.svg b/packages/docs/src/assets/background.svg
deleted file mode 100644
index 4b2be0a..0000000
--- a/packages/docs/src/assets/background.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/packages/docs/src/components/DependencyStats.astro b/packages/docs/src/components/DependencyStats.astro
index 990cc1c..4de7d2c 100644
--- a/packages/docs/src/components/DependencyStats.astro
+++ b/packages/docs/src/components/DependencyStats.astro
@@ -1,13 +1,11 @@
---
import { getCollection } from 'astro:content'
-import background from '../assets/background.svg'
const statsEntries = await getCollection('stats')
const stats = statsEntries.map((entry) => entry.data)
---
-
Framework Tracker
@@ -23,18 +21,20 @@ const stats = statsEntries.map((entry) => entry.data)
.
- All stats are taken from the basic starter kits each meta-framework sets based on their current docs
-
+
+ All stats are taken from the basic starter kits each meta-framework
+ provides based on their current docs.
+
Dev Time Performance
-
+
- | Framework |
- Prod Deps |
- Dev Deps |
+ Framework |
+ Prod Deps |
+ Dev Deps |
@@ -77,14 +77,14 @@ const stats = statsEntries.map((entry) => entry.data)
-
-
+
+
- | Framework |
- Install |
- Cold Build |
- Warm Build |
+ Framework |
+ Install |
+ Cold Build |
+ Warm Build |
@@ -109,21 +109,24 @@ const stats = statsEntries.map((entry) => entry.data)