I want to share my first impression of the new version the code completion wasn't as good before as today. It's very fluent.
Hi @koksal.basar,
I am sorry but I couldn't get what you mean. Is the new version better or worse? Does the lag happen again after some time?
I'm sorry I couldn't explain exactly what I meant.
Let me put it more clearly.
This version is perfect. I've been working without any lag so far. Code completion is working flawlessly. I'm not only talking about speed but also the suggestion. Both of them are very good.
I think you did it (I hope :)).
Update: 20231027
RBS 1.16.2 also passed my night sleep test. :))
I shared it before. I generally don't shut down my development environment. When I started working on RBS again in the morning, the slow-motion effect would come back. But today I'm working as same as the same speed as the day before.
Thank you for confirming @koksal.basar.
@GallusRoboticus and @daveg1466 let me know if 1.16.2 makes any difference for you considering this issue.
I also have been working with it all day. Adding code has no lag no matter how long it's open! I am super impressed with it! Thank you so much for perservering on this issue!
Seems to be working for me as well. I am no longer able to reproduce the issue. Great work!
Hi guys,
My slow-motion monster is back. What about you?
I was working only on a class file, no page design or no multiple files. I think the effect is started 45 minutes later.
PS 1: I have been experiencing this effect for a while again, but today is the top.
PS 2: RBS ver. 1.19.2
Hi @koksal.basar,
Can you try reverting to 1.16.2 to see if it makes a difference?
The following versions introduce changes that could have affected this issue:
- 1.17.0 introduces code actions and runs more diagnostics over the code.
- 1.18.0 updates to .NET 8.
Hi @korchev,
This version (1.16.2) is working well.
The effect is concentrated in this order. You are right.
I do not have any reproduced instructions for this issue (again). It's happening itself while I'm working.
I'll keep 1.16.2 for working. The .Net 8 is not a big problem but I was planning to use OpenAPI in a short time. I hope you can find a new solution in a short time.
I suspect there is a problem introduced with 1.17.0 since 1.18.0 is only the .NET 8 upgrade. We will investigate and also probably add a an option to disable diagnostics and code actions (the light bulb) if they are causing a major delay.
I've spent the last couple of days hunting memory leaks. And I found some - it seems the .NET 8 update introduced a few areas that could leak.
Just released 1.19.3 which includes a fix this leak. Hopefully it would improve your experience.
You guys are awesome, thanks for sticking with it! It is very much appreciated. I have long day of programming tomorrow, so I'll put it through its paces and let you know!
I agreed. :))
I could not make a real test but my first impression is the solution works for the leaking problem.
I'll update after the real test.
Mostly fixed, but after about two hours of creating complex rendering and codebehind it began to slow down again, but not to the same degree.
Hi,
Sorry for the little delay.
The test results are the same as 1.16.2 as I expected (generally). The working quality is really high now.
Here is a note. There are some lags after working for a while. However, I was unsure if the reason came from the RBS or my VPS. Because I can not create a list of reproducing instructions. I can say only that it starts after working for a while (sometimes, not every time). If the lag starts, It doesn't climb the disturbing level but, it's continuing. Restarting is the solution as always.
Thanks for your efforts one more time.
PS. If you have suggested tests I can try them.
Update
When I faced the issue that I shared here, I understood that hiding and showing the codes is very important for the lag effect. If you do it many times the lag effect returns.
I hope this helps you.
Another Update
In addition, creating events from RBS is affecting the performance. The lag starts after adding events and not only writing performance but also screen refresh and jump screen performance are reduced.
You can use this to reproduce the lag effect.
I will need some instructions as I couldn't reproduce any delay with that project and I've spent about one hour looking at it while debugging the other issue which you reported.
Tell me what to do in order to reproduce the delay.
Hi @korchev,
I've tried to write an absolute re-procedure list for the last 2 hours. I was unsuccessful many times. The closest test list is as follows (The lag started but not increased.)
- Open the test project that was shared by me.
- Try to create an event a couple of times (the " sign was not deleted from the #endregion directive).
- .razor and .razor.cs files are saved each time.
- Remove the " sign.
- Create a couple of events using the designer.
- Delete one of the events that were created by the designer from the .razor.cs file.
- Save the file.
- Open the .razor file and wait for the error message.
- Try to delete the event's name from the events tab. (Many times the event's name cannot be deleted.)
- Save the page
- Delete the event from the source manually.
- Repeat these procedures for each event that was created by the designer.
- Open another solution. This solution must be big.
- Open a couple of .razor pages.
- Collapse all the collapsable lines from the inside out.
- Save each page.
- The lag effect must be started.
- If no lag effect started then open the previous project and try to same routine.
- In my cases the third try is enough to feel the lag effect.
I hope it works on your side.
Unfortunately I couldn't reproduce this behavior by following those steps. Today we will release a fix for the #endregion"
issue which may have affected the whole procedure.
Hi @korchev ,
I went back to version 1.16.2. Because not only the text editor but also the designers are laggy now. The working experience has not satisfied me. Restarting is not a solution anymore. Because a few minutes after restarting the RBS the lag starts.
I had not been working with RBS for a while. So I can not point to which update was the worst. But the 1.16.2 is the best for me now.
I hope you can find a solution to this problem for to use the new updates in a short time.