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 WGLMakie benchmark #3483

Merged
merged 1 commit into from
Dec 18, 2023
Merged

fix WGLMakie benchmark #3483

merged 1 commit into from
Dec 18, 2023

Conversation

SimonDanisch
Copy link
Member

Some experiment left JSServe#master in the benchmarks, which is now Bonito with a different UUID, so the project can't be instantiated.

@MakieBot
Copy link
Collaborator

MakieBot commented Dec 18, 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.73s (3.65, 3.81) 0.06+- 437.32ms (416.14, 459.11) 17.07+- 514.91ms (495.32, 553.55) 22.92+- 7.98ms (7.65, 8.49) 0.37+- 26.40ms (26.03, 26.87) 0.29+-
master 3.81s (3.73, 3.87) 0.05+- 447.44ms (434.52, 454.58) 6.89+- 530.44ms (517.43, 544.03) 9.09+- 8.36ms (8.08, 8.63) 0.18+- 26.57ms (26.30, 26.82) 0.18+-
evaluation 1.02x faster ✓, -0.07s (-1.30d, 0.03p, 0.06std) 1.02x invariant, -10.11ms (-0.78d, 0.18p, 11.98std) 1.03x invariant, -15.53ms (-0.89d, 0.14p, 16.01std) 1.05x faster ✓, -0.37ms (-1.29d, 0.04p, 0.28std) 1.01x invariant, -0.17ms (-0.69d, 0.22p, 0.23std)
CairoMakie 3.10s (3.06, 3.16) 0.04+- 327.48ms (318.46, 337.59) 8.67+- 145.19ms (140.92, 151.87) 4.28+- 7.58ms (7.27, 7.98) 0.29+- 608.21μs (598.41, 620.80) 6.90+-
master 3.11s (3.04, 3.19) 0.07+- 328.59ms (317.51, 341.04) 9.89+- 144.56ms (139.86, 149.33) 4.35+- 7.39ms (7.23, 7.61) 0.13+- 610.82μs (606.42, 614.74) 2.94+-
evaluation 1.00x invariant, -0.01s (-0.18d, 0.75p, 0.05std) 1.00x invariant, -1.12ms (-0.12d, 0.83p, 9.28std) 1.00x invariant, 0.62ms (0.14d, 0.79p, 4.32std) 0.97x invariant, 0.19ms (0.86d, 0.14p, 0.21std) 1.00x invariant, -2.61μs (-0.49d, 0.38p, 4.92std)
WGLMakie 3.79s (3.71, 3.83) 0.04+- 320.48ms (312.54, 330.37) 6.67+- 8.66s (8.47, 8.89) 0.18+- 9.19ms (8.95, 9.54) 0.24+- 70.63ms (67.15, 78.73) 4.07+-
master 3.77s (3.70, 3.87) 0.07+- 319.64ms (312.65, 332.53) 6.87+- 8.52s (8.40, 8.61) 0.07+- 9.16ms (8.99, 9.46) 0.17+- 72.49ms (67.89, 79.48) 4.86+-
evaluation 0.99x invariant, 0.02s (0.38d, 0.50p, 0.05std) 1.00x invariant, 0.84ms (0.12d, 0.82p, 6.77std) 0.98x invariant, 0.14s (1.04d, 0.09p, 0.12std) 1.00x invariant, 0.04ms (0.17d, 0.75p, 0.20std) 1.03x invariant, -1.86ms (-0.42d, 0.45p, 4.47std)

@SimonDanisch SimonDanisch merged commit 9a6059a into master Dec 18, 2023
15 checks passed
@SimonDanisch SimonDanisch deleted the sd/fix-jsserve branch December 18, 2023 11: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