开发者

swt versus swing judged from a performance/speed standpoint (yes, this one is a classic :D)

Lately i've been looking to see which of the above contestants is better performance-wise and i've found a rather interesting article that demolishes SWT's performance rating compared to swing's : http://cosylib.cosylab.com/pub/CSS/DOC-SWT_Vs._Swing_Performance_Comparison.pdf . It's worth mentioning that th开发者_Go百科e benchmark was done in 2005 and since then things might have changed (dunno in who's favor tho ) SO:

1)does anybody know any performance tests done recently? (2-3 years at most :D)

2) your personal experience on this matter is invaluable to me so do tell if you noticed differences between swing and swt when it comes to performance


It's not an perfect comparison, but MigLayout have some possibilities to benchmark GUI performance. See Using the MigLayout Demos for GUI Benchmarking part on official sites.

It's also good way to check the miglayout GUI benchmarks under profiler to see memory usage of SWT/Swing. That's a huge difference.

Anyway, I agree with comment from Andrew Thompson: "The one that runs faster will be the one that has better programmers & better client code"


The one that runs faster will be the one that has better programmers & better client code.

Sure, that's a good point. The human factor is very important for performance (& usabilty, maintainability, and ALL functional & non-functional qualities). But the OP was specifically asking about technological/tool differences...

We can take the human factor out of the mix by assuming the designers/programmers are a fixed group and will apply similar skills against both APIs. Or we can apply a standard benchmark test to measure difference in behaviour between the to APIs, as per http://cosylib.cosylab.com/pub/CSS/DOC-SWT_Vs._Swing_Performance_Comparison.pdf .

This leaves a very valid question. What are the objective differences between Swing & SWT? Would be good to see a thorough 'objective' performance benchmark test from last 2 or 3 years. To me this Q's alive.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