You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After loading the DifferentialEquations.jl package in the REPL, Julia seems to start performing very slowly, possibly only when text is output to the REPL, but in a way that makes the REPL extremely frustrating to use. Starting from a fresh Julia REPL session, I perform the following operations:
The first @time a = [1,2,3,4] is nearly instantaneous, as I would expect. But after using DifferentialEquations (which itself takes 30-60 seconds), nearly 10 seconds elapse between hitting enter after @time a = [1,2,3,4] and when I am able to type in the REPL again.
This is especially bad when an exception occurs. The stacktrace output can take over a minute to finish.
Why is the inclusion of the DifferentialEquations package so dramatically affecting the performance of seemingly unrelated operations, including those in Base? I have observed this behavior on two computers.
The text was updated successfully, but these errors were encountered:
I assume this is the same as SciML/DiffEqBase.jl#895 and SciML/SciMLBase.jl#409: the show(::IO, ::Type{<:MyType}) implementations (via TruncatedStacktraces) cause a lot of invalidations.
After loading the DifferentialEquations.jl package in the REPL, Julia seems to start performing very slowly, possibly only when text is output to the REPL, but in a way that makes the REPL extremely frustrating to use. Starting from a fresh Julia REPL session, I perform the following operations:
The first
@time a = [1,2,3,4]
is nearly instantaneous, as I would expect. But afterusing DifferentialEquations
(which itself takes 30-60 seconds), nearly 10 seconds elapse between hitting enter after@time a = [1,2,3,4]
and when I am able to type in the REPL again.This is especially bad when an exception occurs. The stacktrace output can take over a minute to finish.
Why is the inclusion of the DifferentialEquations package so dramatically affecting the performance of seemingly unrelated operations, including those in Base? I have observed this behavior on two computers.
The text was updated successfully, but these errors were encountered: