mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-11 22:21:52 +00:00
2cbb382ca8
- Tests 1 to 5000 fields to find crossover point - Confirms stack copying is O(n) at 0.16 ns/field - Confirms Dict mutation is O(1) at 7 ns constant - Crossover at 100 fields (800 bytes) for updates - Typical FEM elements (20-60 fields) well below crossover - Immutable wins for access and iteration at ALL sizes - Generates 5 publication-quality plots - Exports JSON + CSV with system specs - System: Intel Xeon Gold 6326, 32 cores, 503 GB RAM
1.9 KiB
1.9 KiB
| 1 | nfields | bytes | mut_access_ns | imm_access_ns | speedup_access | mut_update_ns | imm_update_ns | speedup_update | imm_copy_ns | mut_iter_ns | imm_iter_ns | speedup_iter |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | 1 | 8 | 4.615 | 2.023 | 2.2812654473554126 | 7.1991991991991995 | 2.315 | 3.1098052696324836 | 2.023 | 11.773773773773774 | 2.024 | 5.817081904038426 |
| 3 | 2 | 16 | 4.904 | 2.023 | 2.4241225902125554 | 7.207207207207207 | 2.314 | 3.11460985618289 | 2.029 | 14.48997995991984 | 2.025 | 7.1555456592196744 |
| 4 | 5 | 40 | 4.897 | 2.373 | 2.063632532659081 | 7.201201201201201 | 2.604 | 2.765438249309217 | 2.383 | 16.70941883767535 | 2.312 | 7.227257282731553 |
| 5 | 10 | 80 | 4.621 | 2.029 | 2.2774765894529327 | 7.1991991991991995 | 2.602 | 2.7667944654877785 | 3.311 | 23.13152610441767 | 2.602 | 8.889902422912249 |
| 6 | 20 | 160 | 4.618 | 2.023 | 2.282748393475037 | 7.201201201201201 | 3.1633266533066133 | 2.2764646179280326 | 3.177 | 63.131632653061224 | 5.523 | 11.43067764857165 |
| 7 | 50 | 400 | 4.617 | 2.029 | 2.275505174963036 | 7.197197197197197 | 6.022 | 1.1951506471599465 | 6.895895895895896 | 196.84902597402598 | 24.783132530120483 | 7.942862982909166 |
| 8 | 100 | 800 | 4.618 | 2.025 | 2.280493827160494 | 7.198198198198198 | 11.745745745745745 | 0.612834498039884 | 9.476476476476476 | 260.55786350148367 | 68.50307377049181 | 3.803593753682347 |
| 9 | 200 | 1600 | 4.621 | 2.373 | 1.9473240623683101 | 7.41041041041041 | 24.633534136546185 | 0.30082611651798524 | 20.948897795591183 | 777.9142857142857 | 155.1606475716065 | 5.013605562294905 |
| 10 | 500 | 4000 | 4.624 | 2.027 | 2.281203749383325 | 7.198198198198198 | 80.83854166666667 | 0.08904413723690831 | 58.68463886063072 | 1156.3 | 499.35567010309273 | 2.3155840000000003 |
| 11 | 1000 | 8000 | 4.671 | 2.084 | 2.241362763915547 | 7.2002002002002 | 193.26257861635222 | 0.03725604952469045 | 45.70171890798787 | 3465.75 | 1100.2 | 3.1501090710779853 |
| 12 | 2000 | 16000 | 4.625 | 2.024 | 2.2850790513833994 | 7.197197197197197 | 410.8542713567839 | 0.0175176399491468 | 82.94813278008299 | 4811.714285714285 | 2226.222222222222 | 2.1613809428742545 |
| 13 | 5000 | 40000 | 4.623 | 2.083 | 2.2193951032165145 | 7.2042042042042045 | 1936.1 | 0.0037209876577677828 | 867.0408163265306 | 33969.0 | 5667.166666666667 | 5.994000529365056 |