Describe the bug

    @Bean
    public PasswordEncoder passwordEncoder() {
        return new BCryptPasswordEncoder();
    }

private final PasswordEncoder passwordEncoder;
boolean matches = passwordEncoder.matches(password, user.getLoginPassword());

The cost is often very long

<!--  spring security 依赖      -->
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-security</artifactId>
   <version>3.2.4</version>
</dependency>

To Reproduce arthas-boot trace logs

Spring Security  The passwordEncoder.matches()  cost is often very long

Expected behavior quick response