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

v1.b.43+的Scans.rs2class方法存在严重的性能问题 #410

Closed
lAndRaxeE opened this issue Mar 6, 2013 · 4 comments
Closed

v1.b.43+的Scans.rs2class方法存在严重的性能问题 #410

lAndRaxeE opened this issue Mar 6, 2013 · 4 comments
Assignees
Milestone

Comments

@lAndRaxeE
Copy link
Contributor

1.b.43开始改用ClassTools.getClassName来获取类名称,而打开输入流的开销巨大,在实际的企业级环境中,当list大小为4000+时,直接从classes目录读取时,加载速度大概为>50s,但当从jar包中读取时,加载速度>10m,甚至能够达到恐怖的18-20m,相比于之前版本的5s左右来说,这个速度实在是太慢太慢了

@wendal
Copy link
Member

wendal commented Mar 6, 2013

哦, 我去改进一下

wendal added a commit that referenced this issue Mar 6, 2013
@wendal
Copy link
Member

wendal commented Mar 6, 2013

麻烦你测试一下速度

@lAndRaxeE
Copy link
Contributor Author

不用测了,在你改之前我已经这么改了,测过了,速度恢复到3-4s了,正常

@wendal
Copy link
Member

wendal commented Mar 6, 2013

fixed

@wendal wendal closed this as completed Mar 6, 2013
@ghost ghost assigned wendal Mar 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants