← Back to team overview

kicad-developers team mailing list archive

Performance profiling


I just wanted to point out that sysprof by Søren Sandmann seems very useful for finding bottlenecs in code. It is available in Ubuntu repos too. Any experiences or comments from anyone? Zoom and redraw speedups are something I'm aiming at. Pcbnew seems to spend most of the time in ZONE_CONTAINER::DrawFilledArea, TRACK::Draw and MODULE::Draw (19/17/14 out of 54). Background dot grid uses quite a lot of callbacks too.

For background, how about dropping exactness in screen measures and always fit the grid to even pixel count? Then wxBrush coud be used for drawing and the would probably speed up alot compared to single pixel draw call.


Follow ups