Skip to content

Commit 52c4ca1

Browse files
committed
docs: update charts & formula docs
1 parent efcd5f7 commit 52c4ca1

11 files changed

Lines changed: 1373 additions & 1294 deletions

content/guides/sheets/features/advanced-formula.ja-JP.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,17 @@ icon: '#pro/Sigma'
2626

2727
高度な数式エンジン(Advanced Formula Engine)は、従来の数式エンジンを最適化し、計算性能を向上させ、より豊富な機能を提供します。複雑な数式計算をサポートし、大規模なデータセットを処理できるほか、エラー処理やデバッグ機能も改善されています。
2828

29+
## パフォーマンス比較
30+
31+
以下の表は、Pro 数式エンジンと OSS 数式エンジンのパフォーマンスを比較しています。
32+
33+
| テストファイル | 数式数 | OSS | Pro | Pro 高速化倍率 |
34+
| --- | --- | --- | --- | --- |
35+
| Synthetic_500K_MixedFormulas | 500,000 | 137.13 s | **132.18 s** | 1.04× |
36+
| RealWorld_Engineering_68K | 68,576 | 34.54 s | **6.65 s** | **5.19×** |
37+
| RealWorld_Financial_33K | 33,617 | 1.34 s | **1.22 s** | 1.10× |
38+
| Template_1.4M_Summary | 1,463,721 | 248.62 s | **103.62 s** | **2.40×** |
39+
2940
## プリセットモード
3041

3142
高度な数式エンジンは `@univerjs/preset-sheets-advanced` プリセットに含まれています。

content/guides/sheets/features/advanced-formula.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,17 @@ icon: '#pro/Sigma'
2626

2727
The Advanced Formula Engine optimizes the original formula engine, providing improved calculation performance and richer functionality. It supports a variety of complex formula calculations, can handle large datasets, and offers better error handling and debugging capabilities.
2828

29+
## Performance Comparison
30+
31+
The following table compares the Pro formula engine against the OSS formula engine.
32+
33+
| Test File | Formula Count | OSS | Pro | Pro Speedup |
34+
| --- | --- | --- | --- | --- |
35+
| Synthetic_500K_MixedFormulas | 500,000 | 137.13 s | **132.18 s** | 1.04× |
36+
| RealWorld_Engineering_68K | 68,576 | 34.54 s | **6.65 s** | **5.19×** |
37+
| RealWorld_Financial_33K | 33,617 | 1.34 s | **1.22 s** | 1.10× |
38+
| Template_1.4M_Summary | 1,463,721 | 248.62 s | **103.62 s** | **2.40×** |
39+
2940
## Preset Mode
3041

3142
The Advanced Formula Engine is included in the `@univerjs/preset-sheets-advanced` preset.

content/guides/sheets/features/advanced-formula.zh-CN.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,17 @@ icon: '#pro/Sigma'
2626

2727
高级公式引擎优化了原有的公式引擎,提供了更高效的计算性能和更丰富的功能。它支持多种复杂的公式计算,能够处理大规模数据集,并且提供了更好的错误处理和调试功能。
2828

29+
## 性能对比
30+
31+
下表对比了 Pro 公式引擎与 OSS 公式引擎的性能。
32+
33+
| 测试文件 | 公式数量 | OSS | Pro | Pro 加速比 |
34+
| --- | --- | --- | --- | --- |
35+
| Synthetic_500K_MixedFormulas | 500,000 | 137.13 s | **132.18 s** | 1.04× |
36+
| RealWorld_Engineering_68K | 68,576 | 34.54 s | **6.65 s** | **5.19×** |
37+
| RealWorld_Financial_33K | 33,617 | 1.34 s | **1.22 s** | 1.10× |
38+
| Template_1.4M_Summary | 1,463,721 | 248.62 s | **103.62 s** | **2.40×** |
39+
2940
## Preset Mode
3041

3142
高级公式引擎被包含在 `@univerjs/preset-sheets-advanced` 预设中。

content/guides/sheets/features/advanced-formula.zh-TW.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,17 @@ icon: '#pro/Sigma'
2626

2727
高階公式引擎最佳化了原有的公式引擎,提供了更高效的計算效能和更豐富的功能。它支援多種複雜的公式計算,能夠處理大規模資料集,並且提供了更好的錯誤處理和除錯功能。
2828

29+
## 效能比較
30+
31+
下表比較了 Pro 公式引擎與 OSS 公式引擎的效能。
32+
33+
| 測試檔案 | 公式數量 | OSS | Pro | Pro 加速比 |
34+
| --- | --- | --- | --- | --- |
35+
| Synthetic_500K_MixedFormulas | 500,000 | 137.13 s | **132.18 s** | 1.04× |
36+
| RealWorld_Engineering_68K | 68,576 | 34.54 s | **6.65 s** | **5.19×** |
37+
| RealWorld_Financial_33K | 33,617 | 1.34 s | **1.22 s** | 1.10× |
38+
| Template_1.4M_Summary | 1,463,721 | 248.62 s | **103.62 s** | **2.40×** |
39+
2940
## Preset Mode
3041

