Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » Slower RESTORE_VIEW Phase on Mojarra 20.3
Slower RESTORE_VIEW Phase on Mojarra 20.3 [message #1832706] Wed, 23 September 2020 15:46
Wafa Mlika is currently offline Wafa MlikaFriend
Messages: 1
Registered: September 2020
Junior Member
Hi community,
Upgrading my project from Mojarra 2.2.13 to Mojarra 2.3.9 has significantly slowed down the RESTORE_VIEW Phase for pages with heavy component tree.
The performance was a way better on 2.2.13, the execution time went from < 1s to > 10s

From java flight record for Mojarra 2.3.9, the com.sun.faces.facelets.tag.jsf.ComponentSupport.findChildByTagId could be the source of the problem :
index.php/fa/38969/0/

When comparing implementations on both version, we can see that in 20.2 the findChildByTagId call is skipped if Pahse Id equals RESTORE_VIEW or request is not a postback :
index.php/fa/38971/0/

While in 2.3 this condition was gone. This method is called from multiple FaceletHandler in the restore view phase, so it has increased execution time for many handlers like :
index.php/fa/38970/0/

Any suggestion to improve the execution time of this phase on 20.3 ?
Thank you for any help
  • Attachment: 203.png
    (Size: 7.80KB, Downloaded 295 times)
  • Attachment: 23handlers.png
    (Size: 16.96KB, Downloaded 298 times)
  • Attachment: method.png
    (Size: 12.76KB, Downloaded 306 times)
Previous Topic:Dynamic URLS
Next Topic:Autocomplete is not working for jsf pages
Goto Forum:
  


Current Time: Sat Apr 27 11:09:29 GMT 2024

Powered by FUDForum. Page generated in 0.02951 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top