[Thread transferred from fltk.development] > In my using of FLTK, I found even I write a very simple > program(only has a empty window, no any widget), when it run > in my arm board(arm:240MHz, ram:64MB), it will takes about > 1.2 seonds to display, this time to too long. Can I have any > method to improve this? Thanks.
You will need to give us a lot more info; - what version of fltk are you using - what host OS - what tool chain - what window manager / windowing system One thing that occurs to me is that fltk-2 can be slow to start initially if it is loading in a lot of fonts and so forth (it seems to load its fonts differently from fltk-1.x versions). If so, try fltk-1.1 or fltk-1.3 and see how you get on, or configure fltk-2 to use simpler font options. I mainly use fltk-1.3 now, and do not see responses anywhere near as slow as you describe. There are quite a range of performance analysis tools available these days that will monitor your code as it runs and provide details of how long each part is taking; it might be informative to instrument your code start-up sequence and see where the time is really going. My own personal experience suggests that it is rarely inside fltk itself - the time is mainly lost in system and support operations... But without measuring this we can not know for certain. -- Ian SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

