Skip to content
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

Add examples for lines attributes #3939

Merged
merged 3 commits into from
Jun 6, 2024
Merged

Add examples for lines attributes #3939

merged 3 commits into from
Jun 6, 2024

Conversation

jkrumbiegel
Copy link
Member

No description provided.

@jkrumbiegel jkrumbiegel added the skip-changelog Skips changelog enforcer label Jun 6, 2024
@MakieBot
Copy link
Collaborator

MakieBot commented Jun 6, 2024

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(fig)
using create display create display
GLMakie 4.20s (4.17, 4.22) 0.01+- 102.16ms (100.54, 103.03) 0.99+- 468.16ms (426.20, 476.98) 18.56+- 8.42ms (8.30, 8.51) 0.09+- 25.35ms (25.34, 25.37) 0.01+-
master 4.20s (4.18, 4.23) 0.02+- 103.41ms (102.38, 104.13) 0.57+- 475.48ms (471.87, 478.04) 1.97+- 8.33ms (8.13, 8.47) 0.14+- 25.36ms (25.31, 25.40) 0.04+-
evaluation 1.00x invariant, -0.01s (-0.39d, 0.48p, 0.02std) 1.01x faster ✓, -1.25ms (-1.55d, 0.02p, 0.78std) 1.02x invariant, -7.32ms (-0.55d, 0.34p, 10.26std) 0.99x invariant, 0.08ms (0.71d, 0.22p, 0.11std) 1.00x invariant, -0.01ms (-0.32d, 0.57p, 0.03std)
CairoMakie 3.81s (3.76, 3.88) 0.05+- 105.14ms (103.92, 107.46) 1.41+- 129.53ms (126.96, 134.92) 3.05+- 8.12ms (7.92, 8.48) 0.20+- 976.56μs (968.74, 988.52) 7.63+-
master 3.55s (3.53, 3.58) 0.02+- 110.27ms (108.13, 117.80) 3.41+- 129.37ms (126.96, 137.16) 3.57+- 8.01ms (7.91, 8.07) 0.06+- 973.17μs (967.03, 980.75) 5.34+-
evaluation 0.93x slower❌, 0.26s (6.78d, 0.00p, 0.04std) 1.05x faster ✓, -5.13ms (-1.96d, 0.01p, 2.41std) 1.00x invariant, 0.15ms (0.05d, 0.93p, 3.31std) 0.99x invariant, 0.11ms (0.77d, 0.19p, 0.13std) 1.00x invariant, 3.39μs (0.51d, 0.36p, 6.48std)
WGLMakie 4.45s (4.36, 4.65) 0.10+- 106.68ms (103.53, 112.38) 3.31+- 9.07s (8.88, 9.77) 0.32+- 9.98ms (8.96, 11.17) 0.82+- 72.42ms (69.34, 82.61) 4.57+-
master 4.47s (4.39, 4.54) 0.06+- 109.11ms (105.80, 115.67) 3.39+- 9.10s (8.87, 9.37) 0.17+- 9.35ms (9.05, 9.66) 0.25+- 70.08ms (69.42, 71.32) 0.72+-
evaluation 1.00x invariant, -0.02s (-0.22d, 0.69p, 0.08std) 1.02x invariant, -2.43ms (-0.73d, 0.20p, 3.35std) 1.00x invariant, -0.03s (-0.12d, 0.83p, 0.24std) 0.94x noisy🤷‍♀️, 0.63ms (1.03d, 0.09p, 0.53std) 0.97x invariant, 2.34ms (0.71d, 0.23p, 2.64std)

@jkrumbiegel jkrumbiegel merged commit 5c30eb1 into master Jun 6, 2024
4 checks passed
@jkrumbiegel jkrumbiegel deleted the jk/lines-examples branch June 6, 2024 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog Skips changelog enforcer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants