Skip to content

Commit d2693ba

Browse files
authored
Publish latest NuGet benchmark results (#7)
1 parent 4dc0cf7 commit d2693ba

13 files changed

Lines changed: 170 additions & 0 deletions

‎README.es.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,20 @@ Consulta la [matriz de compatibilidad](docs/compatibility.md), el [contrato de a
112112

113113
## Benchmark De Rust Y .NET
114114

115+
### Últimos Resultados NuGet
116+
117+
La última prueba Windows x64 comparó `MiniExcel 1.46.0` con `MiniExcel.Rust 0.1.0-preview.1`
118+
sobre 100.000 filas x 10 columnas, usando cinco procesos nuevos por runtime y escenario. Antes de
119+
medir se verificaron todas las filas, columnas y valores normalizados.
120+
121+
| Escenario | MiniExcel | MiniExcel.Rust | Aceleración Rust | Reducción asignaciones | Reducción working set |
122+
| --- | ---: | ---: | ---: | ---: | ---: |
123+
| Cold | 2.052,91 ms | 1.278,59 ms | 1,61x | 88,6 % | 4,6 % |
124+
| Steady | 4.635,98 ms | 3.380,16 ms | 1,37x | 88,6 % | 10,1 % |
125+
126+
Los resultados dependen de la máquina. Ejecuta `pwsh ./scripts/compare-nuget-v1-rust.ps1`
127+
con workbooks representativos; consulta la [metodología](docs/dotnet-v1-query-benchmark.md).
128+
115129
Coloca este repositorio junto a [.NET MiniExcel](https://github.com/mini-software/MiniExcel) y ejecuta:
116130

117131
```powershell

‎README.fr.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,20 @@ Voir la [matrice de compatibilité](docs/compatibility.md), le [contrat analyse/
112112

113113
## Benchmark Rust Et .NET
114114

115+
### Derniers Résultats NuGet
116+
117+
Le dernier test Windows x64 compare `MiniExcel 1.46.0` et `MiniExcel.Rust 0.1.0-preview.1`
118+
sur 100 000 lignes x 10 colonnes, avec cinq processus neufs par runtime et scénario. Toutes les
119+
lignes, colonnes et valeurs normalisées sont vérifiées avant la mesure.
120+
121+
| Scénario | MiniExcel | MiniExcel.Rust | Accélération Rust | Réduction allocations | Réduction working set |
122+
| --- | ---: | ---: | ---: | ---: | ---: |
123+
| Cold | 2 052,91 ms | 1 278,59 ms | 1,61x | 88,6 % | 4,6 % |
124+
| Steady | 4 635,98 ms | 3 380,16 ms | 1,37x | 88,6 % | 10,1 % |
125+
126+
Les résultats dépendent de la machine. Relancez `pwsh ./scripts/compare-nuget-v1-rust.ps1`
127+
sur des workbooks représentatifs ; voir la [méthodologie](docs/dotnet-v1-query-benchmark.md).
128+
115129
Placez ce dépôt à côté de [.NET MiniExcel](https://github.com/mini-software/MiniExcel), puis exécutez :
116130

117131
```powershell

‎README.ja.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,20 @@ MiniExcel::save_as("book.xlsx", &[row])?;
111111

112112
## Rust と .NET の Benchmark
113113

114+
### 最新 NuGet 結果
115+
116+
最新の Windows x64 テストでは、100,000 行 x 10 列の workbook で `MiniExcel 1.46.0` と
117+
`MiniExcel.Rust 0.1.0-preview.1` を比較し、runtime とシナリオごとに 5 個の新規 process を使用しました。
118+
計測前に全行・全列・正規化した値の一致を確認しています。
119+
120+
| シナリオ | MiniExcel | MiniExcel.Rust | Rust 高速化 | Allocation 削減 | Working set 削減 |
121+
| --- | ---: | ---: | ---: | ---: | ---: |
122+
| Cold | 2,052.91 ms | 1,278.59 ms | 1.61x | 88.6% | 4.6% |
123+
| Steady | 4,635.98 ms | 3,380.16 ms | 1.37x | 88.6% | 10.1% |
124+
125+
結果はマシンに依存します。代表的な workbook で `pwsh ./scripts/compare-nuget-v1-rust.ps1` を実行し、
126+
[測定方法](docs/dotnet-v1-query-benchmark.md)を参照してください。
127+
114128
このリポジトリを [.NET MiniExcel](https://github.com/mini-software/MiniExcel) と隣接配置して実行します。
115129

116130
```powershell

‎README.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,20 @@ See the [compatibility matrix](docs/compatibility.md), [analytics and RAG contra
112112

113113
## Rust And .NET Benchmark
114114

115+
### Latest NuGet Results
116+
117+
The latest Windows x64 run compared public `MiniExcel 1.46.0` with
118+
`MiniExcel.Rust 0.1.0-preview.1` over 100,000 rows x 10 columns, using five fresh processes per
119+
runtime and scenario. Every row, column, and normalized value matched before timing.
120+
121+
| Scenario | MiniExcel | MiniExcel.Rust | Rust speedup | Allocation reduction | Working-set reduction |
122+
| --- | ---: | ---: | ---: | ---: | ---: |
123+
| Cold | 2,052.91 ms | 1,278.59 ms | 1.61x | 88.6% | 4.6% |
124+
| Steady | 4,635.98 ms | 3,380.16 ms | 1.37x | 88.6% | 10.1% |
125+
126+
Results are machine-specific. Run `pwsh ./scripts/compare-nuget-v1-rust.ps1` on representative
127+
workbooks; see the [benchmark methodology](docs/dotnet-v1-query-benchmark.md).
128+
115129
Place this repository beside [.NET MiniExcel](https://github.com/mini-software/MiniExcel), then run:
116130

117131
```powershell

‎README.zh-CN.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,19 @@ MiniExcel::save_as("book.xlsx", &[row])?;
110110

111111
## Rust 与 .NET 性能对比
112112

113+
### 最新 NuGet 结果
114+
115+
最新 Windows x64 测试使用 100,000 行 x 10 列工作簿,对比公开的 `MiniExcel 1.46.0` 与
116+
`MiniExcel.Rust 0.1.0-preview.1`;每个 runtime、每个场景运行 5 个独立进程。计时前已逐行、逐列、逐值验证一致。
117+
118+
| 场景 | MiniExcel | MiniExcel.Rust | Rust 加速 | 分配内存降低 | 工作集降低 |
119+
| --- | ---: | ---: | ---: | ---: | ---: |
120+
| Cold | 2,052.91 ms | 1,278.59 ms | 1.61x | 88.6% | 4.6% |
121+
| Steady | 4,635.98 ms | 3,380.16 ms | 1.37x | 88.6% | 10.1% |
122+
123+
结果与机器和工作簿相关。请用 `pwsh ./scripts/compare-nuget-v1-rust.ps1` 在代表性工作簿上复测;
124+
详见[测试方法](docs/dotnet-v1-query-benchmark.zh-CN.md)。
125+
113126
将本仓库与 [.NET MiniExcel](https://github.com/mini-software/MiniExcel) 放在同级目录后运行:
114127

115128
```powershell

‎README.zh-TW.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,19 @@ MiniExcel::save_as("book.xlsx", &[row])?;
110110

111111
## Rust 與 .NET 效能比較
112112

113+
### 最新 NuGet 結果
114+
115+
最新 Windows x64 測試使用 100,000 列 x 10 欄 workbook,比較公開的 `MiniExcel 1.46.0` 與
116+
`MiniExcel.Rust 0.1.0-preview.1`;每個 runtime、每個場景執行 5 個獨立 process。計時前已逐列、逐欄、逐值驗證一致。
117+
118+
| 場景 | MiniExcel | MiniExcel.Rust | Rust 加速 | 配置記憶體降低 | Working set 降低 |
119+
| --- | ---: | ---: | ---: | ---: | ---: |
120+
| Cold | 2,052.91 ms | 1,278.59 ms | 1.61x | 88.6% | 4.6% |
121+
| Steady | 4,635.98 ms | 3,380.16 ms | 1.37x | 88.6% | 10.1% |
122+
123+
結果會受機器與 workbook 影響。請用 `pwsh ./scripts/compare-nuget-v1-rust.ps1` 在代表性 workbook 上重測;
124+
詳見[測試方法](docs/dotnet-v1-query-benchmark.md)。
125+
113126
將本儲存庫與 [.NET MiniExcel](https://github.com/mini-software/MiniExcel) 放在同層目錄後執行:
114127

115128
```powershell

‎docs/dotnet-v1-query-benchmark.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@ Use `-Rows`, `-Columns`, `-Iterations`, `-Passes`, and `-WarmupPasses` to change
3030
`NuGet Benchmark` GitHub workflow runs the same harness on Windows, Linux, and macOS for x64 and
3131
Arm64. Pass `-MiniExcelVersion 1.46.0` to pin a historical baseline for reproducible comparisons.
3232

33+
#### Latest NuGet Result
34+
35+
The 2026-09-10 Windows x64 run used 100,000 rows x 10 columns and five fresh processes per runtime
36+
and scenario. `MiniExcel 1.46.0` and `MiniExcel.Rust 0.1.0-preview.1` matched every normalized value.
37+
38+
| Scenario | MiniExcel | MiniExcel.Rust | Rust speedup | Allocation reduction | Working-set reduction |
39+
| --- | ---: | ---: | ---: | ---: | ---: |
40+
| Cold | 2,052.91 ms | 1,278.59 ms | 1.61x | 88.6% | 4.6% |
41+
| Steady | 4,635.98 ms | 3,380.16 ms | 1.37x | 88.6% | 10.1% |
42+
3343
## Fairness Controls
3444

3545
- Both runners use Release builds, the same workbook, and equivalent public dynamic Query APIs.

‎docs/dotnet-v1-query-benchmark.zh-CN.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@ pwsh ./scripts/compare-nuget-v1-rust.ps1
2828
GitHub 的 `NuGet Benchmark` workflow 会在 Windows、Linux、macOS 的 x64 与 Arm64 环境运行同一套测试。
2929
如需复现历史结果,可传入 `-MiniExcelVersion 1.46.0` 固定基线版本。
3030

31+
#### 最新 NuGet 结果
32+
33+
2026-09-10 的 Windows x64 测试使用 100,000 行 x 10 列工作簿,每个 runtime、每个场景运行
34+
5 个独立进程。`MiniExcel 1.46.0` 与 `MiniExcel.Rust 0.1.0-preview.1` 的所有规范化值完全一致。
35+
36+
| 场景 | MiniExcel | MiniExcel.Rust | Rust 加速 | 分配内存降低 | 工作集降低 |
37+
| --- | ---: | ---: | ---: | ---: | ---: |
38+
| Cold | 2,052.91 ms | 1,278.59 ms | 1.61x | 88.6% | 4.6% |
39+
| Steady | 4,635.98 ms | 3,380.16 ms | 1.37x | 88.6% | 10.1% |
40+
3141
## 公平性控制
3242

3343
- 两个 runner 都使用 Release 构建、同一份工作簿和语义等价的公开动态 Query API。

‎docs/i18n/README.es.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,20 @@ Consulta la [matriz de compatibilidad](../compatibility.md), el [contrato de an
290290

291291
## Benchmark De Rust Y .NET
292292

293+
### Últimos Resultados NuGet
294+
295+
La última prueba Windows x64 comparó `MiniExcel 1.46.0` con `MiniExcel.Rust 0.1.0-preview.1`
296+
sobre 100.000 filas x 10 columnas, usando cinco procesos nuevos por runtime y escenario. Antes de
297+
medir se verificaron todas las filas, columnas y valores normalizados.
298+
299+
| Escenario | MiniExcel | MiniExcel.Rust | Aceleración Rust | Reducción asignaciones | Reducción working set |
300+
| --- | ---: | ---: | ---: | ---: | ---: |
301+
| Cold | 2.052,91 ms | 1.278,59 ms | 1,61x | 88,6 % | 4,6 % |
302+
| Steady | 4.635,98 ms | 3.380,16 ms | 1,37x | 88,6 % | 10,1 % |
303+
304+
Los resultados dependen de la máquina. Ejecuta `pwsh ./scripts/compare-nuget-v1-rust.ps1`
305+
con workbooks representativos; consulta la [metodología](../dotnet-v1-query-benchmark.md).
306+
293307
Coloca este repositorio junto a [.NET MiniExcel](https://github.com/mini-software/MiniExcel) y ejecuta:
294308

295309
```powershell

‎docs/i18n/README.fr.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,20 @@ Voir la [matrice de compatibilité](../compatibility.md), le [contrat analyse/RA
291291

292292
## Benchmark Rust Et .NET
293293

294+
### Derniers Résultats NuGet
295+
296+
Le dernier test Windows x64 compare `MiniExcel 1.46.0` et `MiniExcel.Rust 0.1.0-preview.1`
297+
sur 100 000 lignes x 10 colonnes, avec cinq processus neufs par runtime et scénario. Toutes les
298+
lignes, colonnes et valeurs normalisées sont vérifiées avant la mesure.
299+
300+
| Scénario | MiniExcel | MiniExcel.Rust | Accélération Rust | Réduction allocations | Réduction working set |
301+
| --- | ---: | ---: | ---: | ---: | ---: |
302+
| Cold | 2 052,91 ms | 1 278,59 ms | 1,61x | 88,6 % | 4,6 % |
303+
| Steady | 4 635,98 ms | 3 380,16 ms | 1,37x | 88,6 % | 10,1 % |
304+
305+
Les résultats dépendent de la machine. Relancez `pwsh ./scripts/compare-nuget-v1-rust.ps1`
306+
sur des workbooks représentatifs ; voir la [méthodologie](../dotnet-v1-query-benchmark.md).
307+
294308
Placez ce dépôt à côté de [.NET MiniExcel](https://github.com/mini-software/MiniExcel), puis exécutez :
295309

296310
```powershell

0 commit comments

Comments
 (0)