aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/components/pages
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2023-07-08 15:03:07 +0800
committer简律纯 <i@jyunko.cn>2023-07-08 15:03:07 +0800
commit34a49c6b1b58b5054a893b80adda6dc904f4e237 (patch)
tree4e73c0878416ae487838eb474a011f026073f523 /docs/components/pages
parentf741a066909311d6b6827e05baf7bf467ed6a8a2 (diff)
downloadHydroRoll-34a49c6b1b58b5054a893b80adda6dc904f4e237.tar.gz
HydroRoll-34a49c6b1b58b5054a893b80adda6dc904f4e237.zip
😶‍🌫️Delete
Diffstat (limited to 'docs/components/pages')
-rw-r--r--docs/components/pages/TRPG-home/PackBenchmarkTabs.tsx8
-rw-r--r--docs/components/pages/TRPG-home/PackBenchmarks.tsx18
-rw-r--r--docs/components/pages/TRPG-home/PackBenchmarksGraph.tsx2
-rw-r--r--docs/components/pages/TRPG-home/PackBenchmarksPicker.tsx4
4 files changed, 16 insertions, 16 deletions
diff --git a/docs/components/pages/TRPG-home/PackBenchmarkTabs.tsx b/docs/components/pages/TRPG-home/PackBenchmarkTabs.tsx
index f771fb1..e79b820 100644
--- a/docs/components/pages/TRPG-home/PackBenchmarkTabs.tsx
+++ b/docs/components/pages/TRPG-home/PackBenchmarkTabs.tsx
@@ -12,25 +12,25 @@ const TABS: {
}[] = [
{
id: "cold",
- title: "Cold Start",
+ title: "冷加载",
soon: false,
tooltip: "First run",
},
{
id: "file_change",
- title: "File Change",
+ title: "热加载",
soon: false,
tooltip: "Hot Reload (HMR)",
},
{
id: "code_build",
- title: "Code Build",
+ title: "核心构建",
soon: true,
tooltip: "First Build",
},
{
id: "build_from_cache",
- title: "Build from Cache",
+ title: "使用缓存构建",
soon: true,
tooltip: "Second Build",
},
diff --git a/docs/components/pages/TRPG-home/PackBenchmarks.tsx b/docs/components/pages/TRPG-home/PackBenchmarks.tsx
index 97ad74b..36cd4b7 100644
--- a/docs/components/pages/TRPG-home/PackBenchmarks.tsx
+++ b/docs/components/pages/TRPG-home/PackBenchmarks.tsx
@@ -16,7 +16,7 @@ export interface BenchmarkData {
HydroRoll: number;
Shiki: number;
OlivOS: number;
- SealDice: number;
+ // SealDice: number;
}
export interface BenchmarkBar {
@@ -41,10 +41,10 @@ export const DEFAULT_BARS: BenchmarkBar[] = [
label: "OlivOS青果",
swc: true,
},
- {
- key: "SealDice",
- label: "SealDice海豹",
- },
+ // {
+ // key: "SealDice",
+ // label: "SealDice海豹",
+ // },
];
export const HMR_BARS: BenchmarkBar[] = [
{
@@ -61,10 +61,10 @@ export const HMR_BARS: BenchmarkBar[] = [
label: "OlivOS青果",
swc: true,
},
- {
- key: "SealDice",
- label: "SealDice海豹",
- },
+ // {
+ // key: "SealDice",
+ // label: "SealDice海豹",
+ // },
];
export function PackBenchmarks() {
diff --git a/docs/components/pages/TRPG-home/PackBenchmarksGraph.tsx b/docs/components/pages/TRPG-home/PackBenchmarksGraph.tsx
index 6ee4d54..8215ee7 100644
--- a/docs/components/pages/TRPG-home/PackBenchmarksGraph.tsx
+++ b/docs/components/pages/TRPG-home/PackBenchmarksGraph.tsx
@@ -317,7 +317,7 @@ function GraphLabel({
gradients.benchmarkTurboLabel
)}
>
- HydroRollCore
+ 水系核心
</p>
)}
{swc && (
diff --git a/docs/components/pages/TRPG-home/PackBenchmarksPicker.tsx b/docs/components/pages/TRPG-home/PackBenchmarksPicker.tsx
index 33e5bfd..8f0e83e 100644
--- a/docs/components/pages/TRPG-home/PackBenchmarksPicker.tsx
+++ b/docs/components/pages/TRPG-home/PackBenchmarksPicker.tsx
@@ -8,9 +8,9 @@ export function PackBenchmarksPicker(props: {
<div className="flex items-center gap-3">
<a
className="dark:text-[#888888] hover:underline underline-offset-4 text-[#666666] text-sm"
- href="https://github.com/retrofor/HydroRoll/blob/main/docs/components/pages/pack-home/benchmark-data"
+ href="https://github.com/HydroRoll-Team/HydroRoll/blob/main/docs/components/pages/pack-home/benchmark-data"
>
- React Components
+ 本体文件大小
</a>
<PackDropdown
onOptionSelected={(value) => props.setNumberOfModules(value)}