Hi Petr,

Petr Kobalíček wrote:
> Hi all,
> 
> I have taken a note that keyboard handling in qooxdoo is slow. When I
> press a key, my 1.6Ghz processor runs at 100% speed even that
> application is doing nothing. This also happens to mouse moving in
> browser client area.
First of all 100% CPU is nothing to worry about at all :)
When the browser (or any other program) is running and executes several 
commands etc. this is done with the maximum power -> 100% cpu. You have 
to start worrying when this full load is lasting for a longer period.

> I have not problem in 100% cpu usage, but for example moving cursor in
> table, tree or list is also slow due to this issue. Is there some
> chance that this will be better in the future or it's caused by
> universal qooxdoo event handling with no chance to be faster ?
I've just tested the tree and some other widgets and I did not encounter 
at any time a load of 100% cpu and I personally do not think that the 
root of the load you described is the event handling inside of qooxdoo. 
  It would be interesting if you can share some insights with us. What 
do you execute when the selection has changed? Maybe the code executed 
with each change of the selection has some performance issues. Could you 
send over some of your code to look at?

> I'm also wrote game in javascript (using canvas or dom) and I wanted
> to reuse my qooxdoo experiences to give it good user interface (and
> implementation of editor) in qooxdoo, but my discovery was that I
> can't use it due to speed issues (but this is not qooxdoo fault, I
> just wanted to use it in area that's not created for).
What do you use for your game? Full-featured widgets or the low-level 
layer of qooxdoo?

> If there are any tips related to event dispatching speed in qooxdoo I
> would like to read them.
In my point of view the dispatching speed is not the problem/the 
bottleneck to look at. It would be interesting what's happening at each 
selection change or that piece of code which is executed as result of 
the key press events.

cheers,
   Alex

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to