From 004d142df9a8079408964a52dabcce67680f3b77 Mon Sep 17 00:00:00 2001 From: roxblnfk Date: Wed, 2 Dec 2026 16:58:01 +0400 Subject: [PATCH] docs(benchmarks): show the short names of the ORMs in the scenario table Assisted-By: Claude Opus 5.5 --- .vitepress/theme/OrmBenchmarks.vue | 4 ++-- .vitepress/theme/orm-benchmarks.data.ts | 2 +- data/benchmarks/orm/1.0.0-cycle-orm.2.19.0.json | 5 +++++ data/benchmarks/orm/1.0.0.json | 5 +++++ 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.vitepress/theme/OrmBenchmarks.vue b/.vitepress/theme/OrmBenchmarks.vue index cfff939..7bd62e4 100644 --- a/.vitepress/theme/OrmBenchmarks.vue +++ b/.vitepress/theme/OrmBenchmarks.vue @@ -466,8 +466,8 @@ function formatDate(iso: string): string { {{ t.scenario }} PDO - - {{ c.label }} + + {{ c.short ?? c.label }} diff --git a/.vitepress/theme/orm-benchmarks.data.ts b/.vitepress/theme/orm-benchmarks.data.ts index d5a04e3..3d87b38 100644 --- a/.vitepress/theme/orm-benchmarks.data.ts +++ b/.vitepress/theme/orm-benchmarks.data.ts @@ -36,7 +36,7 @@ export interface Run { source: { repository: string, commit: string | null, run: string | null } php: string scenarios: { id: string, group: ScenarioGroup, label: string, revs: number, iterations: number }[] - contenders: { id: string, label: string, package: string, version: string }[] + contenders: { id: string, label: string, short?: string, package: string, version: string }[] databases: Database[] } diff --git a/data/benchmarks/orm/1.0.0-cycle-orm.2.19.0.json b/data/benchmarks/orm/1.0.0-cycle-orm.2.19.0.json index ce762a0..7f40297 100644 --- a/data/benchmarks/orm/1.0.0-cycle-orm.2.19.0.json +++ b/data/benchmarks/orm/1.0.0-cycle-orm.2.19.0.json @@ -112,30 +112,35 @@ { "id": "cycle-mapper", "label": "Cycle DataMapper", + "short": "Cycle DM", "package": "cycle/orm", "version": "2.19.0" }, { "id": "cycle-ar", "label": "Cycle ActiveRecord", + "short": "Cycle AR", "package": "cycle/active-record", "version": "1.2.1" }, { "id": "doctrine", "label": "Doctrine ORM", + "short": "Doctrine", "package": "doctrine/orm", "version": "3.8.0" }, { "id": "eloquent", "label": "Eloquent", + "short": "Eloquent", "package": "illuminate/database", "version": "13.45.0" }, { "id": "yii", "label": "Yii ActiveRecord", + "short": "Yii AR", "package": "yiisoft/active-record", "version": "1.1.0" } diff --git a/data/benchmarks/orm/1.0.0.json b/data/benchmarks/orm/1.0.0.json index 2183b17..f32c00d 100644 --- a/data/benchmarks/orm/1.0.0.json +++ b/data/benchmarks/orm/1.0.0.json @@ -112,30 +112,35 @@ { "id": "cycle-mapper", "label": "Cycle DataMapper", + "short": "Cycle DM", "package": "cycle/orm", "version": "2.19.1" }, { "id": "cycle-ar", "label": "Cycle ActiveRecord", + "short": "Cycle AR", "package": "cycle/active-record", "version": "1.2.1" }, { "id": "doctrine", "label": "Doctrine ORM", + "short": "Doctrine", "package": "doctrine/orm", "version": "3.8.0" }, { "id": "eloquent", "label": "Eloquent", + "short": "Eloquent", "package": "illuminate/database", "version": "13.45.0" }, { "id": "yii", "label": "Yii ActiveRecord", + "short": "Yii AR", "package": "yiisoft/active-record", "version": "1.1.0" }