• Phillip Webb's avatar
    Improve OnBeanCondition Performance · 45b579c4
    Phillip Webb authored
    Update OnBeanCondition to use a new BeanTypeRegistry which includes
    optimized code when using a DefaultListableBeanFactory. The optimized
    version calculates bean types only once per bean and caches the result.
    
    Prior to this change the sample "pet clinic" application would spend
    400-500 milliseconds evaluating OnBeanConditions, after this change it
    spends around 120 milliseconds.
    
    Fixes gh-1803
    45b579c4
Name
Last commit
Last update
..
src Loading commit data...
.gitignore Loading commit data...
pom.xml Loading commit data...