-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
help wantedExtra attention is neededExtra attention is neededperformanceLower CPU/GPU usage (optimize)Lower CPU/GPU usage (optimize)
Description
There is a lot of room for improvements to the CPU usage of egui. Here are some things worth investigating:
- Try different hash algorithms for
Id
,FontCache
and others. - Precompute vertices for circles and rounded corners in
epaint::Tessellator
constructor (Precompute rounded vertices #1547) - Paint small filled circles using textured rects (by adding a few low-radius circles to the font atlas) (Optimize tessellation of filled circles #1616)
- Run egui with a proper profiler and see what pops up
- Utilizing a
Cow
like type for RichText / LayoutJob #1098 -
eframe/native
: runApp::update
and the rendering in different threads - Output a single veretex buffer and index buffer instead of
Vec<ClippedPrimitive>
- Performance: replace bools in
Response
with bit-sets #3862 - Optimize Plot egui_plot#18,
Any PR should come with a benchmark.
Blisto91, Titaniumtown, jaydns, dbuch, enomado and 2 more
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is neededperformanceLower CPU/GPU usage (optimize)Lower CPU/GPU usage (optimize)