[1258] Every edit of Web.Config Takes 2-3 seconds

VS2008 - Starting with this build, every keystroke in the Web.Config for a
Web Site takes between to 2 and 5 seconds to complete. This includes cut
and paste operations. CPU on one processor (I am running on a dual core)
pegs during this time.


13 comments

David,

It would be great if you run VS under dotTrace profiler and capture a snapshot for us. By the way, what versuion control are you using? How big your web.config is?

0

Sergey - is there an email address that I can send the snapshot to? It is
too big to send to here (2.8 MB zipped.)

"Sergey Coox" <no_reply@jetbrains.com> wrote in message
news:33493684.128461246701656254.JavaMail.clearspace@app8.labs.intellij.net...

David,

>

It would be great if you run VS under dotTrace profiler and capture a
snapshot for us. By the way, what versuion control are you using? How big
your web.config is?

>

---
Original message URL:
http://www.jetbrains.net/devnet/message/5241239#5241239



0

qx [at] jetbrains [dot] com
Thanks in advance.

0

David!

Did build 1268 help? If not, could you take another snapshot for me, pls.

0

I'm not sure if this is related or not, but after installing 1268, editing an MSBuild file is causing VS.Net to hang. The only connection I can see is that the proj file and the config file are both XML files.

0

Hello Jeff
     Does this happen with any MSBuild file or only with a particular file after certain actions? Could you please attach another instance of Visual Studio to the hanging one with debugger, break the execution and copy the contents of Debug > Windows > Call Stack for each thread under Debug > Windows > Threads into some text file and then send that file to andrew [dot] serebryansky [at] jetbrains [dot] com? Thank you!

0

Hi Andrey,

It looks like the hang is occurring when it tries to load intellisense on an msbuild xml attribute.

I have attached the Threads list to an email I am just sending you.

ps. This is R# build 1259

Thanks,
Jeff

0

Sorry, I have been out of the office. I will be checking today.

David

"Sergey Coox" <no_reply@jetbrains.com> wrote in message
news:3635392.136571247072112000.JavaMail.clearspace@app8.labs.intellij.net...

David!

>

Did build 1268 help? If not, could you take another snapshot for me, pls.

>

---
Original message URL:
http://www.jetbrains.net/devnet/message/5241452#5241452



0

Re: VS2008sp1 R#4.5.1231 Performance issues while editing -- suggestions

Hi there,



Im also experiencing a serious slowdown with asp.net aspx pages and web.config file editing with the latest builds of resharper 4.5.1, in the early builds this problem wasn't there.


I noticed a slowdown probably in the last 3 weeks and I have cleared my cache and all. What happens is you type say 10 characters and like probably only 3 characters come up 1 at a time after a short delay
e.g. Typing <add key="test" would come out as:


< (pause)
a (pause)
d (pause)
d (pause)
at this point you have to retype the rest (key="test") because it loses it in the buffer somehow


Not sure what is causing the problem but when resharper is off the problem goes away


Note I initially had problems with asp.net files (aspx) and the problem went away when I cleared the cache, but after a few hours of using the editor again the slowdown came back, but in the case of the web.config the problem never goes away it still has the problem.


The last build I've tried is: 1267

0

Try 1268 out, pls. There was a critical fix in it.

0

Hi there,

I tried 1268 and 1270 and the same problem exists. What is interesting is that I have multiple projects in my solution and I found that some app.config files edit fast, but the web.config file is way too slow and still has the problem. Some aspx pages are also slow to edit.

One inteteresting thing I found was that in my web project I decided to add a new web.config file (web2.config) and I noticed that it was able to be edited very quickly. So I copied the content from my existing web.config file into web2.config file and editing was fine and fast again. So I'm not really sure what is going on here.


Thanks for your help in this problem

0

web2.config is fast because we don't have special processing for it. I've discovered and fixed another performance problem yesterday. Check today's nightly out, pls

0

Hi there,

Just tried 1271 and I think it has fixed the web.config problem, even the aspx pages that were a little slow are faster now not as smooth as usual but heaps faster

Thanks for that, appreciate all the hard work

0

Please sign in to leave a comment.