-
Notifications
You must be signed in to change notification settings - Fork 10
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
Bad performance #79
Comments
Hey, thanks for reporting this! I found the root cause of this behavior, I'm working on the fix now. |
Hello, When can you deliver the fix ? |
Hi, I'm planning to finish the preparation for the release this week, probably the end of this week. |
Hey, |
I tested it and it works! |
In AspNet Core 3.1.2, I am requesting the resolution of a dependency list, but the longer the list, more the performance degrades exponentially.
https://github.com/reservoir-dogs/WebApplicationStashboxPerformance
In this project, you can vary the number of dependencies in the ClassGenerator.tt file
For 10, the result is : {
"elapsed": {
"totalSeconds": 0.0264865
},
"count": 9
}
For 100, the result is : {
"elapsed": {
"totalSeconds": 0.9636601
},
"count": 99
}
For 200, the result is :
{
"elapsed": {
"totalSeconds": 4.2962879
},
"count": 199
}
Without StashBox and 1000 instances, the result is :
{
"elapsed": {
"totalSeconds": 0.0807929
},
"count": 999
}
The text was updated successfully, but these errors were encountered: