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

Print Performance issue #2072

Open
tdurieux opened this issue Jun 15, 2018 · 3 comments
Open

Print Performance issue #2072

tdurieux opened this issue Jun 15, 2018 · 3 comments
Labels
performance related with performance issues / improvements

Comments

@tdurieux
Copy link
Collaborator

tdurieux commented Jun 15, 2018

I noticed that the print of the class spoon.reflect.visitor.chain.CtQueryImpl take more than 140ms which is HUGE for the content of this class (10x the compilation time).

Do you have in idea why?

@surli
Copy link
Collaborator

surli commented Jun 15, 2018

The class CtQueryImpl or the interface CtQuery?

@tdurieux
Copy link
Collaborator Author

spoon.reflect.visitor.LiteralHelper takes 416 ms
During the print of this class we have a lot of (Some annotations might be unreachable from the shadow element: spoon.support.reflect.declaration.CtClassImpl@d4addb0a"

@tdurieux
Copy link
Collaborator Author

The class CtQueryImpl or the interface CtQuery?

CtQueryImpl

@surli surli added the performance related with performance issues / improvements label Jun 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance related with performance issues / improvements
Projects
None yet
Development

No branches or pull requests

2 participants