Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums2.0.1RC1 JSF semantics validator performance
https://www.eclipse.org/forums/index.php/mv/msg/151032/475076/#msg_475076
Just installed WTP 2.0.1RC1 and noticed, that JSF Semantics validator
performance degraded about 15-20 times. Is such a performance drop to be
expected in FR of 2.0.1?
Searched bugzilla and haven't found any fixed/opened bugs related to jsf
validator mechanism. Sorry, if I panic too early, but I consider RC's as
bug fixing stage when no new features are added. And since jsf validator
was rather fast in previous 2.0.1 builds, I think it is something
intentionally changed :)
I used eclipse 3.3.1 (last stable M for Win32), sun's jdk 1.5.0_12.]]>Vadim Dmitriev2007-09-11T09:11:25-00:00Re: 2.0.1RC1 JSF semantics validator performance
https://www.eclipse.org/forums/index.php/mv/msg/151032/614417/#msg_614417
> Hi!
>
> Just installed WTP 2.0.1RC1 and noticed, that JSF Semantics validator
> performance degraded about 15-20 times. Is such a performance drop to be
> expected in FR of 2.0.1?
> Searched bugzilla and haven't found any fixed/opened bugs related to jsf
> validator mechanism. Sorry, if I panic too early, but I consider RC's as
> bug fixing stage when no new features are added. And since jsf validator
> was rather fast in previous 2.0.1 builds, I think it is something
> intentionally changed :)
I don't if there were any changes recently, but was it ever fast, really?
Maybe you were testing with different JSPs? The more complex the JSP,
the slower it gets, especially when there are many EL expressions.
This bug has been open for a while now, and just deferred to 3.0: https://bugs.eclipse.org/bugs/show_bug.cgi?id=163890]]>Yury Kats2007-09-11T13:48:06-00:00Re: 2.0.1RC1 JSF semantics validator performance
https://www.eclipse.org/forums/index.php/mv/msg/151032/475078/#msg_475078
> Hi!
>
> Just installed WTP 2.0.1RC1 and noticed, that JSF Semantics validator
> performance degraded about 15-20 times. Is such a performance drop to be
> expected in FR of 2.0.1?
> Searched bugzilla and haven't found any fixed/opened bugs related to jsf
> validator mechanism. Sorry, if I panic too early, but I consider RC's as
> bug fixing stage when no new features are added. And since jsf validator
> was rather fast in previous 2.0.1 builds, I think it is something
> intentionally changed :)
I don't if there were any changes recently, but was it ever fast, really?
Maybe you were testing with different JSPs? The more complex the JSP,
the slower it gets, especially when there are many EL expressions.
This bug has been open for a while now, and just deferred to 3.0: https://bugs.eclipse.org/bugs/show_bug.cgi?id=163890]]>Yury Kats2007-09-11T13:48:06-00:00Re: 2.0.1RC1 JSF semantics validator performance
https://www.eclipse.org/forums/index.php/mv/msg/151032/614418/#msg_614418
> On 9/11/2007 5:11 AM, Vadim Dmitriev wrote:
>
> I don't if there were any changes recently, but was it ever fast, really?
> Maybe you were testing with different JSPs? The more complex the JSP,
> the slower it gets, especially when there are many EL expressions.
>
> This bug has been open for a while now, and just deferred to 3.0:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=163890
Thanks for reply, Yury.
I was testing on project, that is almost complete and now it is in
testing stage so JSPs are mainly stay unchanged for a long time. It
consist of relatively 250 JSPs and with even 3 weeks-old WTP2.0.1 build
validated in 4 minutes topmost (the same for 2.0 release). With 2.0.1RC1
estimated completion time is about 40 or so minutes. It looks like
validation algorithm changed and i don't have nor time neither i have
will to check validation sources myself to see whether it is true :)
Well, maybe it worth to wait for RC2.
Best regards.]]>Vadim Dmitriev2007-09-11T16:42:59-00:00Re: 2.0.1RC1 JSF semantics validator performance
https://www.eclipse.org/forums/index.php/mv/msg/151032/475080/#msg_475080
> On 9/11/2007 5:11 AM, Vadim Dmitriev wrote:
>
> I don't if there were any changes recently, but was it ever fast, really?
> Maybe you were testing with different JSPs? The more complex the JSP,
> the slower it gets, especially when there are many EL expressions.
>
> This bug has been open for a while now, and just deferred to 3.0:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=163890
Thanks for reply, Yury.
I was testing on project, that is almost complete and now it is in
testing stage so JSPs are mainly stay unchanged for a long time. It
consist of relatively 250 JSPs and with even 3 weeks-old WTP2.0.1 build
validated in 4 minutes topmost (the same for 2.0 release). With 2.0.1RC1
estimated completion time is about 40 or so minutes. It looks like
validation algorithm changed and i don't have nor time neither i have
will to check validation sources myself to see whether it is true :)
Well, maybe it worth to wait for RC2.
Best regards.]]>Vadim Dmitriev2007-09-11T16:42:59-00:00Re: 2.0.1RC1 JSF semantics validator performance
https://www.eclipse.org/forums/index.php/mv/msg/151032/614421/#msg_614421
> validated in 4 minutes topmost (the same for 2.0 release). With 2.0.1RC1
> estimated completion time is about 40 or so minutes. It looks like
> validation algorithm changed and i don't have nor time neither i have
> will to check validation sources myself to see whether it is true :)
> Well, maybe it worth to wait for RC2.
I am seeing significant degradation on the variable resolver stress test:
===================================================
Report for performance test: Stress Variable Resolver
Number of iterations: 100000
===================================================
Max: 2,469,061,850, Max Index: 0
Min: 2,793,092, Min Index: 71,326
Avg: 3,793,538, StdDev: 8,415,462.297, StdDev Ignore Max/Min: 3,169,308.624
===================================================
Compared with:
===================================================
Report for performance test: Stress Variable Resolver
Number of iterations: 100000
===================================================
Max: 2,812,605,233, Max Index: 0
Min: 156,444, Min Index: 77,049
Avg: 257,688, StdDev: 8,915,112.194, StdDev Ignore Max/Min: 621,480.648
===================================================
In the 2.0 pre-release baseline using Matthias' type info caching
mechanism. The property resolver may have degraded slightly too, but it
looks like by only about 10% which could be within the natural variance of
the test.
If this is a serious issue for you in 2.0 please escalate the bug:
by ramping the severity. Also, if you could run the StressTest test case
(use -Xmx256M -XX:PermSize=256M) in org.eclipse.jst.jsf.validation.el and
paste your console output to the bug, that would help too.
--Cam]]>Cameron Bateman2007-09-11T17:54:56-00:00Re: 2.0.1RC1 JSF semantics validator performance
https://www.eclipse.org/forums/index.php/mv/msg/151032/475081/#msg_475081
> validated in 4 minutes topmost (the same for 2.0 release). With 2.0.1RC1
> estimated completion time is about 40 or so minutes. It looks like
> validation algorithm changed and i don't have nor time neither i have
> will to check validation sources myself to see whether it is true :)
> Well, maybe it worth to wait for RC2.
I am seeing significant degradation on the variable resolver stress test:
===================================================
Report for performance test: Stress Variable Resolver
Number of iterations: 100000
===================================================
Max: 2,469,061,850, Max Index: 0
Min: 2,793,092, Min Index: 71,326
Avg: 3,793,538, StdDev: 8,415,462.297, StdDev Ignore Max/Min: 3,169,308.624
===================================================
Compared with:
===================================================
Report for performance test: Stress Variable Resolver
Number of iterations: 100000
===================================================
Max: 2,812,605,233, Max Index: 0
Min: 156,444, Min Index: 77,049
Avg: 257,688, StdDev: 8,915,112.194, StdDev Ignore Max/Min: 621,480.648
===================================================
In the 2.0 pre-release baseline using Matthias' type info caching
mechanism. The property resolver may have degraded slightly too, but it
looks like by only about 10% which could be within the natural variance of
the test.
If this is a serious issue for you in 2.0 please escalate the bug:
by ramping the severity. Also, if you could run the StressTest test case
(use -Xmx256M -XX:PermSize=256M) in org.eclipse.jst.jsf.validation.el and
paste your console output to the bug, that would help too.
--Cam]]>Cameron Bateman2007-09-11T17:54:56-00:00Re: 2.0.1RC1 JSF semantics validator performance
https://www.eclipse.org/forums/index.php/mv/msg/151032/614422/#msg_614422
variables. The JSPModelProcessor that discovers and caches variables
declared by tags in a page is being disposed too early which causes page
re-parses for each variable lookup. See updates to https://bugs.eclipse.org/bugs/show_bug.cgi?id=163890 for more details.
--Cam]]>Cameron Bateman2007-09-12T20:18:10-00:00Re: 2.0.1RC1 JSF semantics validator performance
https://www.eclipse.org/forums/index.php/mv/msg/151032/475083/#msg_475083
variables. The JSPModelProcessor that discovers and caches variables
declared by tags in a page is being disposed too early which causes page
re-parses for each variable lookup. See updates to https://bugs.eclipse.org/bugs/show_bug.cgi?id=163890 for more details.
--Cam]]>Cameron Bateman2007-09-12T20:18:10-00:00Re: 2.0.1RC1 JSF semantics validator performance
https://www.eclipse.org/forums/index.php/mv/msg/151032/614426/#msg_614426
> I think I have found the source of degradation in performance for
> variables. The JSPModelProcessor that discovers and caches variables
> declared by tags in a page is being disposed too early which causes page
> re-parses for each variable lookup. See updates to
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=163890 for more details.
>
>
> --Cam
>
Thanks for your effort, Cameron.
It's a relief to know that jsf validator performance is still
work-in-progress. I'll post my subjective opinion about acceptable
validation speed limits in related bugzilla entry.
P.S. I looked into running stress test you mentioned, but haven't found
one with provided name. Plus, I don't have enough experience with JUnit
(and running JUnits for eclipse plugins). Sorry.]]>Vadim Dmitriev2007-09-16T16:40:49-00:00Re: 2.0.1RC1 JSF semantics validator performance
https://www.eclipse.org/forums/index.php/mv/msg/151032/475085/#msg_475085
> I think I have found the source of degradation in performance for
> variables. The JSPModelProcessor that discovers and caches variables
> declared by tags in a page is being disposed too early which causes page
> re-parses for each variable lookup. See updates to
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=163890 for more details.
>
>
> --Cam
>
Thanks for your effort, Cameron.
It's a relief to know that jsf validator performance is still
work-in-progress. I'll post my subjective opinion about acceptable
validation speed limits in related bugzilla entry.
P.S. I looked into running stress test you mentioned, but haven't found
one with provided name. Plus, I don't have enough experience with JUnit
(and running JUnits for eclipse plugins). Sorry.]]>Vadim Dmitriev2007-09-16T16:40:49-00:00