Hi networker, <[email protected]> wrote on 05/26/2009 12:54:22 AM:
> I am doing a little bit stress testing. > > I have 22,500 rectangles with size of 4 x 4. Whenever public void > updateCompleted(UpdateManagerEvent e) is invoked, I use a thread to > send a new task to the RunnableQueue. That task changes the (x, y) > of every one of the rectangles. > > It takes about 8 seconds on average to complete one full cycle > (document update, rendering, etc.). The DOM update accounts for 30 - > 35% of the time spent. > > My question is: do you think whether I have reached the limit of the > Batik performance or not? Did anyone do better before? Without seeing your loop it's impossible to say if you could improve your performance. However, from past experience with manipulation of SVG dom's that contain many objects like this your performance is similar to what I would expect.
