Skip to content

Performance: Render dense lines as bands - #260

Draft
emilk wants to merge 8 commits into
mainfrom
emilk/band-shape-lines
Draft

Performance: Render dense lines as bands#260
emilk wants to merge 8 commits into
mainfrom
emilk/band-shape-lines

Conversation

@emilk

@emilk emilk commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Agreggate high-resolution plot line series into varying-width "bands".

This greatly lessens the load on the egui tessellator.

In the benchmark I added in #258:

  • Total 10ms -> 3.5ms
  • egui_plot 0.5 ms -> 1.0ms
  • Tessellation 9.5 ms -> 2.5ms

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

View snapshot changes at kitdiff

@emilk emilk changed the title Render dense lines as bands Performance: Render dense lines as bands Sep 2, 2026
@emilk emilk added the enhancement New feature or request label Sep 2, 2026
@emilk emilk mentioned this pull request Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant