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

Breaking release 0.22 #4477

Draft
wants to merge 29 commits into
base: master
Choose a base branch
from
Draft

Breaking release 0.22 #4477

wants to merge 29 commits into from

Conversation

ffreyer
Copy link
Collaborator

@ffreyer ffreyer commented Oct 14, 2024

Description

PR for the next breaking release

Merge TODO:

To fix:

  • partially reversed 2x2 surface fails surface(210..180, 80..110, rand(2, 2)) in WGLMakie (picking test)

@ffreyer ffreyer added the breaking a PR with breaking changes label Oct 14, 2024
@MakieBot
Copy link
Collaborator

MakieBot commented Oct 14, 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 5.91s (5.73, 6.31) 0.14+- 170.05ms (160.92, 203.64) 8.96+- 0.69s (0.63, 1.41) 0.17+- 6.96ms (6.72, 8.21) 0.31+- 25.96ms (25.44, 26.90) 0.38+-
master 6.42s (6.20, 6.71) 0.14+- 166.19ms (158.95, 192.57) 7.59+- 486.09ms (465.81, 515.90) 15.40+- 7.05ms (6.79, 7.81) 0.29+- 25.98ms (25.48, 26.67) 0.39+-
evaluation 1.09x faster✅, -0.51s (-3.54d, 0.00p, 0.14std) 0.98x invariant, 3.86ms (0.46d, 0.15p, 8.28std) 0.71x slower❌, 0.2s (1.66d, 0.00p, 0.09std) 1.01x invariant, -0.09ms (-0.31d, 0.33p, 0.30std) 1.00x invariant, -0.01ms (-0.03d, 0.93p, 0.39std)
CairoMakie 5.74s (5.58, 6.01) 0.13+- 174.02ms (162.59, 194.95) 10.41+- 201.91ms (192.25, 217.45) 8.23+- 6.78ms (6.57, 7.36) 0.20+- 1.04ms (1.01, 1.08) 0.02+-
master 5.99s (5.85, 6.31) 0.11+- 165.35ms (158.33, 179.68) 5.74+- 202.61ms (194.09, 219.94) 6.72+- 6.85ms (6.66, 7.42) 0.20+- 1.08ms (1.04, 1.18) 0.03+-
evaluation 1.04x faster ✓, -0.25s (-2.06d, 0.00p, 0.12std) 0.95x slower X, 8.67ms (1.03d, 0.00p, 8.08std) 1.00x invariant, -0.7ms (-0.09d, 0.77p, 7.47std) 1.01x invariant, -0.07ms (-0.36d, 0.26p, 0.20std) 1.04x faster ✓, -0.04ms (-1.58d, 0.00p, 0.02std)
WGLMakie 5.99s (5.81, 6.14) 0.10+- 169.47ms (164.03, 177.90) 4.53+- 6.15s (5.92, 6.34) 0.10+- 10.47ms (10.02, 11.09) 0.27+- 147.72ms (144.27, 151.85) 1.83+-
master 6.57s (6.42, 6.97) 0.15+- 164.68ms (158.04, 181.54) 5.52+- 5.94s (5.77, 6.44) 0.15+- 10.77ms (10.20, 12.91) 0.68+- 146.99ms (143.11, 150.63) 1.49+-
evaluation 1.10x faster✅, -0.59s (-4.61d, 0.00p, 0.12std) 0.97x slower X, 4.79ms (0.95d, 0.00p, 5.03std) 0.97x slower X, 0.21s (1.63d, 0.00p, 0.13std) 1.03x invariant, -0.3ms (-0.59d, 0.08p, 0.47std) 1.00x invariant, 0.73ms (0.43d, 0.18p, 1.66std)

ffreyer and others added 11 commits October 16, 2024 13:36
* get Makie to compile

* get GLMakie to compile

* fix  nromal rename, meshscatter

* fix pointtype in mesh conversion

* avoid matrix in vector rotation

* fix more tests

* update GeometryBasics functions/interface

* fix voronoiplot clipping

* update CairoMakie

* update RPRMakie

* prepare WGLMakie

* Update CI to use the GeometryBasics refactor branch (#4326)

* Update ci.yml

* Update Docs.yml

* Update reference_tests.yml

* add MeshIO branch

---------

Co-authored-by: ffreyer <frederic481994@hotmail.de>

* update _faces

* normals -> normal

* add ShaderAbstractions to ci

* update docs, normals deprecation

* fix branch names

* fix catmesh getting normals regenerated

* update for ShaderAbstractions

* handle voxel clipping in CairoMakie like in GLMakie

* fix another two "normals"

* add dev branches for RPRMakie CI

* fix missing kwarg name in conversion

* update for FaceViews

* add example for per-face colors and normals

* improve typing

* fix Sampler, allow mipmap via Sampler

* try to fix benchmarks

* add to correct env

* remove from master project

* fix docs

* fix Rect decomposition

* fix poly converts

* fix typo

* improve precompilation by avoiding constprop and more direct icon loading via PNGFiles

* fix CairoMakie precompile

* fix old syntax

* fix ambient light

* add temp dependencies to relocatbility test

* bump RPR to required version

* update changelog

* fix test

* fix other branch in ray cast test

* fix relocatability ci

* fix rpr and relocatability

---------

Co-authored-by: Anshul Singhvi <asinghvi17@simons-rock.edu>
Co-authored-by: SimonDanisch <sdanisch@protonmail.com>
@ffreyer ffreyer closed this Oct 21, 2024
@ffreyer ffreyer reopened this Oct 21, 2024
@ffreyer ffreyer closed this Oct 22, 2024
@ffreyer ffreyer reopened this Oct 22, 2024
@EdsterG EdsterG mentioned this pull request Oct 24, 2024
@MakieBot
Copy link
Collaborator

MakieBot commented Oct 30, 2024

Benchmark Results

SHA: d6b2dbcfd7e2a7a5b8bd307b2275945cfef6480c

Warning

These results are subject to substantial noise because GitHub's CI runs on shared machines that are not ideally suited for benchmarking.

GLMakie
CairoMakie
WGLMakie

SimonDanisch and others added 2 commits October 31, 2024 02:04
* prototype `mesh(::MetaMesh)`

* tweak default color handling

* add refimg test

* add docs

* add fallback for MetaMesh

* update CI dependencies

* try matching file without capitalization

* fix CairoMakie, WGLMakie test errors

* exclude from CairoMakie

---------

Co-authored-by: ffreyer <frederic481994@hotmail.de>
@ffreyer ffreyer mentioned this pull request Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking a PR with breaking changes
Projects
Status: Work in progress
Development

Successfully merging this pull request may close these issues.

3 participants