views:

244

answers:

1

I heard a lot about performance problems with jsf (and even asked related question here some time ago).

But today I've heard concrete results of jsf performance tests. From the results where jsp showed response time 0-100ms jsf application showed 1000-1200ms. Testing of form submission showed 100-200ms for jsp versus ~1500ms for jsf.

I didn't see the code (and I'm not so big expert in jsf to verify that code), but I know that guys spent much time to optimize jsf performance in tested application.

Does it mean that if my web-site should process 100+ requests per second then I should use something else but not jsf?

+5  A: 

Sun JSF RI 1.0 and 1.1 were indeed performance hogs and it indeed became negatively in the news. However, since JSF RI 1.2 (Mojarra) around early 2006, which was maintained by a new, young and excellent dev team, a lot of performance related enhancements and fixes were done. Also, computers became faster in years. The differences as opposed to "plain JSP" and other frameworks are nowadays very minimal. JSF still needs to get rid of her old "hogging slow" imago.

If one still encounters performance problems nowadays, then it's often just caused by bad code, regardless of the framework used, or ignorance of how HTTP works under the hoods in the complete picture (a lot can already be enhanced with a few simple things).

BalusC