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

Function signatures are not cached #20

Closed
Changaco opened this issue Oct 4, 2016 · 1 comment
Closed

Function signatures are not cached #20

Changaco opened this issue Oct 4, 2016 · 1 comment

Comments

@Changaco
Copy link
Member

Changaco commented Oct 4, 2016

That's not very good for performance. Upstream issue: AspenWeb/dependency_injection.py#6.

@Changaco
Copy link
Member Author

Changaco commented Feb 20, 2018

I did some profiling of dependency_injection: when calling resolve_dependencies the sub-call to get_signature is ~60% of the work, so caching the signatures would really improve performance (although it wouldn't be noticeable under normal workloads).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant