[JBoss Seam] - Re: JBoss EL performance vs Sun EL
by mgrouch
Here are some results of performance testing:
With the code I've posted in this thread (I've modified it to put
100 rows, 100 columns, 100 items in dropdowns).
Rendering table using JSP
$ time curl http://localhost:8080/TestJSP/testTable.jsp > foo.jsp
| % Total % Received % Xferd Average Speed Time Curr.
| Dload Upload Total Current Left Speed
| 100 49.4M 0 49.4M 0 0 6025k 0 --:--:-- 0:00:08 --:--:-- 3884k
|
| real 0m9.566s
| user 0m0.124s
| sys 0m0.765s
Rendering table using Seam/JSF
$ time curl http://localhost:8080/Table/testTable.seam > foo.seam
| % Total % Received % Xferd Average Speed Time Curr.
| Dload Upload Total Current Left Speed
| 100 55.1M 0 55.1M 0 0 1055k 0 --:--:-- 0:00:53 --:--:-- 756k
|
| real 0m53.694s
| user 0m0.343s
| sys 0m0.671s
JSP rendering took 9.5 seconds
JSF rendering took 53 seconds
I've made many runs with JSP consistently outperforming JSF by 5 times.
Tests were done on HP-A1130N PC.
I was monitoring memory usage (no excessive swapping)
JSF application is seam-gen generated (server side state saving,
standard configuration), JBoss from RedHat IDE.
These results are consistent with what I'm observing in our QA environment.
For similar table pages which would render in 1 sec we are getting responses in around 5 sec.
So performance of rendering tables is not sufficient.
Regards
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086413#4086413
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086413
18 years, 10 months
[JBoss Seam] - Re: JSF Chart Creator in Seam
by swd847
I have it working. My settings are as follows:
web.xml:
| <context-param>
| <param-name>facelets.LIBRARIES</param-name>
| <param-value>/WEB-INF/chartcreator.taglib.xml</param-value>
| </context-param>
|
| <context-param>
| <param-name>net.sf.jsfcomp.chartcreator.USE_CHARTLET</param-name>
| <param-value>false</param-value>
| </context-param>
|
faces-config.xml
| <component>
| <component-type>net.sf.jsfcomp.chartcreator.component.UIChart</component-type>
| <component-class>net.sf.jsfcomp.chartcreator.component.UIChart</component-class>
| </component>
|
| <lifecycle>
| <phase-listener>net.sf.jsfcomp.chartcreator.ChartListener</phase-listener>
| </lifecycle>
|
|
the backing bean for a line chart (in a seam component called priceHome):
| public TimeSeriesCollection getPriceDataSet() {
| TimeSeries series = new TimeSeries("Price", Day.class);
|
| List<Data> price = entityManager
| .createQuery(
| "from Data").getResultList();
| for Data i : price) {
| series.addOrUpdate(new Day(i.getDate()), i.getPrice());
| }
|
| // Add the series to your data set
| TimeSeriesCollection dataset = new TimeSeriesCollection();
| dataset.addSeries(series);
| return dataset;
| }
|
and in the Facelets page:
| <c:chart id="price_chart" datasource="#{priceHome.priceDataSet}" type="timeseries" is3d="true" antialias="true" title="Pricing" xlabel="Date" ylabel="Price" height="350" width="500"></c:chart>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086411#4086411
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086411
18 years, 10 months
[JBoss Seam] - Re: Gavin King: Bad tools of Seam is kill its uses!!!
by ybxiang.wolf
"jatsrt" wrote : Ok, so I think if you are complaining about tools, you may be missing the point of seam.
|
| Personally, I use seam-gen to get a project started. After that the entire framework is so simple, I really do not need tools to do anything.
| ~~~~~~~~~~~~~My tools means plugins such as JBOssTool-Seam module instead of Seam-Gen. Netbeans' Seam-plugin can make [facet,JSF TAG, HTML...] writing easier and ensure there is no wrong handwriting!
|
| I am using Eclipse with standard WTP and nothing from JBoss as far as plugins, it really could not get any simpler.
| ~~~~~~~~I suggest you try RHDS or JBOSSTools, they DO make your job simpler! But those bugs will torture your head!
|
| What tools would you want? I really don't see anywhere that they would be helpful.
| ~~~~~~~~~I need a tool with good support to SeamTag and with good code(JSF,FACET,XHTML grammer) Assist. It should generate the project's framework correctly(Just as NETBEANS DO), and it should not die frequently(JUST as NETBEANS DO too)!!!
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086404#4086404
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086404
18 years, 10 months