Skip to content

Conversation

@miguelmaso
Copy link
Collaborator

I've added more branches to the viscous benchmark because I want to analyze the performance of the loops in the constitutive models.

@github-actions
Copy link

github-actions bot commented Dec 18, 2025

Benchmark Results (Julia v1)

Time benchmarks
main 699cb4a... main / 699cb4a...
Constitutive models/Visco-elastic Ψ 0.0502 ± 0.0097 ms 0.051 ± 0.012 ms 0.984 ± 0.3
Constitutive models/Visco-elastic ∂Ψu 0.0661 ± 0.0042 ms 0.0674 ± 0.005 ms 0.981 ± 0.096
Constitutive models/Visco-elastic ∂Ψuu 0.116 ± 0.017 ms 0.119 ± 0.017 ms 0.978 ± 0.2
Simulations/StaticMechanicalDirichlet 0.154 ± 0.015 s 0.154 ± 0.012 s 0.999 ± 0.12
Simulations/StaticMechanicalNeumann 0.136 ± 0.013 s 0.143 ± 0.012 s 0.949 ± 0.12
Simulations/ViscoElastic 8.88 s 21.9 s 0.406
Tensor algebra/Cofactor 0.07 ± 0.01 μs 0.07 ± 0.01 μs 1 ± 0.2
Tensor algebra/Det(A)Inv(A') 0.13 ± 0.001 μs 0.13 ± 0.001 μs 1 ± 0.011
Tensor algebra/δδ_λ_2d 30 ± 0 ns 30 ± 0 ns 1 ± 0
Tensor algebra/δδ_μ_2d 30 ± 0 ns 30 ± 0 ns 1 ± 0
time_to_load 2.55 ± 0.014 s 2.58 ± 0.025 s 0.989 ± 0.011
Memory benchmarks
main 699cb4a... main / 699cb4a...
Constitutive models/Visco-elastic Ψ 1.25 k allocs: 0.0789 MB 1.25 k allocs: 0.0789 MB 1
Constitutive models/Visco-elastic ∂Ψu 1.37 k allocs: 0.0911 MB 1.37 k allocs: 0.0911 MB 1
Constitutive models/Visco-elastic ∂Ψuu 2.33 k allocs: 0.158 MB 2.33 k allocs: 0.158 MB 1
Simulations/StaticMechanicalDirichlet 1.61 M allocs: 0.115 GB 1.61 M allocs: 0.115 GB 1
Simulations/StaticMechanicalNeumann 1.48 M allocs: 0.0933 GB 1.48 M allocs: 0.0933 GB 1
Simulations/ViscoElastic 0.129 G allocs: 8.3 GB 0.344 G allocs: 22.3 GB 0.373
Tensor algebra/Cofactor 1 allocs: 0.0781 kB 1 allocs: 0.0781 kB 1
Tensor algebra/Det(A)Inv(A') 4 allocs: 0.25 kB 4 allocs: 0.25 kB 1
Tensor algebra/δδ_λ_2d 0 allocs: 0 B 0 allocs: 0 B
Tensor algebra/δδ_μ_2d 0 allocs: 0 B 0 allocs: 0 B
time_to_load 0.149 k allocs: 11.1 kB 0.149 k allocs: 11.1 kB 1

@miguelmaso miguelmaso merged commit 75cda62 into main Dec 18, 2025
4 checks passed
@miguelmaso miguelmaso deleted the bench-3branch branch December 18, 2025 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants