Skip to content

Conversation

@SimonDanisch
Copy link
Member

No description provided.

@MakieBot
Copy link
Collaborator

MakieBot commented Jul 25, 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.32s (4.28, 4.35) 0.02+- 104.81ms (102.62, 107.74) 1.97+- 535.85ms (530.60, 546.10) 5.74+- 8.65ms (8.39, 8.87) 0.20+- 25.79ms (25.69, 25.91) 0.07+-
master 4.34s (4.30, 4.40) 0.03+- 105.08ms (104.00, 106.63) 0.94+- 533.25ms (527.92, 542.21) 4.91+- 8.80ms (8.49, 8.92) 0.15+- 25.79ms (25.73, 25.83) 0.04+-
evaluation 1.00x invariant, -0.02s (-0.75d, 0.19p, 0.03std) 1.00x invariant, -0.27ms (-0.17d, 0.75p, 1.45std) 1.00x invariant, 2.6ms (0.49d, 0.38p, 5.32std) 1.02x invariant, -0.15ms (-0.88d, 0.13p, 0.17std) 1.00x invariant, -0.01ms (-0.10d, 0.86p, 0.05std)
CairoMakie 4.02s (3.97, 4.06) 0.04+- 112.69ms (105.91, 117.69) 3.97+- 136.63ms (130.00, 142.07) 4.47+- 9.46ms (8.87, 10.21) 0.47+- 1002.96μs (978.01, 1017.60) 13.73+-
master 3.82s (3.75, 3.88) 0.05+- 113.76ms (109.73, 116.67) 2.82+- 136.88ms (133.04, 141.52) 3.50+- 8.78ms (8.49, 9.12) 0.25+- 998.29μs (987.00, 1013.30) 12.01+-
evaluation 0.95x slower X, 0.2s (4.73d, 0.00p, 0.04std) 1.01x invariant, -1.06ms (-0.31d, 0.58p, 3.40std) 1.00x invariant, -0.25ms (-0.06d, 0.91p, 3.98std) 0.93x slower❌, 0.68ms (1.82d, 0.01p, 0.36std) 1.00x invariant, 4.67μs (0.36d, 0.51p, 12.87std)
WGLMakie 4.74s (4.70, 4.76) 0.02+- 112.04ms (111.11, 112.85) 0.59+- 9.52s (9.47, 9.60) 0.05+- 10.21ms (10.03, 10.32) 0.10+- 72.24ms (71.00, 73.07) 0.69+-
master 4.73s (4.69, 4.78) 0.03+- 113.11ms (109.73, 115.11) 1.93+- 9.55s (9.45, 9.61) 0.05+- 10.05ms (9.88, 10.24) 0.14+- 75.58ms (71.55, 96.61) 9.28+-
evaluation 1.00x invariant, 0.01s (0.25d, 0.65p, 0.03std) 1.01x invariant, -1.06ms (-0.75d, 0.21p, 1.26std) 1.00x invariant, -0.03s (-0.53d, 0.34p, 0.05std) 0.98x slower X, 0.17ms (1.39d, 0.02p, 0.12std) 1.05x invariant, -3.34ms (-0.51d, 0.38p, 4.98std)

@ffreyer
Copy link
Collaborator

ffreyer commented Jul 25, 2024

What does interpolate = false look like?

@SimonDanisch
Copy link
Member Author

image

@SimonDanisch SimonDanisch merged commit b1e7bfd into master Jul 26, 2024
@SimonDanisch SimonDanisch deleted the sd/fix-surf-interpolation branch July 26, 2024 09:05
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.

4 participants