java - Is there any performance difference between Autowire by type and Autowire by name -
i have changed project use annotations instead of xml file, increases application deploy time. looking ways reduce it.
is there performance difference between autowire type , autowire name ?
any other suggestions reduce deploy time warmly welcome
similar question asked sometime can refer below link answer: spring-wiring-by-type-is-slower-by-magnitude-than-wiring-by-name
it appears autowire type has additional compatibility check perform , therefore inherently slower name equivalent. there fix in spring 3.1.2 , 3.2 remains slower. applications doing initialisation @ startup, isn't big issue , brings more safety application.
Comments
Post a Comment