-
-
Notifications
You must be signed in to change notification settings - Fork 798
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
Mock.Object is slow for some types #830
Comments
@acesiddhu: The speed of accessing Will look at your repo at a later time but chances are there's generally not much you can do about perf. |
@stakx sure let me know. if there are any workaround we can try please suggest those as well |
OK, judging from your repo, it seems that you have already figured out that You might already have noticed that If you want to increase mocking speed, you could define role interfaces for the capabilities used in e.g. I don't have any further suggestions apart from that. |
Hi Team
we are using Mock in our code base and we have noticed that Mock.Object call is slow for certain types. I have created a repro the issue here https://github.com/acesiddhu/MockHttpClients
Do we know why the call is slow? any thing we can do on our side to fix this issue?
The text was updated successfully, but these errors were encountered: