Reduced it to: #################### AfterTypeDiscovery 1068ms #################### AfterBeanDiscovery 2500ms #################### AfterDeploymentValidation 3626ms
after removing the bval CDI extensions (BValExtension) from the observer list for ProcessAnnotatedType. Still not perfect but we can look for other optimizations later. I will check the BVal ProcessAnnotatedType observer now. Am Do., 11. Okt. 2018 um 14:50 Uhr schrieb Thomas Andraschko < [email protected]>: > Just replaced the embedded-maven-plugin version now and added a CDI > Extension to my app: > https://gist.github.com/tandraschko/70ab9fb3c9758ee4a3d7d8a257596ea2 > > TomEE8: > #################### AfterTypeDiscovery 4167ms > #################### AfterBeanDiscovery 5528ms > #################### AfterDeploymentValidation 7009ms > > TomEE7: > #################### AfterTypeDiscovery 1044ms > #################### AfterBeanDiscovery 1408ms > #################### AfterDeploymentValidation 1800ms > > > The difference is really big. > > Am Do., 11. Okt. 2018 um 13:19 Uhr schrieb Thomas Andraschko < > [email protected]>: > >> Ok, but it's definitily also related to OWB: >> OpenWebBeans Container has started, it took 9356 ms >> in 7.0.x, it's 4287 >> >> Maybe Mark or Romain can give a hint - i was not very active in OWB when >> 2.0 was developed. >> >> >> Am Do., 11. Okt. 2018 um 13:11 Uhr schrieb Thomas Andraschko < >> [email protected]>: >> >>> Just replaced the owb-impl jar with 2.0.3 but no difference >>> >>> Am Do., 11. Okt. 2018 um 12:49 Uhr schrieb cocorossello < >>> [email protected]>: >>> >>>> I did notice a slower startup in my application between openwebbeans >>>> 2.0.3 >>>> and 2.0.7, so maybe what you can do is try your application replacing >>>> openwebbeans with 2.0.3 version (if you are still on java 8) and see >>>> if the >>>> time improves). >>>> >>>> >>>> >>>> -- >>>> Sent from: >>>> http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html >>>> >>>
