I'm sorry but I'm not able to reproduce the performance issue (even with your unit test). I think that we should examine the set of types Weld is scanning during the test. First try to disable the discovery - Weld.disableDiscovery(), then add some simple bean class - Weld.beanClasses() and see if it makes difference. It would be also helpful if you could provide a simple reproducer project. |