HandlerMappingIntrospector lookups may be performed multiple times per request. This is not good for performance and can become a hotspot, see https://github.com/spring-projects/spring-framework/issues/31098.
HandlerMappingIntrospector now exposes a Filter to cache the results that Spring Security needs to use in order to optimize its performance. The change is available from 6.0.14, see https://github.com/spring-projects/spring-framework/issues/31588 for details.