On Windows, the GKS QtTerm takes a few seconds longer to load for some reason. If you need a quick plot on Windows, try ENV["GKSwstype"] = 41
. I got it down to 0.854989 seconds there.
julia> ENV["GKSwstype"] = 41
41
julia> @time begin
@time using GR
x = [0, 0.2, 0.4, 0.6, 0.8, 1.0]
y = [0.3, 0.5, 0.4, 0.2, 0.6, 0.7]
@time GR.polyline(x,y)
@time GR.axes(0.2, 0.2, 0, 0, 1, 1, -0.01)
@time GR.updatews()
end
0.736812 seconds (358.68 k allocations: 24.924 MiB, 0.44% compilation time)
0.027033 seconds (4.20 k allocations: 239.321 KiB, 16.08% compilation time)
0.012760 seconds (7.61 k allocations: 439.718 KiB, 49.23% compilation time)
0.004378 seconds (498 allocations: 36.640 KiB, 99.48% compilation time)
0.854989 seconds (488.09 k allocations: 33.029 MiB, 2.13% compilation time)
Also thank you @jheinen for indulging me for the last few hours. I’m really excited where this is heading.