3142
高階公式引擎被包含在 `@univerjs/preset-sheets-advanced` 預設中。

content/icons/icons-version.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import pkg from '../../package.json'
2+
3+
export function IconsVersion() {
4+
const version = pkg.dependencies?.['@univerjs/icons'] ?? 'unknown'
5+
6+
return (
7+
<code className="rounded-sm bg-muted px-1.5 py-0.5 text-xs font-semibold">
8+
{version}
9+
</code>
10+
)
11+
}

content/icons/index.ja-JP.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22
title: Univer Icons
33
---
44

5+
import { IconsVersion } from './icons-version'
6+
57
## What is Univer Icons
68

79
`@univerjs/icons` is the official Univer icon package. It provides tree-shakable React icon components for office-style UI.
810

11+
Current documentation version: <IconsVersion />
12+
913
## Installation
1014

1115
```package-install

content/icons/index.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22
title: Univer Icons
33
---
44

5+
import { IconsVersion } from './icons-version'
6+
57
## What is Univer Icons
68

79
`@univerjs/icons` is the official Univer icon package. It provides tree-shakable React icon components for office-style UI.
810

11+
Current documentation version: <IconsVersion />
12+
913
## Installation
1014

1115
```package-install

content/icons/index.zh-CN.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22
title: Univer Icons
33
---
44

5+
import { IconsVersion } from './icons-version'
6+
57
## 什么是 Univer Icons
68

79
`@univerjs/icons` 是 Univer 官方图标包,提供可按需打包(tree-shakable)的 React 图标组件,适用于办公类产品界面。
810

11+
当前文档版本:<IconsVersion />
12+
913
## 安装
1014

1115
```package-install

content/icons/index.zh-TW.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22
title: Univer Icons
33
---
44

5+
import { IconsVersion } from './icons-version'
6+
57
## 什麼是 Univer Icons
68

79
`@univerjs/icons` 是 Univer 官方圖示套件,提供可按需打包(tree-shakable)的 React 圖示元件,適用於辦公類產品介面。
810

11+
目前文件版本:<IconsVersion />
12+
913
## 安裝
1014

1115
```package-install

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"@univerjs/engine-formula": "^0.23.0",
5656
"@univerjs/engine-render": "^0.23.0",
5757
"@univerjs/find-replace": "^0.23.0",
58-
"@univerjs/icons": "^1.2.0",
58+
"@univerjs/icons": "^1.3.0",
5959
"@univerjs/preset-docs-advanced": "^0.23.0",
6060
"@univerjs/preset-docs-core": "^0.23.0",
6161
"@univerjs/preset-sheets-advanced": "^0.23.0",
@@ -108,19 +108,19 @@
108108
"fumadocs-mdx": "15.0.4",
109109
"fumadocs-typescript": "^5.2.6",
110110
"fumadocs-ui": "16.8.10",
111-
"lucide-react": "^1.14.0",
111+
"lucide-react": "^1.16.0",
112112
"mermaid": "^11.15.0",
113-
"motion": "^12.38.0",
113+
"motion": "^12.39.0",
114114
"next": "16.2.6",
115115
"next-themes": "^0.4.6",
116116
"nextjs-toploader": "^3.9.17",
117-
"posthog-node": "^5.34.1",
117+
"posthog-node": "^5.34.6",
118118
"radix-ui": "^1.4.3",
119119
"react": "^19.2.6",
120120
"react-dom": "^19.2.6",
121121
"react-use-measure": "^2.1.7",
122122
"rxjs": "^7.8.2",
123-
"shiki": "^4.0.2",
123+
"shiki": "^4.1.0",
124124
"tailwind-merge": "^3.6.0",
125125
"ts-morph": "^28.0.0",
126126
"tw-animate-css": "^1.4.0",
@@ -133,21 +133,21 @@
133133
"@eslint-react/eslint-plugin": "^5.7.7",
134134
"@tailwindcss/postcss": "^4.3.0",
135135
"@types/mdx": "^2.0.13",
136-
"@types/node": "25.7.0",
137-
"@types/react": "^19.2.14",
136+
"@types/node": "25.9.1",
137+
"@types/react": "^19.2.15",
138138
"@types/react-dom": "^19.2.3",
139-
"eslint": "^10.3.0",
139+
"eslint": "^10.4.0",
140140
"eslint-plugin-astro": "^1.7.0",
141141
"eslint-plugin-better-tailwindcss": "^4.5.0",
142142
"eslint-plugin-format": "^2.0.1",
143143
"eslint-plugin-mdx": "^3.7.0",
144144
"eslint-plugin-react-hooks": "^7.1.1",
145145
"eslint-plugin-react-refresh": "^0.5.2",
146146
"husky": "^9.1.7",
147-
"lint-staged": "^17.0.4",
148-
"lit": "^3.3.2",
147+
"lint-staged": "^17.0.5",
148+
"lit": "^3.3.3",
149149
"playwright": "^1.60.0",
150-
"postcss": "^8.5.14",
150+
"postcss": "^8.5.15",
151151
"tailwindcss": "^4.3.0",
152152
"typescript": "^6.0.3"
153153
},

0 commit comments

Comments
 (0)