Skip to content

Performance regression with nested functions on v0.13 using CPU #154

@albert-de-montserrat

Description

@albert-de-montserrat

We are having a lot of performance regressions in JustRelax.jl after switching from v0.12.1 to v.0.13.0. For starters, our CI went from 12mins to nearly 4h.

In a more concrete example, the first time step of the heat diffusion solve (3D, with a 32^2 resolution), using 4 threads on both cases:

  • v0.12.1: 1.595059 seconds (589.13 k allocations: 45.257 MiB, 13.13% gc time, 111.39% compilation time)
  • v0.13.0: 84.653106 seconds (4.27 G allocations: 147.336 GiB, 13.47% gc time, 3.19% compilation time)

What did change in 0.13 ? Did Polyester actually became the default?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions