>
> On 03.12.2009, at 09:47, leowang wrote:
>
> >> Am 01.12.2009 17:50, schrieb Michael Schmid:
> >>> - Is it possible to speed up the callback-reaction a bit? It's no
> >>> problem if my app. needs a bit more CPU. It uses just a few percent
> >>> anyway...
> >>=20
> >> I think, this is idle state, but when responding to an input or
> >> redrawing a window, the speed of response normally is restricted by =
> CPU
> >> load. Probably your app will take 100% CPU load within "response =
> time".
> >=20
> >=20
> > Hi all.
> > I also has this problem, I use linux as my embeded system's OS, and I =
> also use Tiny-x, the freq of my CPU is 240MHz, and Ram is 64MHz.
> >=20
> > I found even I write a simple program(only has a empty window, no any =
> widget), it will take about 1.2 second to display, but when the =
> application runs, it will has fast response to your any handle. Why it =
> need so long time to initialize? Can we have any mothed to improve this?
>
> There is only one call besides establishing the connection to the screen =
> server that is time consuming because it involves opening and reading a =
> configuration file. FLTK opens a preferences file that tells it if the =
> preview in the file chooser should be enabled.=20
>
> Check if removing this call will improve performance.
>

where to remove this call, could you please tell me in which file and which 
function? My fltk version is fltk-v2.0-r6136. Thanks again.


> All other overhead probably comes from the operating system. Do you have =
> a way to measure performance of individual functions? It would be great =
> to see where this time is wasted.
>
>  Matthias=
>

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to