Showing posts with label performance. Show all posts
Showing posts with label performance. Show all posts

Friday, May 6, 2011

Matrix binded to formTable

I've just updated builder tool of my swinghtmltemplate project with new example of formTable binded to the large matrix (35x35 in the example). I want to see how quickly JTable is updated when binded data is changed.

You can find it in "Tags/Matrix binded to formTable". Open an example (dbl click on it), build it ("Build" button below the code) and press dump button (below the table).

In the dump listner I update every matrix value with random number. On my PC (Dual Core E6700@3.2GHz, 8Gb Ram) it has a delay for about one second before table is updated after the first click. Later clicks update table little bit faster.

On my boss's PC there's almost no delay.

The matrix is just a List<java.util.List<Data>> datas;. Each element is special Data class, you can examine it in the "Code" tab. It has "value" property.