Skip to content

18x increase in compile time on v1.8 #46492

@baggepinnen

Description

@baggepinnen
Contributor

The following snippet takes

7.833256 seconds (36.60 M allocations: 1.727 GiB, 7.05% gc time, 100.00% compilation time

on julia v1.7.3
but

146.158104 seconds (474.09 M allocations: 79.036 GiB, 4.20% gc time, 100.00% compilation time)

on julia v1.8

using ControlSystems
a_2 = [-5 -3; 2 -9]
C_212 = ss(a_2, [1; 2], [1 0; 0 1], [0; 0])
@time norm(C_212)

an @profile is available in html format here.

image

Activity

KristofferC

KristofferC commented on Aug 26, 2022

@KristofferC
Member

There are at least two regressions I think. Bisecting I see at one time it goes from ~10 seconds to

 39.839046 seconds (102.91 M allocations: 9.583 GiB, 9.93% gc time, 100.00% compilation time)
ianatol

ianatol commented on Aug 26, 2022

@ianatol
Member

There are at least two regressions I think. Bisecting I see at one time it goes from ~10 seconds to

 39.839046 seconds (102.91 M allocations: 9.583 GiB, 9.93% gc time, 100.00% compilation time)

Any particularly guilty commits? @KristofferC

KristofferC

KristofferC commented on Aug 26, 2022

@KristofferC
Member

Few more steps left :)

KristofferC

KristofferC commented on Aug 26, 2022

@KristofferC
Member

First 5x regression is 2c0e1bc, cc @JeffBezanson

KristofferC

KristofferC commented on Aug 27, 2022

@KristofferC
Member

The second big regression (30s -> 200s) comes from 26b0b6e, cc @aviatesk

added a commit that references this issue on Sep 1, 2022
9ec70e7
added a commit that references this issue on Sep 2, 2022
f718238
added a commit that references this issue on Sep 9, 2022
e0a820e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    latencyLatencyregressionRegression in behavior compared to a previous version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @KristofferC@baggepinnen@ianatol

      Issue actions

        18x increase in compile time on v1.8 · Issue #46492 · JuliaLang/julia