Closed wavecast closed 3 years ago
This looks like a problem with a dependency, Gtk.jl, which has some confusing process management logic. Do you see the same thing with just using Gtk
?
https://github.com/JuliaLang/julia/issues/35552
We really need to fix that...
This looks like a problem with a dependency, Gtk.jl, which has some confusing process management logic. Do you see the same thing with just
using Gtk
?
Yes, it gives the same behavior with just "using Gtk"
I'm going to close this here, since short of using a different GUI toolkit there's nothing to change in this package.
Linking this here: Performance speed up when wrapping script with Juno.@profiler
Running a separate julia REPL with julia -t 1
fixed my issue
I find ImageView useful and would like to use it along with multithreading. It seems that using ImageView increases the run time of multithreaded programs signficantly. For example the below MWE runs in under a second when run with a single thread ("julia --threads 1") but can take minutes when run with four threads. There's 0% CPU usage during most of that time. It's not necessary to call any methods in ImageView - just 'using' the package is sufficient.
For an MWE put the following in a file and include() it in the REPL.
Here's an example run: