Skip to content

DOCS: Extra sections on the performance page #3813

Open
@JHopeCollins

Description

@JHopeCollins

Following on from a recent discussion on slack, it would be useful to add some more sections to the manual page on performance. Some possible topics include:

  1. Using Constant or Real instead of float to avoid recompiling kernels every time the value changes.
  2. Setting constant_jacobian=True if the coefficients in a LinearVariationalProblem don't change between solves (or if they don't change every time, and use the invalidate_jacobian() method).
  3. Consider changing to an iterative method instead of the default LU once you scale up past smaller test problems.

Where to find
https://www.firedrakeproject.org/optimising.html

Additional info
Flamegraphs of before/after each change would be nice, and adding them to the existing "Calling solve repeatedly" section.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions