Ext

Ext GWT Grid Performance Improvements

September 29, 2008 by Darrell Meyer

The Ext GWT Grid component, which was introduced in 1.1, plays an important role in most applications. Because of this, it is important for Grid to perform as fast as possible, especially when rendering large amounts of data. For the upcoming 1.1.1 release we took a fine grained look at the code to identify any performance bottlenecks. Code was tested and analyzed in host mode as well as all supported browsers. After this research, a couple of key changes to the code resulted in much faster rendering times. The new code was so much faster that I thought it would be nice to share the results.

A new test page was setup to allow both the old code and new code to be executed and timed. The tests were conducted on 3 different machines, with multiple browsers. For each test, rendering times where measured for 200 and 400 row grids. Here are the results of the tests:

Browser 200 Old 200 New Change 400 Old 400 New Change
Dual Xeon 3.16GZ , 8GB Mem
Host Mode IE 344 ms 362 ms 95% 1562 ms 719 ms 217%
IE7 3200 ms 1470 ms 218% 20064 ms 2906 ms 690%
FF2 2469 ms 469 ms 526% 7218 ms 843 ms 856%
FF3 711 ms 264 ms 269% 3368 ms 585 ms 576%
Safari Windows 860 ms 172 ms 500% 2594 ms 344 ms 754%
Mac Duo Core 2.5GZ, 2GB Mem
Safari 1343 ms 287 ms 468% 3719 ms 565 ms 658%
FF3 1276 ms 419 ms 305% 3056 ms 818 ms 374%
Intel Duo Core 2.4GZ, 3.5GB Mem
IE7 12716 ms 1855 ms 685% 37171 ms 3691 ms 1007%
FF2 5174 ms 828 ms 625% 18274 ms 1805 ms 1012%
Safari 1787 ms 327 ms 546% 5293 ms 654 ms 809%

As you can see, rendering times have been significantly reduced. You can run the test page yourself to see the improvements first hand.

The new grid code is available to SVN users, and will be included in our next release.

35 Responses to “Ext GWT Grid Performance Improvements”

  1. Shyru

    Sounds great!
    Will this also be usable for normal ext users which do not use GWT, or is it GWT specific?

  2. Kai

    Will be this in Extjs svn (js library, not gwt)?

  3. Kai

    Beautiful! 7000ms vs 1000ms on my old athlon 4000 x2!

  4. tillda

    I also want the answer to the same question: is this GWT-specific or will it be availeable to standard JS users?

  5. zaccret

    Nice job, Darell. The results are really encouraging !

  6. Darrell Meyer

    The changes made to Grid were only applicable to Ext GWT, not Ext JS which already performs at top speeds.

  7. Angelo

    On my dual core T5600 1.83GHZ:

    Before After %
    IE7 1920 1060 0.45
    FF3 360 220 0.39
    Chrome 330 193 0.42

    FF3 4.8x faster than IE7
    Chrome 5.5x faster than IE7
    Chrome 1.1x (12%) faster than FF3

  8. piprog

    the obligatory one: when will we see 1.1.1? ;-)

  9. armogur

    it is nice, to see that the test page on my “AMD Athlon(tm) 64 X2 Dual Core Processor 5600+” which is runs @ 2.8GHz, the old code in FF3 finishes in ~ 500ms, and the new code is ~ 200ms.

  10. Francesc

    That’s cool.
    Anyway, I’ve experienced some performance issues when resizing the browser. Even with the GXT explorer page, if one resizes the browser it takes some time to “react”. Is there any open issue on that? Any Blog?

  11. Kazelrsz

    Hi! http://zyhbomlw.com gsvwb kahju

  12. google

    Hi! http://google.com google

  13. test1

    Hi! http://1.com test1

  14. hui3

    Hi! http://hui3.com hui3

  15. final1

    Hi! http://final1.com final1

  16. last4

    Hi! http://last4.com last4

  17. best5

    Hi! http://best5.com best5

  18. 1

    Hi! http://1.com 1

  19. WELCOMETOHELL

    Согласен в принципе :) Для меня это точно очень актуально :)

  20. жEлтЫйкOт

    Информации, уверен, и так достаточно, чтобы сделать вывод, как не надо делать.

  21. söve

    thanks.

  22. söve

    thanks

  23. John587

    Very interesting site. Hope it will always be alive!
    http://www.bombingscience.com/graffitiforum/member.php?u=40182

  24. John587

    Beautiful site!
    http://www.bombingscience.com/graffitiforum/member.php?u=40182

  25. John798

    Great work,webmaster,nice design!
    http://forums.3ivx.com/index.php?showuser=14602

  26. John587

    Incredible site!
    http://www.bombingscience.com/graffitiforum/member.php?u=40182

  27. John587

    Excellent site. It was pleasant to me.
    http://www.bombingscience.com/graffitiforum/member.php?u=40182

  28. John587

    Great site. Good info
    http://www.bombingscience.com/graffitiforum/member.php?u=40182

  29. John587

    If you have to do it, you might as well do it right
    http://www.bombingscience.com/graffitiforum/member.php?u=40182

  30. John798

    Perfect work!
    http://forums.3ivx.com/index.php?showuser=14602

  31. John587

    I want to say - thank you for this!
    http://www.bombingscience.com/graffitiforum/member.php?u=40182

  32. John587

    Perfect site, i like it!
    http://www.bombingscience.com/graffitiforum/member.php?u=40182

  33. Fulvius

    I’d like know if this improvement will be into gxt?

    thanks!

  34. Лев

    Хм… что-то у меня ссылка не открывается, которую указали. Это у всех так?

  35. kabin

    nice performence good.

Leave a Reply

To prove that you're not a bot, please answer this question:



© 2006-2009 Ext, LLC