Skip to content

Performance asymptotics for sparsity detection #774

Closed
@j-fu

Description

@j-fu

Hi, I am testing sparsity detection via DifferentiationInterface against Symbolics.jl+SparseDiffTools.jl, and I see a regression of asymptotic performance for sparse jacobian calculation away from the O(n) behavior of Symbolics.jl+SparseDiffTools.jl. May be I miss some options to tune this in the right way.

The test involves essentially a tridiagonal operator, something like a nonlinear scalar 1D PDE discretized with finite differences. Below I provide links to the pluto notebook behind the image (with a smaller version of the problem by default) and rendered versions.

Image

Links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions