Skip to content

Commit f157436

Browse files
committed
Changed: Updates benchmark data and plot
Updates benchmark data for the linear algebra solver comparison. Also updates the corresponding plot in the documentation assets. The data is for la-stack vs nalgebra/faer comparison suite.
1 parent 417c103 commit f157436

File tree

4 files changed

+124
-124
lines changed

4 files changed

+124
-124
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ while keeping the API intentionally small and explicit.
2525

2626
## ✨ Design goals
2727

28-
- ✅ Const-generic dimensions (no dynamic sizes)
29-
- ✅ Stack storage only (no heap allocation in core types)
3028
-`Copy` types where possible
29+
- ✅ Const-generic dimensions (no dynamic sizes)
3130
- ✅ Explicit algorithms (LU, solve, determinant)
32-
-`unsafe` forbidden
3331
- ✅ No runtime dependencies (dev-dependencies are for contributors only)
32+
- ✅ Stack storage only (no heap allocation in core types)
33+
-`unsafe` forbidden
3434

3535
## 🚫 Anti-goals
3636

@@ -124,14 +124,14 @@ Summary (median time; lower is better). The “la-stack vs nalgebra/faer” colu
124124
<!-- BENCH_TABLE:lu_solve:median:new:BEGIN -->
125125
| D | la-stack median (ns) | nalgebra median (ns) | faer median (ns) | la-stack vs nalgebra | la-stack vs faer |
126126
|---:|--------------------:|--------------------:|----------------:|---------------------:|----------------:|
127-
| 2 | 2.065 | 18.375 | 160.418 | +88.8% | +98.7% |
128-
| 3 | 13.457 | 23.377 | 198.440 | +42.4% | +93.2% |
129-
| 4 | 27.750 | 54.267 | 228.744 | +48.9% | +87.9% |
130-
| 5 | 46.317 | 73.840 | 291.623 | +37.3% | +84.1% |
131-
| 8 | 138.183 | 177.982 | 389.006 | +22.4% | +64.5% |
132-
| 16 | 629.427 | 591.505 | 893.672 | -6.4% | +29.6% |
133-
| 32 | 2,688.216 | 2,503.157 | 2,908.436 | -7.4% | +7.6% |
134-
| 64 | 16,771.962 | 14,860.016 | 12,485.424 | -12.9% | -34.3% |
127+
| 2 | 2.043 | 18.278 | 159.281 | +88.8% | +98.7% |
128+
| 3 | 13.449 | 23.337 | 196.591 | +42.4% | +93.2% |
129+
| 4 | 27.807 | 54.199 | 226.222 | +48.7% | +87.7% |
130+
| 5 | 46.075 | 73.548 | 290.914 | +37.4% | +84.2% |
131+
| 8 | 138.187 | 177.453 | 379.886 | +22.1% | +63.6% |
132+
| 16 | 626.078 | 594.055 | 897.044 | -5.4% | +30.2% |
133+
| 32 | 2,684.696 | 2,502.031 | 2,909.466 | -7.3% | +7.7% |
134+
| 64 | 16,721.576 | 14,875.770 | 12,493.628 | -12.4% | -33.8% |
135135
<!-- BENCH_TABLE:lu_solve:median:new:END -->
136136

137137
## 📄 License
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
D,la_stack,la_lo,la_hi,nalgebra,na_lo,na_hi,faer,fa_lo,fa_hi
2-
2,2.064783337073873,2.057689704502174,2.068888221867889,18.37497049638361,18.331137225709913,18.44905068359342,160.41828167015206,159.771806584937,161.23095742945685
3-
3,13.456732290936305,13.447517145467188,13.49236442840063,23.37662094350666,23.266710970814643,23.477406862396062,198.4402652520574,197.38808795625323,199.0284125157543
4-
4,27.75044852748178,27.599588184050052,27.785226320734317,54.266619121715074,54.15885008672231,54.36197439817226,228.74410991553628,227.56318439122288,230.055154703485
5-
5,46.31708492242545,46.21936017779927,46.502000712392494,73.83977618264294,73.57429654893484,74.07010889514254,291.6230709464669,290.6976886943525,292.8926041338858
6-
8,138.18343752426807,137.71388876876108,138.5654231809486,177.9820086523135,177.7122781945933,178.24448790485158,389.0063341187339,387.97176861931916,389.80891746278604
7-
16,629.4267672715603,626.9209242618742,638.6291503313327,591.5050977290701,590.798294714918,592.3790737673589,893.6719342969343,891.1105343477684,898.4784384384384
8-
32,2688.2164628623186,2684.227603602204,2691.7876890359166,2503.1570307509674,2500.668872475772,2506.5409929308526,2908.435890151515,2905.222288277013,2916.704963235294
9-
64,16771.9616225278,16754.37058346066,16817.485164835165,14860.015805946792,14773.547535211268,14956.477776495036,12485.423971036585,12471.988315217392,12501.272443181819
2+
2,2.0426140654904827,2.0391714186102856,2.0478594146918607,18.27778331516731,18.25588547829167,18.353343071154377,159.2814967810837,158.47282250661482,159.94929876504062
3+
3,13.449391348041551,13.441149735016948,13.468703234496012,23.33714807833139,23.197918644389595,23.432750888142905,196.59112056791784,195.46791977222858,197.64819469379614
4+
4,27.80669858961578,27.79483103644443,27.82507517021301,54.198756567150525,54.1371885181747,54.25850823046414,226.2216645280771,225.69147147746128,226.77489608417022
5+
5,46.075071909216696,46.0009302878795,46.22542128093703,73.54836237475409,73.15376033523773,73.65083570024034,290.9144674933806,290.3368842481312,292.2770703780476
6+
8,138.18689626060086,137.6385886896043,138.71964020251693,177.4526788255892,176.72965942802895,177.76610014816572,379.88559054369557,378.0171460866489,381.43214918535807
7+
16,626.0776434176701,622.7027039893363,627.8191979162416,594.0545445505171,590.9848069960763,596.1921326044237,897.0439411793589,892.3923679060665,903.3721630306105
8+
32,2684.695543866568,2682.287244245524,2692.145801224854,2502.0311961897173,2498.0753625161688,2507.013007391502,2909.4663798139577,2905.3646097654746,2914.4703556771547
9+
64,16721.57637997433,16681.169824561402,16765.606725146197,14875.769757096798,14835.11001141987,14911.022279129322,12493.628154592803,12481.801167582416,12502.518368055556

0 commit comments

Comments
 (0)