-
Notifications
You must be signed in to change notification settings - Fork 120
This slows the VS2019 down and now working. #115
Comments
Hi, can you provide a sample code on which this refactoring causes the described issue? |
Here is sample codes.
My project line count is over than 50.000 lines. |
I have the same issue too. When i run the tool it is working and finally it recommending me this(also it is taking long time):
But i have to do it because of table relations on entity framework.
|
@bugrakosen, thanks for providing sample code. Honestly, I will have time around the weekend to take a look at this issue. In terms of large codebase - IMHO tools should never support that because this will be a countenance for bad practices. My advice is to keep the codebase as small as possible - extract as much as possible to external packages. Divide and conquer :) |
@bugrakosen @M-Clk is it still an issue with the latest MappingGenerator? |
I tested it in a small project and its worked fine. But yes it is the same issue in large project with latest MappingGenerator. @cezarypiatek |
I also tested it and it's the same. Thanks @cezarypiatek for your effort. I hope you fix it. When I have time, I'll try to fix this error and contribute. |
@bugrakosen I spent some time looking at it but honestly, I'm not able to spot the culprit. I suspected that this performance issue might be caused by |
@bugrakosen @M-Clk might I ask you to test it once again using v1.19.452? |
I've tried and it's the same. I waited for 5 minutes to be initialize variables but it didn't initialize. I think it's not your extension's problem. My models are so nested and project is too big. I'm using your extension on other smaller projects and it works fine. Thank you for effort again. @cezarypiatek |
I finally managed to track down the source of the performance issues. The slow down was caused by the post-processing run by VS on the generated code. The fix should be available in the next version of MappingGenerator planned for June 2021. |
Hi @bugrakosen, @M-Clk |
I will try ASAP. Thank you |
When i click "Initiliaze with local variables" or "Initiliaze with sample values" gets stuck like same as in the picture with every model in my project. And when extension enabled on VS2019 excessively reduces performance.
I've already tried reinstall.
VS2019 version : 16.5.4
This is so awesome tool so i want to use it. Thanks for helping.
The text was updated successfully, but these errors were encountered: