Starting GLMakie takes very long

Why not convert them?

1 Like

It just needs a redesign of a lot of internals to do that, and we’re not sure about the tradeoffs in usability yet

2 Likes

Mine (2020b) just took ~12 s. Sometimes it’s a bit faster others a bit slower.

2 Likes

That’s actually the plan for the plot type refactor, but it’s still not super easy. Note that a color can be: a single color, an array of colors… And that’s one of the simpler attributes:

5 Likes

Just a guess, but beside improving the speed of compilation maybe it would also help usability in a way, by making the API more predicable for the user. E.g. ā€œI can give :red or RGBAf0(1, 0, 0, 1) and I know it’s quickly normalized to ... and then clearly it makes no differenceā€.

Awesome to hear! :slight_smile: But yeah I see what you mean, that’s quite some work…

1 Like

This looks strange to me anti_aliasing::Bool = :fxaa

1 Like

It’s in a very early stage :smiley:

24 sec on my Win 10 laptop.

2 Likes

GLMakie in M1 with Rosseta it takes 42 seconds to first plot. So, not bad… one can always use that time to explain the problem of Time to first plot. :smiley: which is less than a minute.

4 Likes