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

fix error printing on shader error #3530

Merged
merged 1 commit into from
Jan 5, 2024
Merged

Conversation

SimonDanisch
Copy link
Member

No description provided.

@MakieBot
Copy link
Collaborator

MakieBot commented Jan 5, 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 3.45s (3.43, 3.47) 0.01+- 386.63ms (383.43, 388.88) 1.99+- 478.49ms (467.46, 519.92) 18.40+- 7.35ms (7.23, 7.44) 0.09+- 25.64ms (25.45, 26.11) 0.24+-
master 3.45s (3.41, 3.49) 0.03+- 399.67ms (390.22, 413.54) 7.36+- 476.39ms (467.72, 484.96) 5.87+- 7.28ms (7.19, 7.40) 0.07+- 25.63ms (25.49, 25.87) 0.13+-
evaluation 1.00x invariant, 0.0s (0.07d, 0.89p, 0.02std) 1.03x faster ✓, -13.04ms (-2.42d, 0.00p, 4.68std) 1.00x invariant, 2.09ms (0.15d, 0.78p, 12.14std) 0.99x invariant, 0.07ms (0.91d, 0.12p, 0.08std) 1.00x invariant, 0.01ms (0.04d, 0.94p, 0.19std)
CairoMakie 3.06s (3.02, 3.15) 0.04+- 316.39ms (314.07, 318.62) 1.55+- 139.75ms (139.17, 140.34) 0.45+- 7.19ms (7.09, 7.25) 0.06+- 604.05μs (603.22, 605.34) 0.85+-
master 3.06s (3.03, 3.11) 0.03+- 317.07ms (311.27, 320.80) 3.57+- 140.42ms (138.00, 142.34) 1.65+- 7.11ms (7.04, 7.24) 0.07+- 602.27μs (599.05, 604.88) 2.07+-
evaluation 1.00x invariant, 0.0s (0.05d, 0.93p, 0.03std) 1.00x invariant, -0.68ms (-0.25d, 0.66p, 2.56std) 1.00x invariant, -0.68ms (-0.56d, 0.33p, 1.05std) 0.99x invariant, 0.07ms (1.04d, 0.08p, 0.07std) 1.00x invariant, 1.78μs (1.13d, 0.07p, 1.46std)
WGLMakie 3.71s (3.67, 3.74) 0.03+- 324.87ms (316.07, 346.59) 10.69+- 8.96s (8.81, 9.08) 0.10+- 9.13ms (8.88, 9.37) 0.15+- 73.14ms (67.39, 79.91) 5.36+-
master 3.68s (3.66, 3.72) 0.02+- 317.77ms (314.36, 325.34) 3.79+- 8.93s (8.85, 9.10) 0.08+- 9.21ms (8.97, 10.36) 0.51+- 76.01ms (67.42, 98.02) 11.01+-
evaluation 0.99x slower X, 0.03s (1.31d, 0.03p, 0.02std) 0.98x invariant, 7.09ms (0.88d, 0.14p, 7.24std) 1.00x invariant, 0.03s (0.29d, 0.59p, 0.09std) 1.01x invariant, -0.09ms (-0.23d, 0.68p, 0.33std) 1.04x invariant, -2.87ms (-0.33d, 0.55p, 8.18std)

@SimonDanisch SimonDanisch merged commit 6b8f12e into master Jan 5, 2024
17 checks passed
@SimonDanisch SimonDanisch deleted the sd/fix-shader-error branch January 5, 2024 10:10
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.

2 participants