When I see OGNL classes in exceptions stack trace, I believe it is not as fast
as 2+2.
But I have never thought to replace ww:property tags with %= % scriplets.
ww:property performance is enough for me, for now.
WebWork form tags could be really slow. After I have moved templates out of
To avoid such long threads in future, probably it makes sense to add some
performance
benchmark page in struts examples distribution.
Would it be possible to contribute the test page you've already
started? We have a ticket open.
* https://issues.apache.org/struts/browse/WW-1560
I'm also
From the performance tuning page:
Copy the /template directory from the Struts 2 jar in your WEB_APP root.
Freemarker fails to properly cache templates when they are retrieved from the
classpath. Copying them to the WEB_APP root allows Freemarker to cache them
correctly. Freemarker looks at
I wrote a struts2 caching implementation of the freemarker templates:
https://issues.apache.org/struts/browse/WW-1661
Freemarker wouldn't know how to cache the templates as well as struts2
does since we know how the templates are being used and whether or not
it is safe to cache them.
Tom
Any reason why this shouldn't be applied on the 2.0 branch instead of 2.1?
musachy
On 3/24/07, Tom Schneider [EMAIL PROTECTED] wrote:
I wrote a struts2 caching implementation of the freemarker templates:
https://issues.apache.org/struts/browse/WW-1661
Freemarker wouldn't know how to cache
Well, there is a small risk of things being cached and a developer
relying on the behavior of not caching the templates. However, I think
those cases will be rare and it would benefit many people.
Tom
Musachy Barroso wrote:
Any reason why this shouldn't be applied on the 2.0 branch instead of
We could enable the cache when devMode is false.
musachy
On 3/24/07, Tom Schneider [EMAIL PROTECTED] wrote:
Well, there is a small risk of things being cached and a developer
relying on the behavior of not caching the templates. However, I think
those cases will be rare and it would benefit
As I believe the Ajax/Dojo plugin is ready, if we could mop-up the
portlet plugin ticket, we could apply the caching patch to the HEAD,
and get started on the 2.1.x series.
Having AJAX as a plugin rather than a theme will also benefit many people :)
-Ted.
On 3/24/07, Tom Schneider [EMAIL
Yeah, I still need to confirm nothing is broken in core, except the tooltips
which I know are not working. By the way Dojo 0.4.2 was released, how was
the upgrade made last time? Drop the dojo files and add the new ones?
musachy
On 3/24/07, Ted Husted [EMAIL PROTECTED] wrote:
As I believe the
Has anyone rerun these type of benchmarks in light of the performance
tuning page?
* http://struts.apache.org/2.x/docs/performance-tuning.html
-Ted.
On 12/11/06, dice [EMAIL PROTECTED] wrote:
By my own benchmarking I am finding Struts 2 somewhere between 5-10 times
slower than Struts 1 in
Not sure what the profiler data looks like but if the profiler is indeed
stating that OGNL code is taking the most processor time and it is
indeed 5-10 times slower, than the performance tuning page doesn't look
like it will address these issues. However, it could simply be the
profiler data
Tonight I was looking at abstracting away OGNL from xwork. (I was
pretty far before I gave up for the night, about a half dozen OGNL
references in xwork that I'll have to look at a little closer) So I
took a look at what it would take to integrate MVEL. First, the lack of
javadoc is a
and by hook or crook we have to solve the performance issue..
-Original Message-
From: David H. DeWolf [mailto:[EMAIL PROTECTED] On Behalf Of David H.
DeWolf
Sent: Monday, December 18, 2006 6:32 PM
To: Struts Developers List
Subject: Re: OGNL performance detrimental to Struts 2
I double dare
: David H. DeWolf [mailto:[EMAIL PROTECTED] On Behalf Of David H.
DeWolf
Sent: Monday, December 18, 2006 6:32 PM
To: Struts Developers List
Subject: Re: OGNL performance detrimental to Struts 2
I double dare you :)
Don Brown wrote:
Well, I dare you then: http://issues.apache.org/struts/browse/WW
Did you try using the simple theme with Struts 2.0.1 in the benchmarks?
-Ted.
On 12/11/06, dice [EMAIL PROTECTED] wrote:
By my own benchmarking I am finding Struts 2 somewhere between 5-10 times
slower than Struts 1 in JSP rendering. JProfiler is telling me OGNL is the
bottleneck.
: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/OGNL-performance-detrimental-to-Struts-2-tf2804655.html#a8056767
Sent from the Struts - Dev mailing list archive at Nabble.com
: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/OGNL-performance-detrimental-to-Struts-2-tf2804655.html#a7933372
Sent from the Struts - Dev mailing list archive at Nabble.com.
-
To unsubscribe, e-mail
]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/OGNL-performance-detrimental-to-Struts-2-tf2804655.html#a7933372
Sent from the Struts - Dev mailing list archive at Nabble.com
, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/OGNL-performance-detrimental
://wiki.mvflex.org/index.php?title=MVFLEX_Expression_Language
--
View this message in context:
http://www.nabble.com/OGNL-performance-detrimental-to-Struts-2-tf2804655.html#a7940406
Sent from the Struts - Dev mailing list archive at Nabble.com
: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/OGNL-performance-detrimental
Me too.
On 12/18/06, Don Brown [EMAIL PROTECTED] wrote:
If you can find a way to completely replace OGNL by MVEL, I'd be very
interested to see it. :)
Don
Chris Brock wrote:
I think the problem is that the Tapestry solution is simply a property
accessor package, which doesn't really meet
I'd like it to be possible for a Struts developer to swap in a new EL,
perhaps MVEL, if they didn't like OGNL for some reason. If you can
create a patch to make that happen, I would consider it my early
Christmas present :)
Don
Chris Brock wrote:
Why do you think it would be so terribly
in context:
http://www.nabble.com/OGNL-performance-detrimental-to-Struts-2-tf2804655.html#a7940543
Sent from the Struts - Dev mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Well, I dare you then: http://issues.apache.org/struts/browse/WW-1566
:)
Don
Chris Brock wrote:
Don't dare me. I'm pretty ambitious. I wrote MVEL 1.0 in three days.
Don Brown-2 wrote:
I'd like it to be possible for a Struts developer to swap in a new EL,
perhaps MVEL, if they didn't
I double dare you :)
Don Brown wrote:
Well, I dare you then: http://issues.apache.org/struts/browse/WW-1566
:)
Don
Chris Brock wrote:
Don't dare me. I'm pretty ambitious. I wrote MVEL 1.0 in three days.
Don Brown-2 wrote:
I'd like it to be possible for a Struts developer to swap in a
I wrote a simple Struts 2 TemplateEngine that renders tags in pure
Java, as opposed to the Freemarker that is used currently. I'm seeing
performance improvements between 3 and 4 times faster than the old
tags. This engine is based on the design I layed out previously [1].
It is better suited to
Speaking of tickets, there's one already open
* http://issues.apache.org/struts/browse/WW-
-Ted.
On 12/14/06, Don Brown [EMAIL PROTECTED] wrote:
Very interesting... I wonder how much of the performance hit was due to
Freemarker and how much OGNL. Could you package this application in a
war
Do you have the performance numbers that you can share? I'd really be
interested in them.
Also, since you've considering JSF and performance is the deciding
faactor, do you have the performance information between s1, s2 and JSF?
/Ian
dice wrote:
The custom OGNLValueStack made little
On 12/13/06, Ian Roughley [EMAIL PROTECTED] wrote:
Do you have the performance numbers that you can share? I'd really be
interested in them.
There are some interesting numbers here
*
http://javajmc.blogspot.com/2006/10/webwork-and-stripes-simple-performance.html
(be sure to read to the
noticed the same thing. Maybe we should replace it with JSP-EL? (I
don't
have time to rewrite OGNL myself.)
In the mean time, we wrote a custom version of OgnlValueStack.
--
View this message in context:
http://www.nabble.com/OGNL-performance-detrimental-to-Struts-2-tf2804655.html
-performance-detrimental-to-Struts-2-tf2804655.html#a7856772
Sent from the Struts - Dev mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
:
http://www.nabble.com/OGNL-performance-detrimental-to-Struts-2-tf2804655.html#a7856772
Sent from the Struts - Dev mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
://www.nabble.com/OGNL-performance-detrimental-to-Struts-2-tf2804655.html#a7865392
Sent from the Struts - Dev mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On 12/12/06, Wendy Smoak [EMAIL PROTECTED] wrote:
On 12/11/06, dice [EMAIL PROTECTED] wrote:
By my own benchmarking I am finding Struts 2 somewhere between 5-10 times
slower than Struts 1 in JSP rendering. JProfiler is telling me OGNL is the
bottleneck.
There's a similar thread on the
-performance-detrimental-to-Struts-2-tf2804655.html#a7847251
Sent from the Struts - Dev mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
:
http://www.nabble.com/OGNL-performance-detrimental-to-Struts-2-tf2804655.html#a7847866
Sent from the Struts - Dev mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
to rewrite OGNL myself.)
In the mean time, we wrote a custom version of OgnlValueStack.
--
View this message in context:
http://www.nabble.com/OGNL-performance-detrimental-to-Struts-2-tf2804655.html#a7847866
Sent from the Struts - Dev mailing list archive at Nabble.com
been
planned. If so, what timeframe?
--
View this message in context:
http://www.nabble.com/OGNL-performance-detrimental-to-Struts-2-tf2804655.html#a7825136
Sent from the Struts - Dev mailing list archive at Nabble.com
We noticed the same thing. Maybe we should replace it with JSP-EL? (I don't
have time to rewrite OGNL myself.)
In the mean time, we wrote a custom version of OgnlValueStack (pasted below)
which optimizes and uses reflection for normal Java expressions; it's an
order of magnitude faster. I think
Howard, who writes Tapestry, notes the same thing in his framework:
http://tapestryjava.blogspot.com/2006/11/improve-tapestry-performance-with.html
He chose a different way of retrieving simple properties. It supposedly
has jumped his performance a lot. I recommend Struts 2 Committees look
for
On 12/11/06, dice [EMAIL PROTECTED] wrote:
By my own benchmarking I am finding Struts 2 somewhere between 5-10 times
slower than Struts 1 in JSP rendering. JProfiler is telling me OGNL is the
bottleneck.
There's a similar thread on the webwork dev list:
42 matches
Mail list logo