Skip to content

Conversation

@miguelmaso
Copy link
Collaborator

Changelog

  • Added auxiliary functions to control when to print output
  • Added electro visco-elastic simulation test

@github-actions
Copy link

Benchmark Results (Julia v1)

Time benchmarks
main 6e9c252... main / 6e9c252...
Constitutive models/Visco-elastic Ψ 0.0509 ± 0.025 ms 0.0499 ± 0.011 ms 1.02 ± 0.55
Constitutive models/Visco-elastic ∂Ψu 0.0667 ± 0.0033 ms 0.0656 ± 0.0036 ms 1.02 ± 0.075
Constitutive models/Visco-elastic ∂Ψuu 0.116 ± 0.017 ms 0.116 ± 0.016 ms 1 ± 0.2
Simulations/StaticMechanicalDirichlet 0.146 ± 0.0086 s 0.144 ± 0.0081 s 1.02 ± 0.083
Simulations/StaticMechanicalNeumann 0.132 ± 0.013 s 0.128 ± 0.013 s 1.03 ± 0.14
Simulations/ViscoElastic 8.58 s 8.4 s 1.02
Tensor algebra/Cofactor 0.07 ± 0.001 μs 0.07 ± 0.01 μs 1 ± 0.14
Tensor algebra/Det(A)Inv(A') 0.131 ± 0.01 μs 0.14 ± 0.01 μs 0.936 ± 0.098
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.73 ± 0.014 s 2.69 ± 0.016 s 1.01 ± 0.0078
Memory benchmarks
main 6e9c252... main / 6e9c252...
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.59 M allocs: 0.114 GB 1.59 M allocs: 0.114 GB 1
Simulations/StaticMechanicalNeumann 1.41 M allocs: 0.0901 GB 1.41 M allocs: 0.0901 GB 1
Simulations/ViscoElastic 0.128 G allocs: 8.26 GB 0.128 G allocs: 8.26 GB 1
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 e1835ac into main Dec 19, 2025
4 checks passed
@miguelmaso miguelmaso deleted the added-tests branch December 19, 2025 10:58
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