SmartGWT and EXT-GWT benchmark
Please see some benchmark details - comparison with EXT-GWT
The SmartGWT showcase size is 3Mb whereas the EXT showcase is 2Mb
If you compare the sizes of the core javascript downloaded for each of the libraries (EXT/SMART) the results are as follows:
EXT - total core javascript size is about 500KB (ext-all.js) (you can compile a smaller library using only components you choose)
Smart - total size is larger:
ISC_Core – 455Kb
ISC_Foundation – 160Kb
ISC_Containers – 70Kb
ISC_Grids – 416Kb
ISC_Forms – 357Kb
ISC_DataBinding – 262Kb
ISC_Calander – 50Kb
Obviously you can load only those you want but still you will probably at least use grids, containers Core and Foundation which is together 1.1 Mb – this is still very large comparing to Ext.
We all use Zip filters obviously which makes actual network size:
Smart-All – 467Kb
Smart (Core, Foundation, Containers, Grid) – 270Kb
EXT-All – 136Kb
Assuming we download once and the content is cached, there is still the JS load time (syntactic parsing of javascript) which will happen for every page load, and there is a big noticeable difference.
Wrt CSS:
Core CSS file size for ext is 112Kb (ext-all.css) – it can be reduced depending on components used.
Core CSS size for a SmartClient skin is 50Kb
CSS makes much better zipping ratio then JS and much faster syntactic parsing time. So this is a negligible difference
Zip size for CSS is:
EXT-ALL – 13Kb
Smart-All – 8Kb
Summary:
Ext is definitely better from this perspective.
One more benchmark:
I installed both SmartGWT showcase and EXT-GWT explorer locally and simply opened it (as static HTML) – with no app-server…
EXT-GWT explorer loads twice as fast (4 sec) then the SmartGWT showcase (8 sec).
Yes, it’s not the same application but it is very similar:
Both applications load a static tree structure on the left pane and one initial tab on the right-side tab panel.
Everything is static, download times are minimal, most of the time is spent on parsing javascript and CSS (HTML is minimal) and creating the DOM tree.
I also compared the initial download times of both DEMO’s from the web. It’s not the same network path so it’s not a very valid comparison,
However, EXT-GWT explorer loaded in 15 sec whereas SmartGWT showcase in 27 seconds!
In favor of SmartGWT I can say that its internal design is better with the Data-binding and Data-sources. In most cases you will not need to use it but when you do, it’s better.
Question: Is there any ongoing effort to improve SmartGWT in this perspective?