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