-
Notifications
You must be signed in to change notification settings - Fork 510
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
Update to Roslyn 1.2 #2102
Update to Roslyn 1.2 #2102
Conversation
sharwell
commented
Mar 13, 2016
- Update to xUnit.net 2.2.0-beta1
- Update to Roslyn 1.2.0-rc
- Replace generated code detection with Roslyn's built-in functionality
- Replace StyleCopSettings cache with Roslyn's built-in functionality
- Enable concurrent analyzer execution
- Remove workarounds for Roslyn 1.0 and/or 1.1
…tespace-only documents
Current coverage is
|
Looks good so far. What needs to be done before this is ready for merge? |
|
|
My initial performance testing did not yield the expected results. For the test, I simply ran the following command using dotnet/roslyn@01ba99a.
|
Thats weird. @mavasani Are we doing something wrong here or is this a regression in roslyn? Thats 45% slower in 1.2 usi g the new APIs compared to 1.0. |
We have made a bunch of perf fixes post RC. So I would recommend trying out later bits. Additionally, if you can provide ETL trace with RC bits, we can investigate further. Did you also measure perf with RC bits but not enabling new features? That might give us more context. |
Oh, I see that you did measure with and without new APIs. So seems unrelated to new APIs. |
@mavasani Using 1.2.1 did improve things a bit. Haven't run the profiler yet to see where the remaining problem spots are (still much slower than 1.0.0 was). |
@mavasani I'm using StyleCopTester against a specific commit of Roslyn as described above. I run the test twice and take the analysis time from the second run. |
@sharwell do you have numbers against 1.1.0 bits of Roslyn |
@sharwell I notice that StyleCopTester isn't turning on concurrent execution. Can you change this to use the new overload and ensure that the |
@sharwell Would it be possible to measure the performance against Roslyn 1.1.0 bits? I am guessing this regression happened with the new IDE analyzer driver added in Update1. I am going to attempt to repro this locally and confirm the root cause. Meanwhile I have also filed dotnet/roslyn#10530 to track the work on our side. |
I can get those numbers tonight. Essentially it will be a test like commit 64d3935, but using the 1.1 packages instead of 1.2.0-rc. |
@mavasani I ran the test with Roslyn 1.1.1. Some main items to note:
|
Thanks a lot @sharwell
I am working on dotnet/roslyn#10530 which should improve the analyzer execution time for both the IDE analyzer execution and this public API - I'll measure the analysis time with RTM, Update2 and bits with the fix for this issue and update here. |