Skip to content

Removed some dependencies#135

Merged
miguelmaso merged 4 commits into
mainfrom
clean-deps
Mar 9, 2026
Merged

Removed some dependencies#135
miguelmaso merged 4 commits into
mainfrom
clean-deps

Conversation

@miguelmaso
Copy link
Copy Markdown
Collaborator

@miguelmaso miguelmaso commented Mar 9, 2026

Some should not belong to the HyperFEM core:

  • DrWatson: This package is very useful for managing simulations and should be in a global project where the simulations are defined (replaced by UnPack)
  • Profile: This package should belong to a testing/profiling project/subproject
  • ProfileView: This package should belong to a testing/profiling project/subproject
  • TimerOutputs: This package should belong to a testing/profiling project/subproject (already present in test/)

Added:

  • UnPack: this lightweight package provides the @unpack macro.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 9, 2026

Benchmark Results (Julia v1)

Time benchmarks
main d012184... main / d012184...
Constitutive models/Visco-elastic Ψ 0.0515 ± 0.022 ms 0.0518 ± 0.022 ms 0.994 ± 0.61
Constitutive models/Visco-elastic ∂Ψu 0.0563 ± 0.0038 ms 0.0565 ± 0.0059 ms 0.997 ± 0.12
Constitutive models/Visco-elastic ∂Ψuu 0.105 ± 0.019 ms 0.104 ± 0.017 ms 1.01 ± 0.24
Simulations/StaticMechanicalDirichlet 0.218 ± 0.018 s 0.213 ± 0.017 s 1.02 ± 0.12
Simulations/StaticMechanicalNeumann 0.168 ± 0.016 s 0.163 ± 0.019 s 1.03 ± 0.15
Simulations/ViscoElastic 19.8 s 19.6 s 1.01
Tensor algebra/Cofactor 0.061 ± 0.002 μs 0.062 ± 0.002 μs 0.984 ± 0.045
Tensor algebra/Det(A)Inv(A') 0.129 ± 0.005 μs 0.126 ± 0.006 μs 1.02 ± 0.063
Tensor algebra/δδ_λ_2d 18 ± 1 ns 18 ± 1 ns 1 ± 0.079
Tensor algebra/δδ_μ_2d 18 ± 1 ns 18 ± 1 ns 1 ± 0.079
time_to_load 2.67 ± 0.028 s 2.41 ± 0.019 s 1.1 ± 0.015
Memory benchmarks
main d012184... main / d012184...
Constitutive models/Visco-elastic Ψ 1.24 k allocs: 0.0777 MB 1.24 k allocs: 0.0777 MB 1
Constitutive models/Visco-elastic ∂Ψu 1.29 k allocs: 0.0826 MB 1.29 k allocs: 0.0826 MB 1
Constitutive models/Visco-elastic ∂Ψuu 2.25 k allocs: 0.149 MB 2.25 k allocs: 0.149 MB 1
Simulations/StaticMechanicalDirichlet 1.51 M allocs: 0.109 GB 1.51 M allocs: 0.109 GB 1
Simulations/StaticMechanicalNeumann 1.48 M allocs: 0.0933 GB 1.48 M allocs: 0.0933 GB 1
Simulations/ViscoElastic 0.326 G allocs: 20.5 GB 0.326 G allocs: 20.5 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 cae315d into main Mar 9, 2026
4 checks passed
@miguelmaso miguelmaso deleted the clean-deps branch March 9, 2026 17:36
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.

1 participant