Skip to content

perf(ragnarok): Better drain of emmitable events and skip skippable nodes - #2463

Merged
marc2332 merged 4 commits into
mainfrom
perf/ragnarok
Nov 3, 2026
Merged

marc2332 merged 4 commits into
mainfrom
perf/ragnarok

Conversation

@marc2332

@marc2332 marc2332 commented Oct 26, 2026 •

Copy link
Copy Markdown
Owner

adds around +25/30fps when moving the mouse around massive.rs in debug builds while painting (because of the performence overlay)

@marc2332 marc2332 added this to the 0.6 milestone Oct 26, 2026
@marc2332 marc2332 self-assigned this Oct 26, 2026
@marc2332 marc2332 added enhancement 🔥 New feature or request performance ⚡️ Performance improvement ⚡️ labels Oct 26, 2026
@marc2332 marc2332 moved this to In Progress in Freya Planning Oct 26, 2026
@hotpath-rs

hotpath-rs Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

painting · ✅ no regressions, 🚀 1 improvement

e37a667 (perf/ragnarok) vs abc564c (main)
Wall time 1.60 s → 1.48 s -7.3%
Allocated 153.7 MB → 153.7 MB +0.0% · max RSS 141.7 MB → 142.9 MB +0.9%

Functions · icount
🚀 paint_performance::large_switches: avg 10,085,778,988 → 5,850,323,581 -42%, total -42%

Full diff ↗ · Policy ↗

Related metrics

Icount
Icount Calls Avg Total % Total
paint_performance::large_switches 1 → 1 10,085,778,988 → 5,850,323,581 -42% 10,085,778,988 → 5,850,323,581 -42% 55.5% → 42.0%
Allocations
Allocations Calls Avg P50 P95 P99 Total % Total
paint_performance::large_switches 1 → 1 3.8 MB → 3.8 MB 3.8 MB → 3.8 MB 3.8 MB → 3.8 MB 3.8 MB → 3.8 MB 3.8 MB → 3.8 MB 2.5% → 2.5%
Timing
Timing Calls Avg P50 P95 P99 Total % Total
paint_performance::large_switches 1 → 1 701.20 ms → 620.81 ms -11% 701.50 ms → 621.28 ms -11% 701.50 ms → 621.28 ms -11% 701.50 ms → 621.28 ms -11% 701.20 ms → 620.81 ms -11% 43.8% → 41.8%

🦀 hotpath-rs

@marc2332 marc2332 moved this from In Progress to Pending for Review in Freya Planning Nov 2, 2026
@marc2332
marc2332 marked this pull request as ready for review November 2, 2026 20:46
@marc2332
marc2332 merged commit 9017e49 into main Nov 3, 2026
25 checks passed
@marc2332
marc2332 deleted the perf/ragnarok branch November 3, 2026 13:54
@github-project-automation github-project-automation Bot moved this from Pending for Review to Done in Freya Planning Nov 3, 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 performance ⚡️ Performance improvement ⚡️

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant