Skip to content

Benchmark random walk plots - #258

Merged
emilk merged 3 commits into
mainfrom
emilk/performance-random-walk-benchmark
Sep 2, 2026
Merged

emilk merged 3 commits into
mainfrom
emilk/performance-random-walk-benchmark

Conversation

@emilk

@emilk emilk commented Sep 2, 2026 •

Copy link
Copy Markdown
Owner
  • Add a 10-line random-walk performance demo with 20,000 values per line

  • Add benchmarks for the line demo

  • I have followed the instructions in the PR template

Results:

  • egui_plot 0.5 ms
  • Tessellation 9.5 ms

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

View snapshot changes at kitdiff

@emilk
emilk marked this pull request as ready for review September 2, 2026 18:21
@emilk emilk added exclude from changelog This change will NOT be included in the changelog examples Examples and demo labels Sep 2, 2026
@emilk
emilk merged commit e5516d0 into main Sep 2, 2026
11 of 12 checks passed
@emilk
emilk deleted the emilk/performance-random-walk-benchmark branch September 2, 2026 18:27
@emilk emilk mentioned this pull request Sep 2, 2026
1 task done
emilk added a commit that referenced this pull request Sep 23, 2026
- [x] I have followed the instructions in the PR template
- Depends on emilk/egui#8476
- Part of #18

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

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

examples Examples and demo exclude from changelog This change will NOT be included in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant