[jira] [Updated] (TOMEE-4571) TomEE PLUME 10.1.x - Decrease in performance (Factor 2 or more).

2026-01-28 Thread Martin A. (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin A. updated TOMEE-4571:
-
Attachment: TOMEE-4571__Testcase.patch
TOMEE-4571_test_project_timing.txt

> TomEE PLUME 10.1.x -  Decrease in performance (Factor 2 or more).
> -
>
> Key: TOMEE-4571
> URL: https://issues.apache.org/jira/browse/TOMEE-4571
> Project: TomEE
>  Issue Type: Bug
>  Components: TomEE Core Server
>Affects Versions: 10.1.2
> Environment: Primefaces 13.0.8 ; ojdbc11:21 , Oracle 19c database ; 
> gradle 8.7 build system. 
> PLUME edition of TomEE because we need eclipselink due to native queries and 
> DB package calls.
> TomEE 9.1.3 PLUME as-is (Mojarra Faces 3, Eclipselink 3) on OpenJDK17
> TomEE 10.1.2 PLUME as-is (Mojarra Faces 4, Eclipselink 4) on OpenJDK21
> related web.xml parameters overview
> jakarta.faces.PROJECT_STAGE = Production
> jakarta.faces.FACELETS_REFRESH_PERIOD  = -1
> jakarta.faces.STATE_SAVING_METHOD = server
> listener-class = com.sun.faces.config.ConfigureListener
> servlet-class = jakarta.faces.webapp.FacesServlet
> jakarta.faces.FACELETS_VIEW_MAPPINGS = .jsf;.xhtml
> jakarta.faces.PARTIAL_STATE_SAVING = true
> jakarta.faces.FACELETS_BUFFER_SIZE = 1024000 (for fileuploads)
> jakarta.faces.FACELETS_SKIP_COMMENTS = true
> primefaces.CLIENT_SIDE_LOCALISATION = true
> primefaces.SUBMIT = partial
>Reporter: Martin A.
>Assignee: Jonathan Gallimore
>Priority: Major
> Attachments: TOMEE-4571__Testcase.patch, 
> TOMEE-4571_test_project_timing.txt
>
>
> We recently migrated our PrimeFaces 13 application from TomEE9 to TomEE10 and 
> found a massive decrease in performance (Factor 2 or more).
> *Measurement*  : open dedicated page, then track its 3 XHR requests in 
> browser console
> TomEE10 + JDK21 : 4900 ms - 6800 ms - 2100 ms
> TomEE10 + JDK17 : 9200 ms - 8400 ms - 5700 ms
> TomEE 9 + JDK17 : 2700 ms - 3000 ms - 0800 ms
> TomEE 9 was > 2x faster, JDK might have a small impact, 21 is faster (as 
> expected)
> As suggested by BalusC, i did a comparison with MyFaces 4.03 from TomEE Plus 
> by replacing it in TomEE Plume and ran the same testcases 3x to have reliable 
> results:
> Measured times in ms, using p:lifecycle component (skipped phases < 10 
> ms).The big differences are in RESTORE_VIEW phase = 10x faster and 
> RENDER_RESPONSE phase = 2-3x faster
> h3. TomEE 9 / mojarra 3.0.5 (=our baseline)
> || UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
> |"search"|130 | 630 | 850  |
> |"open dialog"|180| 1200 | 400  |
> h3. TomEE 10 / mojarra: 4.0.11
> || UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
> |"search"| {color:#de350b}*650* {color} | 650 | 1100  |
> |"open dialog"| {color:#de350b}*750* {color} | 1200 | 400  |
> h3. TomEE 10 / myfaces: 4.0.3
> || UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
> |"search"|65| 600 | 650  |
> |"open dialog"|60| 1200 | 150  |
> h3. TomEE 10 / mojarra 3.0.5 (just for debugging purpose)
> || UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
> |"search"|*{color:#de350b}700{color}*| 650| 1200|
> |"open dialog"|*{color:#de350b}700{color}* | 1400| 700  |
> This was just a freaky try, knowing this is experimental, unsupported etc; by 
> reverting namespace and related changed only, same tests as before (3x,same 
> pc, same db)
> Summary: 
> * TomEE 10 mojarra 4 is 2x slower than TomEE9 mojarra 3
> * TomEE 10 myFaces 4 is 2-10x faster than Mojarra 4, depending on action. 
> * The idea that eclipselink / DB level is slower which turned out false. 
>  
> I checked all server.xml, tomee.xml changes, as well as the required 
> application changes in dependencies, namespaces, faces-config.xml, 
> beans.xml persistence.xml and found no hint yet what could cause such 
> decrease in performance. I can confirm that mojarra 3 and mojarra 4 are 
> (nearly) equal in performance, 
> in fact "Restore view" phase is slower in 4. 
> On the other hand, this now means: There must be some other things in TomEE 
> 10 that make it slower, e.g. libraries, config changes, undocumented 
> parameters, no-longer-in-use caches ... So further Ideas are highly welcome. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (TOMEE-4571) TomEE PLUME 10.1.x - Decrease in performance (Factor 2 or more).

2026-01-16 Thread Martin A. (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin A. updated TOMEE-4571:
-
Environment: 
Primefaces 13.0.8 ; ojdbc11:21 , Oracle 19c database ; gradle 8.7 build system. 
PLUME edition of TomEE because we need eclipselink due to native queries and DB 
package calls.
TomEE 9.1.3 PLUME as-is (Mojarra Faces 3, Eclipselink 3) on OpenJDK17
TomEE 10.1.2 PLUME as-is (Mojarra Faces 4, Eclipselink 4) on OpenJDK21

related web.xml parameters overview
jakarta.faces.PROJECT_STAGE = Production
jakarta.faces.FACELETS_REFRESH_PERIOD  = -1
jakarta.faces.STATE_SAVING_METHOD = server
listener-class = com.sun.faces.config.ConfigureListener
servlet-class = jakarta.faces.webapp.FacesServlet
jakarta.faces.FACELETS_VIEW_MAPPINGS = .jsf;.xhtml
jakarta.faces.PARTIAL_STATE_SAVING = true
jakarta.faces.FACELETS_BUFFER_SIZE = 1024000 (for fileuploads)
jakarta.faces.FACELETS_SKIP_COMMENTS = true
primefaces.CLIENT_SIDE_LOCALISATION = true
primefaces.SUBMIT = partial

  was:
Primefaces 13.0.8, ojdbc11:21 , Oracle 19c database, gradle 8.7 build system. 
PLUME edition of TomEE because we need eclipselink due to native queries and DB 
package calls.
TomEE 9.1.3 PLUME as-is (Mojarra Faces 3, Eclipselink 3) on OpenJDK17
TomEE 10.1.2 PLUME as-is (Mojarra Faces 4, Eclipselink 4) on OpenJDK21

web.xml parameters overview
listener-class = com.sun.faces.config.ConfigureListener
servlet-class = jakarta.faces.webapp.FacesServlet
jakarta.faces.FACELETS_VIEW_MAPPINGS = .jsf;.xhtml
jakarta.faces.STATE_SAVING_METHOD = server
jakarta.faces.FACELETS_REFRESH_PERIOD  = -1
jakarta.faces.PARTIAL_STATE_SAVING = true
jakarta.faces.FACELETS_BUFFER_SIZE = 1024000 (for fileuploads)
jakarta.faces.FACELETS_SKIP_COMMENTS = true
primefaces.CLIENT_SIDE_LOCALISATION = true


> TomEE PLUME 10.1.x -  Decrease in performance (Factor 2 or more).
> -
>
> Key: TOMEE-4571
> URL: https://issues.apache.org/jira/browse/TOMEE-4571
> Project: TomEE
>  Issue Type: Bug
>  Components: TomEE Core Server
>Affects Versions: 10.1.2
> Environment: Primefaces 13.0.8 ; ojdbc11:21 , Oracle 19c database ; 
> gradle 8.7 build system. 
> PLUME edition of TomEE because we need eclipselink due to native queries and 
> DB package calls.
> TomEE 9.1.3 PLUME as-is (Mojarra Faces 3, Eclipselink 3) on OpenJDK17
> TomEE 10.1.2 PLUME as-is (Mojarra Faces 4, Eclipselink 4) on OpenJDK21
> related web.xml parameters overview
> jakarta.faces.PROJECT_STAGE = Production
> jakarta.faces.FACELETS_REFRESH_PERIOD  = -1
> jakarta.faces.STATE_SAVING_METHOD = server
> listener-class = com.sun.faces.config.ConfigureListener
> servlet-class = jakarta.faces.webapp.FacesServlet
> jakarta.faces.FACELETS_VIEW_MAPPINGS = .jsf;.xhtml
> jakarta.faces.PARTIAL_STATE_SAVING = true
> jakarta.faces.FACELETS_BUFFER_SIZE = 1024000 (for fileuploads)
> jakarta.faces.FACELETS_SKIP_COMMENTS = true
> primefaces.CLIENT_SIDE_LOCALISATION = true
> primefaces.SUBMIT = partial
>Reporter: Martin A.
>Priority: Major
>
> We recently migrated our PrimeFaces 13 application from TomEE9 to TomEE10 and 
> found a massive decrease in performance (Factor 2 or more).
> *Measurement*  : open dedicated page, then track its 3 XHR requests in 
> browser console
> TomEE10 + JDK21 : 4900 ms - 6800 ms - 2100 ms
> TomEE10 + JDK17 : 9200 ms - 8400 ms - 5700 ms
> TomEE 9 + JDK17 : 2700 ms - 3000 ms - 0800 ms
> TomEE 9 was > 2x faster, JDK might have a small impact, 21 is faster (as 
> expected)
> As suggested by BalusC, i did a comparison with MyFaces 4.03 from TomEE Plus 
> by replacing it in TomEE Plume and ran the same testcases 3x to have reliable 
> results:
> Measured times in ms, using p:lifecycle component (skipped phases < 10 
> ms).The big differences are in RESTORE_VIEW phase = 10x faster and 
> RENDER_RESPONSE phase = 2-3x faster
> h3. TomEE 9 / mojarra 3.0.5 (=our baseline)
> || UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
> |"search"|130 | 630 | 850  |
> |"open dialog"|180| 1200 | 400  |
> h3. TomEE 10 / mojarra: 4.0.11
> || UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
> |"search"| {color:#de350b}*650* {color} | 650 | 1100  |
> |"open dialog"| {color:#de350b}*750* {color} | 1200 | 400  |
> h3. TomEE 10 / myfaces: 4.0.3
> || UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
> |"search"|65| 600 | 650  |
> |"open dialog"|60| 1200 | 150  |
> h3. TomEE 10 / mojarra 3.0.5 (just for debugging purpose)
> || UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
> |"search"|*{color:#de350b}700{color}*| 650| 1200|
> |"open dialog"|*{color:#de350b}700{color}* | 1400| 700  |
> This was just a freaky try, knowing this is experimental, unsupported etc; by 
> reverting namespace and related changed only, same

[jira] [Updated] (TOMEE-4571) TomEE PLUME 10.1.x - Decrease in performance (Factor 2 or more).

2026-01-16 Thread Martin A. (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin A. updated TOMEE-4571:
-
Description: 
We recently migrated our PrimeFaces 13 application from TomEE9 to TomEE10 and 
found a massive decrease in performance (Factor 2 or more).

*Measurement*  : open dedicated page, then track its 3 XHR requests in browser 
console
TomEE10 + JDK21 : 4900 ms - 6800 ms - 2100 ms
TomEE10 + JDK17 : 9200 ms - 8400 ms - 5700 ms
TomEE 9 + JDK17 : 2700 ms - 3000 ms - 0800 ms
TomEE 9 was > 2x faster, JDK might have a small impact, 21 is faster (as 
expected)

As suggested by BalusC, i did a comparison with MyFaces 4.03 from TomEE Plus by 
replacing it in TomEE Plume and ran the same testcases 3x to have reliable 
results:
Measured times in ms, using p:lifecycle component (skipped phases < 10 ms).The 
big differences are in RESTORE_VIEW phase = 10x faster and RENDER_RESPONSE 
phase = 2-3x faster

h3. TomEE 9 / mojarra 3.0.5 (=our baseline)
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|130 | 630 | 850  |
|"open dialog"|180| 1200 | 400  |

h3. TomEE 10 / mojarra: 4.0.11
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"| {color:#de350b}*650* {color} | 650 | 1100  |
|"open dialog"| {color:#de350b}*750* {color} | 1200 | 400  |

h3. TomEE 10 / myfaces: 4.0.3
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|65| 600 | 650  |
|"open dialog"|60| 1200 | 150  |

h3. TomEE 10 / mojarra 3.0.5 (just for debugging purpose)
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|*{color:#de350b}700{color}*| 650| 1200|
|"open dialog"|*{color:#de350b}700{color}* | 1400| 700  |
This was just a freaky try, knowing this is experimental, unsupported etc; by 
reverting namespace and related changed only, same tests as before (3x,same pc, 
same db)

Summary: 
* TomEE 10 mojarra 4 is 2x slower than TomEE9 mojarra 3
* TomEE 10 myFaces 4 is 2-10x faster than Mojarra 4, depending on action. 
* The idea that eclipselink / DB level is slower which turned out false. 
 
I checked all server.xml, tomee.xml changes, as well as the required 
application changes in dependencies, namespaces, faces-config.xml, 
beans.xml persistence.xml and found no hint yet what could cause such decrease 
in performance. I can confirm that mojarra 3 and mojarra 4 are (nearly) equal 
in performance, 
in fact "Restore view" phase is slower in 4. 
On the other hand, this now means: There must be some other things in TomEE 10 
that make it slower, e.g. libraries, config changes, undocumented parameters, 
no-longer-in-use caches ... So further Ideas are highly welcome. 

  was:
We recently migrated our PrimeFaces 13 application from TomEE9 to TomEE10 and 
found a massive decrease in performance (Factor 2 or more).

*Measurement*  : open dedicated page, then track its 3 XHR requests in browser 
console
TomEE10 + JDK21 : 4900 ms - 6800 ms - 2100 ms
TomEE10 + JDK17 : 9200 ms - 8400 ms - 5700 ms
TomEE 9 + JDK17 : 2700 ms - 3000 ms - 0800 ms
TomEE 9 was > 2x faster, JDK might have a small impact, 21 is faster (as 
expected)

As suggested by BalusC, i did a comparison with MyFaces 4.03 from TomEE Plus by 
replacing it in TomEE Plume and ran the same testcases 3x to have reliable 
results:
Measured times in ms, using p:lifecycle component (skipped phases < 10 ms).The 
big differences are in RESTORE_VIEW phase = 10x faster and RENDER_RESPONSE 
phase = 2-3x faster

h3. TomEE 9 / mojarra 3.0.5 (=our baseline)
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|130 | 630 | 850  |
|"open dialog"|180| 1200 | 400  |

h3. TomEE 10 / mojarra: 4.0.11
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"| {color:#de350b}*650* {color} | 650 | 1100  |
|"open dialog"| {color:#de350b}*750* {color} | 1200 | 400  |

h3. TomEE 10 / myfaces: 4.0.3
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|65| 600 | 650  |
|"open dialog"|60| 1200 | 150  |

I also  did a freaky try, knowing this is experimental, unsupported etc; by 
reverting namespace and related changed only, same tests as before (3x,same pc, 
same db)
h3. TomEE 10 / mojarra 3.0.5 (just for debugging purpose)
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|*{color:#de350b}700{color}*| 650| 1200|
|"open dialog"|*{color:#de350b}700{color}* | 1400| 700  |

Summary: 
* TomEE 10 mojarra 4 is 2x slower than TomEE9 mojarra 3
* TomEE 10 myFaces 4 is 2-10x faster than Mojarra 4, depending on action. 
* The idea that eclipselink / DB level is slower which turned out false. 
 
I checked all server.xml, tomee.xml changes, as well as the required 
application changes in dependencies, namespaces, faces-config.xml, 
beans.xml persistence.xml and found no hint yet what could cause such decrease 
in perfor

[jira] [Updated] (TOMEE-4571) TomEE PLUME 10.1.x - Decrease in performance (Factor 2 or more).

2026-01-16 Thread Martin A. (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin A. updated TOMEE-4571:
-
Description: 
We recently migrated our PrimeFaces 13 application from TomEE9 to TomEE10 and 
found a massive decrease in performance (Factor 2 or more).

*Measurement*  : open dedicated page, then track its 3 XHR requests in browser 
console
TomEE10 + JDK21 : 4900 ms - 6800 ms - 2100 ms
TomEE10 + JDK17 : 9200 ms - 8400 ms - 5700 ms
TomEE 9 + JDK17 : 2700 ms - 3000 ms - 0800 ms
TomEE 9 was > 2x faster, JDK might have a small impact, 21 is faster (as 
expected)

As suggested by BalusC, i did a comparison with MyFaces 4.03 from TomEE Plus by 
replacing it in TomEE Plume and ran the same testcases 3x to have reliable 
results:
Measured times in ms, using p:lifecycle component (skipped phases < 10 ms).The 
big differences are in RESTORE_VIEW phase = 10x faster and RENDER_RESPONSE 
phase = 2-3x faster

h3. TomEE 9 / mojarra 3.0.5 (=our baseline)
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|130 | 630 | 850  |
|"open dialog"|180| 1200 | 400  |

h3. TomEE 10 / mojarra: 4.0.11
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"| {color:#de350b}*650* {color} | 650 | 1100  |
|"open dialog"| {color:#de350b}*750* {color} | 1200 | 400  |

h3. TomEE 10 / myfaces: 4.0.3
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|65| 600 | 650  |
|"open dialog"|60| 1200 | 150  |

I also  did a freaky try, knowing this is experimental, unsupported etc; by 
reverting namespace and related changed only, same tests as before (3x,same pc, 
same db)
h3. TomEE 10 / mojarra 3.0.5 (just for debugging purpose)
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|*{color:#de350b}700{color}*| 650| 1200|
|"open dialog"|*{color:#de350b}700{color}* | 1400| 700  |

Summary: 
* TomEE 10 mojarra 4 is 2x slower than TomEE9 mojarra 3
* TomEE 10 myFaces 4 is 2-10x faster than Mojarra 4, depending on action. 
* The idea that eclipselink / DB level is slower which turned out false. 
 
I checked all server.xml, tomee.xml changes, as well as the required 
application changes in dependencies, namespaces, faces-config.xml, 
beans.xml persistence.xml and found no hint yet what could cause such decrease 
in performance. I can confirm that mojarra 3 and mojarra 4 are (nearly) equal 
in performance, 
in fact "Restore view" phase is slower in 4. 
On the other hand, this now means: There must be some other things in TomEE 10 
that make it slower, e.g. libraries, config changes, undocumented parameters, 
no-longer-in-use caches ... So further Ideas are highly welcome. 

  was:
We recently migrated our PrimeFaces 13 application from TomEE9 to TomEE10 and 
found a massive decrease in performance (Factor 2 or more).

*Measurement*  : open dedicated page, then track its 3 XHR requests in browser 
console
TomEE10 + JDK21 : 4900 ms - 6800 ms - 2100 ms
TomEE10 + JDK17 : 9200 ms - 8400 ms - 5700 ms
TomEE 9 + JDK17 : 2700 ms - 3000 ms - 0800 ms
TomEE 9 was > 2x faster, JDK might have a small impact, 21 is faster (as 
expected)

As suggested by BalusC, i did a comparison with MyFaces 4.03 from TomEE Plus by 
replacing it in TomEE Plume and ran the same testcases 3x to have reliable 
results:
Measured times in ms, using p:lifecycle component (skipped phases < 10 ms).The 
big differences are in RESTORE_VIEW phase = 10x faster and RENDER_RESPONSE 
phase = 2-3x faster

TomEE 9 / mojarra 3.0.5 (=our baseline)
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|130 | 630 | 850  |
|"open dialog"|180| 1200 | 400  |

TomEE 10 / mojarra: 4.0.11
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"| {color:#de350b}*650* {color} | 650 | 1100  |
|"open dialog"| {color:#de350b}*750* {color} | 1200 | 400  |

TomEE 10 / myfaces: 4.0.3
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|65| 600 | 650  |
|"open dialog"|60| 1200 | 150  |

I also  did a freaky try, knowing this is experimental, unsupported etc; by 
reverting namespace and related changed only, same tests as before (3x,same pc, 
same db)
*TomEE 10 with mojarra 3.0.5* 
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|*{color:#de350b}700{color}*| 650| 1200|
|"open dialog"|*{color:#de350b}700{color}* | 1400| 700  |

Summary: 
* TomEE 10 mojarra 4 is 2x slower than TomEE9 mojarra 3
* TomEE 10 myFaces 4 is 2-10x faster than Mojarra 4, depending on action. 
* The idea that eclipselink / DB level is slower which turned out false. 
 
I checked all server.xml, tomee.xml changes, as well as the required 
application changes in dependencies, namespaces, faces-config.xml, 
beans.xml persistence.xml and found no hint yet what could cause such decrease 
in performance. I can confirm that mojarra 3 and m

[jira] [Updated] (TOMEE-4571) TomEE PLUME 10.1.x - Decrease in performance (Factor 2 or more).

2026-01-16 Thread Martin A. (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin A. updated TOMEE-4571:
-
Description: 
We recently migrated our PrimeFaces 13 application from TomEE9 to TomEE10 and 
found a massive decrease in performance (Factor 2 or more).

*Measurement*  : open dedicated page, then track its 3 XHR requests in browser 
console
TomEE10 + JDK21 : 4900 ms - 6800 ms - 2100 ms
TomEE10 + JDK17 : 9200 ms - 8400 ms - 5700 ms
TomEE 9 + JDK17 : 2700 ms - 3000 ms - 0800 ms
TomEE 9 was > 2x faster, JDK might have a small impact, 21 is faster (as 
expected)

As suggested by BalusC, i did a comparison with MyFaces 4.03 from TomEE Plus by 
replacing it in TomEE Plume and ran the same testcases 3x to have reliable 
results:
Measured times in ms, using p:lifecycle component (skipped phases < 10 ms).The 
big differences are in RESTORE_VIEW phase = 10x faster and RENDER_RESPONSE 
phase = 2-3x faster

TomEE 9 / mojarra 3.0.5 (=our baseline)
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|130 | 630 | 850  |
|"open dialog"|180| 1200 | 400  |

TomEE 10 / mojarra: 4.0.11
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"| {color:#de350b}*650* {color} | 650 | 1100  |
|"open dialog"| {color:#de350b}*750* {color} | 1200 | 400  |

TomEE 10 / myfaces: 4.0.3
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|65| 600 | 650  |
|"open dialog"|60| 1200 | 150  |

I also  did a freaky try, knowing this is experimental, unsupported etc; by 
reverting namespace and related changed only, same tests as before (3x,same pc, 
same db)
*TomEE 10 with mojarra 3.0.5* 
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|*{color:#de350b}700{color}*| 650| 1200|
|"open dialog"|*{color:#de350b}700{color}* | 1400| 700  |

Summary: 
* TomEE 10 mojarra 4 is 2x slower than TomEE9 mojarra 3
* TomEE 10 myFaces 4 is 2-10x faster than Mojarra 4, depending on action. 
* The idea that eclipselink / DB level is slower which turned out false. 
 
I checked all server.xml, tomee.xml changes, as well as the required 
application changes in dependencies, namespaces, faces-config.xml, 
beans.xml persistence.xml and found no hint yet what could cause such decrease 
in performance. I can confirm that mojarra 3 and mojarra 4 are (nearly) equal 
in performance, 
in fact "Restore view" phase is slower in 4. 
 On the other hand, this now means: There must be some other things in TomEE 10 
that make it slower, e.g. libraries, config changes, undocumented parameters, 
no-longer-in-use caches ... So further Ideas are highly welcome. 

  was:
We recently migrated our PrimeFaces 13 application from TomEE9 to TomEE10 and 
found a massive decrease in performance (Factor 2 or more).

*Measurement*  : open dedicated page, then track its 3 XHR requests in browser 
console
TomEE10 + JDK21 : 4900 ms - 6800 ms - 2100 ms
TomEE10 + JDK17 : 9200 ms - 8400 ms - 5700 ms
TomEE 9 + JDK17 : 2700 ms - 3000 ms - 0800 ms
TomEE 9 was > 2x faster, JDK might have a small impact, 21 is faster (as 
expected)

As suggested by BalusC, i did a comparison with MyFaces 4.03 from TomEE Plus by 
replacing it in TomEE Plume and ran the same testcases 3x to have reliable 
results:
Measured times in ms, using p:lifecycle component (skipped phases < 10 ms).The 
big differences are in RESTORE_VIEW phase = 10x faster and RENDER_RESPONSE 
phase = 2-3x faster

*TomEE 9*
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|130 | 630 | 850  |
|"open dialog"|180| 1200 | 400  |

*TomEE 10 / mojarra: 4.0.11*
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"| {color:#de350b}*650* {color} | 650 | 1100  |
|"open dialog"| {color:#de350b}*750* {color} | 1200 | 400  |

*TomEE 10 / myfaces: 4.0.3*
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|65| 600 | 650  |
|"open dialog"|60| 1200 | 150  |

I also  did a freaky try, knowing this is experimental, unsupported etc:
*TomEE 10 with mojarra 3.0.5* (like TomEE 9) by reverting namespace and related 
changed only, same tests as before (3x,same pc, same db)
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|*{color:#de350b}700{color}*| 650| 1200|
|"open dialog"|*{color:#de350b}700{color}* | 1400| 700  |

Summary: 
* TomEE 10 mojarra 4 is 2x slower than TomEE9 mojarra 3
* TomEE 10 myFaces 4 is 2-10x faster than Mojarra 4, depending on action. 
* The idea that eclipselink / DB level is slower which turned out false. 
 
I checked all server.xml, tomee.xml changes, as well as the required 
application changes in dependencies, namespaces, faces-config.xml, 
beans.xml persistence.xml and found no hint yet what could cause such decrease 
in performance. I can confirm that mojarra 3 and mojarra 4 are (nearly) equal 
in performance, 
in fa

[jira] [Updated] (TOMEE-4571) TomEE PLUME 10.1.x - Decrease in performance (Factor 2 or more).

2026-01-16 Thread Martin A. (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin A. updated TOMEE-4571:
-
Description: 
We recently migrated our PrimeFaces 13 application from TomEE9 to TomEE10 and 
found a massive decrease in performance (Factor 2 or more).

*Measurement*  : open dedicated page, then track its 3 XHR requests in browser 
console
TomEE10 + JDK21 : 4900 ms - 6800 ms - 2100 ms
TomEE10 + JDK17 : 9200 ms - 8400 ms - 5700 ms
TomEE 9 + JDK17 : 2700 ms - 3000 ms - 0800 ms
TomEE 9 was > 2x faster, JDK might have a small impact, 21 is faster (as 
expected)

As suggested by BalusC, i did a comparison with MyFaces 4.03 from TomEE Plus by 
replacing it in TomEE Plume and ran the same testcases 3x to have reliable 
results:
Measured times in ms, using p:lifecycle component (skipped phases < 10 ms).The 
big differences are in RESTORE_VIEW phase = 10x faster and RENDER_RESPONSE 
phase = 2-3x faster

*TomEE 9*
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|130 | 630 | 850  |
|"open dialog"|180| 1200 | 400  |

*TomEE 10 / mojarra: 4.0.11*
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"| {color:#de350b}*650* {color} | 650 | 1100  |
|"open dialog"| {color:#de350b}*750* {color} | 1200 | 400  |

*TomEE 10 / myfaces: 4.0.3*
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|65| 600 | 650  |
|"open dialog"|60| 1200 | 150  |

I also  did a freaky try, knowing this is experimental, unsupported etc:
*TomEE 10 with mojarra 3.0.5* (like TomEE 9) by reverting namespace and related 
changed only, same tests as before (3x,same pc, same db)
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|*{color:#de350b}700{color}*| 650| 1200|
|"open dialog"|*{color:#de350b}700{color}* | 1400| 700  |

Summary: 
* TomEE 10 mojarra 4 is 2x slower than TomEE9 mojarra 3
* TomEE 10 myFaces 4 is 2-10x faster than Mojarra 4, depending on action. 
* The idea that eclipselink / DB level is slower which turned out false. 
 
I checked all server.xml, tomee.xml changes, as well as the required 
application changes in dependencies, namespaces, faces-config.xml, 
beans.xml persistence.xml and found no hint yet what could cause such decrease 
in performance. I can confirm that mojarra 3 and mojarra 4 are (nearly) equal 
in performance, 
in fact "Restore view" phase is slower in 4. 
 On the other hand, this now means: There must be some other things in TomEE 10 
that make it slower, e.g. libraries, config changes, undocumented parameters, 
no-longer-in-use caches ... So further Ideas are highly welcome. 

  was:
We recently migrated our PrimeFaces 13 application from TomEE9 to TomEE10 and 
found a massive decrease in performance (Factor 2 or more).

*Measurement*  : open dedicated page, then track its 3 XHR requests in browser 
console
TomEE10 + JDK21 : 4900 ms - 6800 ms - 2100 ms
TomEE10 + JDK17 : 9200 ms - 8400 ms - 5700 ms
TomEE 9 + JDK17 : 2700 ms - 3000 ms - 0800 ms
TomEE 9 was > 2x faster, JDK might have a small impact, 21 is faster (as 
expected)

As suggested by BalusC, i did a comparison with MyFaces 4.03 from TomEE Plus by 
replacing it in TomEE Plume and ran the same testcases 3x to have reliable 
results:
Measured times in ms, using p:lifecycle component (skipped phases < 10 ms).The 
big differences are in RESTORE_VIEW phase = 10x faster and RENDER_RESPONSE 
phase = 2-3x faster

*TomEE 9 / mojarra 3.0.5*
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|130 | 630 | 850  |
|"open dialog"|180| 1200 | 400  |

*TomEE 10* mojarra: 4.0.11
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"| {color:#de350b}*650* {color} | 650 | 1100  |
|"open dialog"| {color:#de350b}*750* {color} | 1200 | 400  |

TomEE 10 myfaces: 4.0.3
"search" : RESTORE_VIEW 65 | INVOKE_APPLICATION 600 | RENDER_RESPONSE 650 |
"open dialog": RESTORE_VIEW 60 | INVOKE_APPLICATION 1200 | RENDER_RESPONSE 150 |

MyFaces 4.0.3 is factor 2-10 faster than Mojarra 4.0.11, depending on action. 

I also  did a freaky try, knowing this is experimental, unsupported etc:

*TomEE 10 with mojarra 3.0.5* (like TomEE 9) by reverting namespace and related 
changed only, same tests as before (3x,same pc, same db)
"Search": RESTORE_VIEW *{color:#de350b}700{color}* | INVOKE_APPLICATION 650 | 
RENDER_RESPONSE 1200
"Open Dialog": RESTORE_VIEW *{color:#de350b}700{color}* | INVOKE_APPLICATION 
1400 | RENDER_RESPONSE 700

The idea that eclipselink / DB level is slower which turned out false. I 
checked all server.xml, tomee.xml changes, as well as the required application 
changes in dependencies, namespaces, faces-config.xml, 
beans.xml persistence.xml and found no hint yet what could cause such decrease 
in performance. I can confirm the idead that faces 3 and faces 4 are equal in 
performance, 
in fact "Restore view" phas

[jira] [Updated] (TOMEE-4571) TomEE PLUME 10.1.x - Decrease in performance (Factor 2 or more).

2026-01-16 Thread Martin A. (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin A. updated TOMEE-4571:
-
Description: 
We recently migrated our PrimeFaces 13 application from TomEE9 to TomEE10 and 
found a massive decrease in performance (Factor 2 or more).

*Measurement*  : open dedicated page, then track its 3 XHR requests in browser 
console
TomEE10 + JDK21 : 4900 ms - 6800 ms - 2100 ms
TomEE10 + JDK17 : 9200 ms - 8400 ms - 5700 ms
TomEE 9 + JDK17 : 2700 ms - 3000 ms - 0800 ms
TomEE 9 was > 2x faster, JDK might have a small impact, 21 is faster (as 
expected)

As suggested by BalusC, i did a comparison with MyFaces 4.03 from TomEE Plus by 
replacing it in TomEE Plume and ran the same testcases 3x to have reliable 
results:
Measured times in ms, using p:lifecycle component (skipped phases < 10 ms).The 
big differences are in RESTORE_VIEW phase = 10x faster and RENDER_RESPONSE 
phase = 2-3x faster

*TomEE 9 / mojarra 3.0.5*
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"|130 | 630 | 850  |
|"open dialog"|180| 1200 | 400  |

*TomEE 10* mojarra: 4.0.11
|| UseCase || RESTORE_VIEW || INVOKE_APPLICATION || RENDER_RESPONSE  || 
|"search"| {color:#de350b}*650* {color} | 650 | 1100  |
|"open dialog"| {color:#de350b}*750* {color} | 1200 | 400  |

TomEE 10 myfaces: 4.0.3
"search" : RESTORE_VIEW 65 | INVOKE_APPLICATION 600 | RENDER_RESPONSE 650 |
"open dialog": RESTORE_VIEW 60 | INVOKE_APPLICATION 1200 | RENDER_RESPONSE 150 |

MyFaces 4.0.3 is factor 2-10 faster than Mojarra 4.0.11, depending on action. 

I also  did a freaky try, knowing this is experimental, unsupported etc:

*TomEE 10 with mojarra 3.0.5* (like TomEE 9) by reverting namespace and related 
changed only, same tests as before (3x,same pc, same db)
"Search": RESTORE_VIEW *{color:#de350b}700{color}* | INVOKE_APPLICATION 650 | 
RENDER_RESPONSE 1200
"Open Dialog": RESTORE_VIEW *{color:#de350b}700{color}* | INVOKE_APPLICATION 
1400 | RENDER_RESPONSE 700

The idea that eclipselink / DB level is slower which turned out false. I 
checked all server.xml, tomee.xml changes, as well as the required application 
changes in dependencies, namespaces, faces-config.xml, 
beans.xml persistence.xml and found no hint yet what could cause such decrease 
in performance. I can confirm the idead that faces 3 and faces 4 are equal in 
performance, 
in fact "Restore view" phase is slower in 4.  On the other hand, this now 
means: There must be some other things in TomEE 10 that make it slower, e.g. 
libraries, config changes, undocumented parameters, no-longer-in-use caches ... 
So further Ideas are highly welcome. 

  was:
We recently migrated our PrimeFaces 13 application from TomEE9 to TomEE10 and 
found a massive decrease in performance (Factor 2 or more).

*Measurement*  : open dedicated page, then track its 3 XHR requests in browser 
console
TomEE10 + JDK21 : 4900 ms - 6800 ms - 2100 ms
TomEE10 + JDK17 : 9200 ms - 8400 ms - 5700 ms
TomEE 9 + JDK17 : 2700 ms - 3000 ms - 0800 ms
TomEE 9 was > 2x faster, JDK might have a small impact, 21 is faster (as 
expected)

As suggested by BalusC, i did a comparison with MyFaces 4.03 from TomEE Plus by 
replacing it in TomEE Plume and ran the same testcases 3x to have reliable 
results:
Measured times in ms, using p:lifecycle component (skipped phases < 10 ms).The 
big differences are in RESTORE_VIEW phase = 10x faster and RENDER_RESPONSE 
phase = 2-3x faster

*TomEE 9 / mojarra 3.0.5*
||UseCase||RESTORE_VIEW ||INVOKE_APPLICATION  ||RENDER_RESPONSE  || ||
|"search"|130 | 630 | 850  |
|"open dialog"|180| 1200 | 400  |

*TomEE 10* mojarra: 4.0.11
"search": RESTORE_VIEW {color:#de350b}*650* {color}| INVOKE_APPLICATION 650 | 
RENDER_RESPONSE 1100 |
"open dialog": RESTORE_VIEW {color:#de350b}*750* {color}| INVOKE_APPLICATION 
1200 | RENDER_RESPONSE 400 |

TomEE 10 myfaces: 4.0.3
"search" : RESTORE_VIEW 65 | INVOKE_APPLICATION 600 | RENDER_RESPONSE 650 |
"open dialog": RESTORE_VIEW 60 | INVOKE_APPLICATION 1200 | RENDER_RESPONSE 150 |

MyFaces 4.0.3 is factor 2-10 faster than Mojarra 4.0.11, depending on action. 

I also  did a freaky try, knowing this is experimental, unsupported etc:

*TomEE 10 with mojarra 3.0.5* (like TomEE 9) by reverting namespace and related 
changed only, same tests as before (3x,same pc, same db)
"Search": RESTORE_VIEW *{color:#de350b}700{color}* | INVOKE_APPLICATION 650 | 
RENDER_RESPONSE 1200
"Open Dialog": RESTORE_VIEW *{color:#de350b}700{color}* | INVOKE_APPLICATION 
1400 | RENDER_RESPONSE 700

The idea that eclipselink / DB level is slower which turned out false. I 
checked all server.xml, tomee.xml changes, as well as the required application 
changes in dependencies, namespaces, faces-config.xml, 
beans.xml persistence.xml and found no hint yet what could cause such decrease 
in performance. I can confirm the idead that faces 3 and faces 4 are equal in 
performance, 
in fact "Restore vi

[jira] [Updated] (TOMEE-4571) TomEE PLUME 10.1.x - Decrease in performance (Factor 2 or more).

2026-01-16 Thread Martin A. (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin A. updated TOMEE-4571:
-
Description: 
We recently migrated our PrimeFaces 13 application from TomEE9 to TomEE10 and 
found a massive decrease in performance (Factor 2 or more).

*Measurement*  : open dedicated page, then track its 3 XHR requests in browser 
console
TomEE10 + JDK21 : 4900 ms - 6800 ms - 2100 ms
TomEE10 + JDK17 : 9200 ms - 8400 ms - 5700 ms
TomEE 9 + JDK17 : 2700 ms - 3000 ms - 0800 ms
TomEE 9 was > 2x faster, JDK might have a small impact, 21 is faster (as 
expected)

As suggested by BalusC, i did a comparison with MyFaces 4.03 from TomEE Plus by 
replacing it in TomEE Plume and ran the same testcases 3x to have reliable 
results:
Measured times in ms, using p:lifecycle component (skipped phases < 10 ms).The 
big differences are in RESTORE_VIEW phase = 10x faster and RENDER_RESPONSE 
phase = 2-3x faster

*TomEE 9 / mojarra 3.0.5*
||UseCase||RESTORE_VIEW ||INVOKE_APPLICATION  ||RENDER_RESPONSE  || ||
|"search"|130 | 630 | 850  |
|"open dialog"|180| 1200 | 400  |

*TomEE 10* mojarra: 4.0.11
"search": RESTORE_VIEW {color:#de350b}*650* {color}| INVOKE_APPLICATION 650 | 
RENDER_RESPONSE 1100 |
"open dialog": RESTORE_VIEW {color:#de350b}*750* {color}| INVOKE_APPLICATION 
1200 | RENDER_RESPONSE 400 |

TomEE 10 myfaces: 4.0.3
"search" : RESTORE_VIEW 65 | INVOKE_APPLICATION 600 | RENDER_RESPONSE 650 |
"open dialog": RESTORE_VIEW 60 | INVOKE_APPLICATION 1200 | RENDER_RESPONSE 150 |

MyFaces 4.0.3 is factor 2-10 faster than Mojarra 4.0.11, depending on action. 

I also  did a freaky try, knowing this is experimental, unsupported etc:

*TomEE 10 with mojarra 3.0.5* (like TomEE 9) by reverting namespace and related 
changed only, same tests as before (3x,same pc, same db)
"Search": RESTORE_VIEW *{color:#de350b}700{color}* | INVOKE_APPLICATION 650 | 
RENDER_RESPONSE 1200
"Open Dialog": RESTORE_VIEW *{color:#de350b}700{color}* | INVOKE_APPLICATION 
1400 | RENDER_RESPONSE 700

The idea that eclipselink / DB level is slower which turned out false. I 
checked all server.xml, tomee.xml changes, as well as the required application 
changes in dependencies, namespaces, faces-config.xml, 
beans.xml persistence.xml and found no hint yet what could cause such decrease 
in performance. I can confirm the idead that faces 3 and faces 4 are equal in 
performance, 
in fact "Restore view" phase is slower in 4.  On the other hand, this now 
means: There must be some other things in TomEE 10 that make it slower, e.g. 
libraries, config changes, undocumented parameters, no-longer-in-use caches ... 
So further Ideas are highly welcome. 

  was:
We recently migrated our PrimeFaces 13 application from TomEE9 to TomEE10 and 
found a massive decrease in performance (Factor 2 or more).

*Measurement*  : open dedicated page, then track its 3 XHR requests in browser 
console
TomEE10 + JDK21 : 4900 ms - 6800 ms - 2100 ms
TomEE10 + JDK17 : 9200 ms - 8400 ms - 5700 ms
TomEE 9 + JDK17 : 2700 ms - 3000 ms - 0800 ms
TomEE 9 was > 2x faster, JDK might have a small impact, 21 is faster (as 
expected)

As suggested by BalusC, i did a comparison with MyFaces 4.03 from TomEE Plus by 
replacing it in TomEE Plume and ran the same testcases 3x to have reliable 
results:
Measured times in ms, using p:lifecycle component (skipped phases < 10 ms).The 
big differences are in RESTORE_VIEW phase = 10x faster and RENDER_RESPONSE 
phase = 2-3x faster

*TomEE 9* / mojarra 3.0.5
"search": RESTORE_VIEW 130 | INVOKE_APPLICATION 630 | RENDER_RESPONSE 850 | 
"open dialog": RESTORE_VIEW 180 | INVOKE_APPLICATION 1200 | RENDER_RESPONSE 400 
|

*TomEE 10* mojarra: 4.0.11
"search": RESTORE_VIEW {color:#de350b}*650* {color}| INVOKE_APPLICATION 650 | 
RENDER_RESPONSE 1100 |
"open dialog": RESTORE_VIEW {color:#de350b}*750* {color}| INVOKE_APPLICATION 
1200 | RENDER_RESPONSE 400 |

TomEE 10 myfaces: 4.0.3
"search" : RESTORE_VIEW 65 | INVOKE_APPLICATION 600 | RENDER_RESPONSE 650 |
"open dialog": RESTORE_VIEW 60 | INVOKE_APPLICATION 1200 | RENDER_RESPONSE 150 |

MyFaces 4.0.3 is factor 2-10 faster than Mojarra 4.0.11, depending on action. 

I also  did a freaky try, knowing this is experimental, unsupported etc:

*TomEE 10 with mojarra 3.0.5* (like TomEE 9) by reverting namespace and related 
changed only, same tests as before (3x,same pc, same db)
"Search": RESTORE_VIEW *{color:#de350b}700{color}* | INVOKE_APPLICATION 650 | 
RENDER_RESPONSE 1200
"Open Dialog": RESTORE_VIEW *{color:#de350b}700{color}* | INVOKE_APPLICATION 
1400 | RENDER_RESPONSE 700

The idea that eclipselink / DB level is slower which turned out false. I 
checked all server.xml, tomee.xml changes, as well as the required application 
changes in dependencies, namespaces, faces-config.xml, 
beans.xml persistence.xml and found no hint yet what could cause such decrease 
in performance. I can confirm the idead that faces 3 and faces 4 are 

[jira] [Updated] (TOMEE-4571) TomEE PLUME 10.1.x - Decrease in performance (Factor 2 or more).

2026-01-16 Thread Martin A. (Jira)


 [ 
https://issues.apache.org/jira/browse/TOMEE-4571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin A. updated TOMEE-4571:
-
Description: 
We recently migrated our PrimeFaces 13 application from TomEE9 to TomEE10 and 
found a massive decrease in performance (Factor 2 or more).

*Measurement*  : open dedicated page, then track its 3 XHR requests in browser 
console
TomEE10 + JDK21 : 4900 ms - 6800 ms - 2100 ms
TomEE10 + JDK17 : 9200 ms - 8400 ms - 5700 ms
TomEE 9 + JDK17 : 2700 ms - 3000 ms - 0800 ms
TomEE 9 was > 2x faster, JDK might have a small impact, 21 is faster (as 
expected)

As suggested by BalusC, i did a comparison with MyFaces 4.03 from TomEE Plus by 
replacing it in TomEE Plume and ran the same testcases 3x to have reliable 
results:
Measured times in ms, using p:lifecycle component (skipped phases < 10 ms).The 
big differences are in RESTORE_VIEW phase = 10x faster and RENDER_RESPONSE 
phase = 2-3x faster

*TomEE 9* / mojarra 3.0.5
"search": RESTORE_VIEW 130 | INVOKE_APPLICATION 630 | RENDER_RESPONSE 850 | 
"open dialog": RESTORE_VIEW 180 | INVOKE_APPLICATION 1200 | RENDER_RESPONSE 400 
|

*TomEE 10* mojarra: 4.0.11
"search": RESTORE_VIEW {color:#de350b}*650* {color}| INVOKE_APPLICATION 650 | 
RENDER_RESPONSE 1100 |
"open dialog": RESTORE_VIEW {color:#de350b}*750* {color}| INVOKE_APPLICATION 
1200 | RENDER_RESPONSE 400 |

TomEE 10 myfaces: 4.0.3
"search" : RESTORE_VIEW 65 | INVOKE_APPLICATION 600 | RENDER_RESPONSE 650 |
"open dialog": RESTORE_VIEW 60 | INVOKE_APPLICATION 1200 | RENDER_RESPONSE 150 |

MyFaces 4.0.3 is factor 2-10 faster than Mojarra 4.0.11, depending on action. 

I also  did a freaky try, knowing this is experimental, unsupported etc:

*TomEE 10 with mojarra 3.0.5* (like TomEE 9) by reverting namespace and related 
changed only, same tests as before (3x,same pc, same db)
"Search": RESTORE_VIEW *{color:#de350b}700{color}* | INVOKE_APPLICATION 650 | 
RENDER_RESPONSE 1200
"Open Dialog": RESTORE_VIEW *{color:#de350b}700{color}* | INVOKE_APPLICATION 
1400 | RENDER_RESPONSE 700

The idea that eclipselink / DB level is slower which turned out false. I 
checked all server.xml, tomee.xml changes, as well as the required application 
changes in dependencies, namespaces, faces-config.xml, 
beans.xml persistence.xml and found no hint yet what could cause such decrease 
in performance. I can confirm the idead that faces 3 and faces 4 are equal in 
performance, 
in fact "Restore view" phase is slower in 4.  On the other hand, this now 
means: There must be some other things in TomEE 10 that make it slower, e.g. 
libraries, config changes, undocumented parameters, no-longer-in-use caches ... 
So further Ideas are highly welcome. 

  was:
We recently migrated our PrimeFaces 13 application from TomEE9 to TomEE10 and 
found a massive decrease in performance (Factor 2 or more).

*Measurement*  : open dedicated page, then track its 3 XHR requests in browser 
console
TomEE10 + JDK21 : 4900 ms - 6800 ms - 2100 ms
TomEE10 + JDK17 : 9200 ms - 8400 ms - 5700 ms
TomEE 9 + JDK17 : 2700 ms - 3000 ms - 0800 ms
TomEE 9 was > 2x faster, JDK might have a small impact, 21 is faster (as 
expected)

As suggested by BalusC, i did a comparison with MyFaces 4.03 from TomEE Plus by 
replacing it in TomEE Plume and ran the same testcases 3x to have reliable 
results:
Measured times in ms, using p:lifecycle component (skipped phases < 10 ms).The 
big differences are in RESTORE_VIEW phase = 10x faster and RENDER_RESPONSE 
phase = 2-3x faster

TomEE 9 / mojarra 3.0.5
"search": RESTORE_VIEW *130* | INVOKE_APPLICATION 630 | RENDER_RESPONSE 850 | 
"open dialog": RESTORE_VIEW *180* | INVOKE_APPLICATION 1200 | RENDER_RESPONSE 
400 |

TomEE 10 mojarra: 4.0.11
"search": RESTORE_VIEW *650* | INVOKE_APPLICATION 650 | RENDER_RESPONSE 1100 |
"open dialog": RESTORE_VIEW *750* | INVOKE_APPLICATION 1200 | RENDER_RESPONSE 
400 |

TomEE 10 myfaces: 4.0.3
"search" : RESTORE_VIEW 65 | INVOKE_APPLICATION 600 | RENDER_RESPONSE 650 |
"open dialog": RESTORE_VIEW 60 | INVOKE_APPLICATION 1200 | RENDER_RESPONSE 150 |

MyFaces 4.0.3 is factor 2-10 faster than Mojarra 4.0.11, depending on action. 

I also  did a freaky try: run TomEE 10 with mojarra 3.0.5 (like TomEE 9) by 
reverting namespace and related changed only, same tests as before (3x,same pc, 
same db)
"Search": RESTORE_VIEW 700 | INVOKE_APPLICATION 650 | RENDER_RESPONSE 1200
"Open Dialog": RESTORE_VIEW 700 | INVOKE_APPLICATION 1400 | RENDER_RESPONSE 700

The idea that eclipselink / DB level is slower which turned out false. I 
checked all server.xml, tomee.xml changes, as well as the required application 
changes in dependencies, namespaces, faces-config.xml, 
beans.xml persistence.xml and found no hint yet what could cause such decrease 
in performance. I can confirm the idead that faces 3 and faces 4 are equal in 
performance, 
in fact "Restore view" phase is slower in 4.  On the other hand, this now 
means: There mu