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

use generic attributes #3424

Merged
merged 1 commit into from
Nov 27, 2023
Merged

use generic attributes #3424

merged 1 commit into from
Nov 27, 2023

Conversation

SimonDanisch
Copy link
Member

closes #3321

@MakieBot
Copy link
Collaborator

MakieBot commented Nov 27, 2023

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 3.38s (3.34, 3.42) 0.04+- 393.27ms (384.33, 408.45) 9.49+- 470.76ms (467.35, 476.86) 3.64+- 7.40ms (7.32, 7.50) 0.06+- 25.37ms (25.25, 25.50) 0.09+-
master 3.35s (3.33, 3.38) 0.02+- 399.81ms (396.67, 402.36) 2.32+- 475.09ms (467.04, 513.14) 16.82+- 7.35ms (7.24, 7.49) 0.08+- 25.41ms (25.25, 25.78) 0.18+-
evaluation 0.99x invariant, 0.03s (1.10d, 0.07p, 0.03std) 1.02x invariant, -6.54ms (-0.95d, 0.12p, 5.90std) 1.01x invariant, -4.33ms (-0.36d, 0.53p, 10.23std) 0.99x invariant, 0.05ms (0.72d, 0.20p, 0.07std) 1.00x invariant, -0.04ms (-0.25d, 0.65p, 0.13std)
CairoMakie 2.94s (2.92, 2.98) 0.02+- 320.23ms (316.28, 324.56) 2.62+- 141.44ms (139.46, 142.87) 1.12+- 7.27ms (7.21, 7.33) 0.04+- 600.58μs (592.59, 610.22) 5.52+-
master 2.92s (2.90, 2.96) 0.02+- 319.13ms (316.79, 322.76) 2.10+- 142.15ms (141.32, 143.49) 0.89+- 7.24ms (7.20, 7.26) 0.02+- 596.52μs (591.69, 598.36) 2.33+-
evaluation 0.99x invariant, 0.02s (1.02d, 0.08p, 0.02std) 1.00x invariant, 1.1ms (0.46d, 0.40p, 2.36std) 1.01x invariant, -0.72ms (-0.71d, 0.21p, 1.00std) 1.00x invariant, 0.02ms (0.67d, 0.24p, 0.03std) 0.99x invariant, 4.06μs (0.96d, 0.11p, 3.92std)
WGLMakie 3.64s (3.60, 3.70) 0.03+- 475.65ms (422.74, 548.56) 61.91+- 8.83s (8.67, 8.95) 0.11+- 10.09ms (9.41, 13.37) 1.45+- 70.98ms (67.12, 79.09) 4.53+-
master 3.59s (3.58, 3.60) 0.01+- 418.78ms (415.30, 422.19) 2.56+- 8.96s (8.92, 9.00) 0.03+- 9.62ms (9.50, 9.81) 0.10+- 72.98ms (68.46, 79.78) 3.99+-
evaluation 0.99x slower X, 0.05s (2.20d, 0.00p, 0.02std) 0.88x noisy🤷‍♀️, 56.86ms (1.30d, 0.05p, 32.23std) 1.01x faster ✓, -0.13s (-1.61d, 0.02p, 0.07std) 0.95x invariant, 0.46ms (0.45d, 0.43p, 0.78std) 1.03x invariant, -2.0ms (-0.47d, 0.40p, 4.26std)

@SimonDanisch SimonDanisch merged commit a0a1bdc into master Nov 27, 2023
15 checks passed
@SimonDanisch SimonDanisch deleted the sd/fix-contour-attribute branch November 27, 2023 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

visible attribute does not work with contour plots on GLMakie and WGLMakie
2 participants