Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JDK aop invoke very slow [SPR-15832] #20387

Open
spring-projects-issues opened this issue Jul 29, 2017 · 0 comments
Open

JDK aop invoke very slow [SPR-15832] #20387

spring-projects-issues opened this issue Jul 29, 2017 · 0 comments
Labels
in: core status: waiting-for-triage

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Jul 29, 2017

takeseem opened SPR-15832 and commented

ENV: jdk1.8, spring 4.3.8.RELEASES, see the pom.xml

why SpringJDKProxy is slowest? but the ori jdk proxy speed is good.

Although SpringJdkProxy performance of the slowest, but compared to the business TPS, the loss can be ignored :)

the test project is takeseem-demo-aop

Run NO Proxy: 37 ms, 38,109,875 t/s
Run JDK Proxy: 85 ms, 16,589,004 t/s
Run CGLIB Proxy: 52 ms, 27,116,642 t/s
Run Spring interface Proxy: 205 ms, 6,878,367 t/s
Run Spring class Proxy: 38 ms, 37,106,984 t/s
Run JAVAASSIST Proxy: 108 ms, 13,056,161 t/s
Run JAVAASSIST Bytecode Proxy: 39 ms, 36,155,523 t/s
Run ASM Bytecode Proxy: 39 ms, 36,155,523 t/s

Affects: 4.3.8

Reference URL: https://github.com/takeseem/takeseem-demo-aop

@spring-projects-issues spring-projects-issues added status: waiting-for-triage type: enhancement in: core and removed type: enhancement labels Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core status: waiting-for-triage
Projects
None yet
Development

No branches or pull requests

1 participant