Hi,
as you already may know from the TomEE/BVal mailing list, i'm not happy
with the startup performance since TomEE8.
TomEE7 OWB startup ~ 4,5seconds
TomEE8 OWB startup ~ 9seconds
i finally managed to improve the performance on 2 places.
1) Filter framework classes in BVal on PAT
Reduces the startup to ~8seconds
2) Cache obervers for systemEvents in NotificationManager#resolveObservers
Reduces the starup to ~7 seconds
Patch:
https://gist.github.com/tandraschko/de4c72c22e65aaefe041af5a15d110e3
Do you think the patch is ok or could it break something?
I would be happy if mark or romain could improve it :D
Best regards,
Thomas