-
-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GLMakie is too slow for use in scripting #937
Comments
If you run a script with a fresh julia session each time this is expected. If you run it multiple times in the same session the speed should be comparable to CairoMakie. |
We're in the middle of improving compile times, but it will still take some time to significantly improve compile tmes for Makie, since we'll need to improve the compilation of quite a few dependencies and the core Makie code ...
I've never seen that error... Can you open a separate issue with concise steps on how to reproduce it, with OS, Julia and ModernGL.jl versions? |
Thanks @SimonDanisch @jkrumbiegel. Does anyone have a vsCode launch.json that keeps the julia session open? The default always opens a new terminal, forgetting the compilation. If other newbs happen by a sufficient solution is
(where |
I'm not sure what you mean exactly... But the Julia vscode plugin has pretty amazing support for evaluating Julia code in scripts, modules, packages etc, while keeping the julia process running: |
I really want to use Julia but something's very wrong with GLMakie, 63 seconds to plot a 20-point sine wave. What's broken?
Julia 1.6.0, GLMakie v0.2.4, (see package status below).
My workflow is script-based, so <plotting.jl> has
Adding
GLMakie.WINDOW_CONFIG.vsync[] = false
from #267 yields no improvement. Running the same function through a Jupyter notebook with CairoMakie takes 0.035412 seconds (55.30 k allocations: 3.962 MiB).Is this a known limitation or what can I do to help you look into and fix it?
pkg status:
Running the same in vsCode (debug) trips over an error in functionloading.jl line 68,
The text was updated successfully, but these errors were encountered: