Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caching more in AbstractFESpace #157

Merged
merged 2 commits into from
Dec 6, 2024
Merged

Caching more in AbstractFESpace #157

merged 2 commits into from
Dec 6, 2024

Conversation

fverdugo
Copy link
Collaborator

@fverdugo fverdugo commented Dec 6, 2024

@Cmurilochem This improves caching, but the following code still gives very bad profile traces.

function main()
    order = 1
    degree = 2*order
    n = 40
    domain = (0,1,0,1,0,1)
    cells = (n,n,n)
    mesh = GT.cartesian_mesh(domain,cells)
    Ω = GT.interior(mesh)
    dΩ = GT.measure(Ω,degree)
    V = GT.lagrange_space(Ω,order)
    uh = GT.zero_field(Float64,V)
end
@profview main()
ProfileView.closeall()
@profview main()

@fverdugo
Copy link
Collaborator Author

fverdugo commented Dec 6, 2024

Screenshot from 2024-12-06 18-17-12

@fverdugo fverdugo merged commit 91e8e02 into main Dec 6, 2024
6 checks passed
@fverdugo fverdugo deleted the fix_space branch December 6, 2024 18:47
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