Makie.jl icon indicating copy to clipboard operation
Makie.jl copied to clipboard

use lightweight GeometryBasics

Open SimonDanisch opened this issue 2 years ago • 1 comments

SimonDanisch avatar Jun 16 '22 10:06 SimonDanisch

Compile Times benchmark

Note, that these numbers may fluctuate on the CI servers, so take them with a grain of salt. All benchmark results are based on the mean time and negative percent mean faster than the base branch. Note, that GLMakie + WGLMakie run on an emulated GPU, so the runtime benchmark is much slower. Results are from running:

using_time = @ctime using Backend
# Compile time
create_time = @ctime fig = scatter(1:4; color=1:4, colormap=:turbo, markersize=20, visible=true)
display_time = @ctime Makie.colorbuffer(display(fig))
# Runtime
create_time = @benchmark fig = scatter(1:4; color=1:4, colormap=:turbo, markersize=20, visible=true)
display_time = @benchmark Makie.colorbuffer(display(fig))
using create display create display
GLMakie 15.46s (15.06, 16.54) 0.53+- 20.70s (20.26, 21.73) 0.48+- 18.08s (17.82, 18.39) 0.23+- 31.55ms (30.71, 32.26) 0.69+- 106.74ms (105.33, 108.28) 1.18+-
breaking-release 15.81s (15.57, 16.19) 0.22+- 21.12s (20.99, 21.24) 0.10+- 18.92s (18.49, 19.43) 0.35+- 31.60ms (30.68, 32.62) 0.72+- 107.92ms (103.82, 111.66) 2.38+-
evaluation -2.28%, -0.35s invariant (-0.87d, 0.14p, 0.37std) -2.06%, -0.43s invariant (-1.23d, 0.06p, 0.29std) -4.65%, -0.84s faster ✓ (-2.81d, 0.00p, 0.29std) -0.14%, -0.04ms invariant (-0.06d, 0.91p, 0.70std) -1.10%, -1.18ms invariant (-0.63d, 0.27p, 1.78std)
CairoMakie 10.78s (10.71, 10.83) 0.05+- 18.79s (18.57, 18.99) 0.15+- 2.59s (2.55, 2.65) 0.04+- 21.39ms (21.05, 21.76) 0.24+- 25.27ms (25.06, 26.00) 0.33+-
breaking-release 11.30s (11.22, 11.47) 0.08+- 19.00s (18.94, 19.13) 0.06+- 2.51s (2.49, 2.54) 0.02+- 21.34ms (21.07, 21.67) 0.23+- 25.18ms (24.91, 25.65) 0.27+-
evaluation -4.85%, -0.52s faster ✓ (-7.76d, 0.00p, 0.06std) -1.10%, -0.21s faster ✓ (-1.84d, 0.01p, 0.10std) +2.90%, 0.07s slower X (2.41d, 0.00p, 0.03std) +0.24%, 0.05ms invariant (0.21d, 0.70p, 0.24std) +0.34%, 0.09ms invariant (0.28d, 0.61p, 0.30std)
WGLMakie
breaking-release
evaluation

MakieBot avatar Jun 22 '22 14:06 MakieBot

closing in favor of https://github.com/JuliaPlots/Makie.jl/pull/2220

SimonDanisch avatar Aug 24 '22 14:08 SimonDanisch