kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #02279
Re: Performance profiling
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
jean-pierre charras - INPG <jean-pierre.charras@...>
-
Date:
Mon, 09 Mar 2009 10:32:48 +0100
-
In-reply-to:
<alpine.SOC.1.99.0903082102230.15337@...>
-
User-agent:
Thunderbird 2.0.0.19 (Windows/20081209)
Vesa Solonen a écrit :
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.
-Vesa
The grid is a reference, so i think the dots positions must be exact.
Perhaps creates a grid line in memory and using a blit function could be
faster; (to do)
--
Jean-Pierre CHARRAS
Maître de conférences
Directeur d'études 2ieme année.
Génie Electrique et Informatique Industrielle 2
Institut Universitaire de Technologie 1 de Grenoble
BP 67, 38402 St Martin d'Heres Cedex
Recherche :
Grenoble Image Parole Signal Automatique (GIPSA - INPG)
Grenoble France
Follow ups
References