Jump to content


Very slow Winforms Designer performance in VS2017 v15.5.4

p4vs vs2017 performance

  • Please log in to reply
2 replies to this topic

#1 brent_heinz

brent_heinz

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 23 January 2018 - 06:08 PM

Hello,

I have a small winforms application, when the p4vs plugin is connected to perforce and when trying to design (add/edit/modify) controls in the designer view, it is nearly unusable. If I disconnect p4vs from the server, the designer works with no lag or observed slowness.

The file I am working on Foo.cs + Foo.Designer.cs are already checked out and editable.  Actually, they are completely new files, marked as added in the default changelist.  I am just continuing to edit them.

I have read some others posts talking about resharper sending is editable events too frequently and causing slowness while editing files.  This is not the same.  If the file is editable and already checked out, there should be no reason to round trip to the server.  I do not run resharper.

Is there a way I can view a log from p4vs to determine what its attempting to do in the background during these edits of a winforms control?

Thank you.

Attached Thumbnails

  • p4vs_version.PNG
  • vs2017_version.png


#2 p4bill

p4bill

    Advanced Member

  • Members
  • PipPipPip
  • 160 posts

Posted 24 January 2018 - 04:16 PM

Hello,

I'll do some investigation here to see if P4VS is running excessive Perforce commands when editing in the designer. If have a log file that you can share, please send it to me at perforce.com (bbaffy). You can enable logging in P4VS via Tools->Options->Source Control->Perforce - Logging.

log.PNG

#3 brent_heinz

brent_heinz

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 24 January 2018 - 09:10 PM

Resizing a single textbox in the designer with full logging enabled produced the following:

[Info: P4API.NET] 24/01/2018 13:06:59.2765 : ->fstat -Olhp d:\projects\designer-bug\Form1.cs
[Info: P4API.NET] 24/01/2018 13:06:59.9435 : ->fstat -Olhp d:\projects\designer-bug\Form1.Designer.cs
[Info: P4API.NET] 24/01/2018 13:07:00.0865 : ->fstat -Olhp d:\projects\designer-bug\Form1.resx
[Info: P4API.NET] 24/01/2018 13:07:00.2345 : ->fstat -Olhp d:\projects\designer-bug\Form1.Designer.cs
[Info: P4API.NET] 24/01/2018 13:07:00.3785 : ->fstat -Olhp d:\projects\designer-bug\Form1.resx
[Info: P4API.NET] 24/01/2018 13:07:00.5435 : ->fstat -Olhp d:\projects\designer-bug\Form1.cs
[Info: P4API.NET] 24/01/2018 13:07:00.6835 : ->fstat -Olhp d:\projects\designer-bug\Form1.Designer.cs
[Info: P4API.NET] 24/01/2018 13:07:00.8295 : ->fstat -Olhp d:\projects\designer-bug\Form1.resx
[Info: P4API.NET] 24/01/2018 13:07:00.9725 : ->fstat -Olhp d:\projects\designer-bug\Form1.Designer.cs
[Info: P4API.NET] 24/01/2018 13:07:01.1145 : ->fstat -Olhp d:\projects\designer-bug\Form1.resx
[Info: P4API.NET] 24/01/2018 13:07:01.8085 : ->fstat -Olhp d:\projects\designer-bug\Form1.cs
[Info: P4API.NET] 24/01/2018 13:07:02.4875 : ->fstat -Olhp d:\projects\designer-bug\Form1.Designer.cs
[Info: P4API.NET] 24/01/2018 13:07:02.6295 : ->fstat -Olhp d:\projects\designer-bug\Form1.resx
[Info: P4API.NET] 24/01/2018 13:07:02.7685 : ->fstat -Olhp d:\projects\designer-bug\Form1.Designer.cs
[Info: P4API.NET] 24/01/2018 13:07:02.9105 : ->fstat -Olhp d:\projects\designer-bug\Form1.resx
[Info: P4API.NET] 24/01/2018 13:07:03.0895 : ->fstat -Olhp d:\projects\designer-bug\Form1.cs
[Info: P4API.NET] 24/01/2018 13:07:03.2335 : ->fstat -Olhp d:\projects\designer-bug\Form1.Designer.cs
[Info: P4API.NET] 24/01/2018 13:07:03.3775 : ->fstat -Olhp d:\projects\designer-bug\Form1.resx
[Info: P4API.NET] 24/01/2018 13:07:03.5205 : ->fstat -Olhp d:\projects\designer-bug\Form1.Designer.cs
[Info: P4API.NET] 24/01/2018 13:07:03.6625 : ->fstat -Olhp d:\projects\designer-bug\Form1.resx
[Info: P4API.NET] 24/01/2018 13:07:04.7505 : ->fstat -Olhp d:\projects\designer-bug\Form1.cs
[Info: P4API.NET] 24/01/2018 13:07:05.3985 : ->fstat -Olhp d:\projects\designer-bug\Form1.Designer.cs
[Info: P4API.NET] 24/01/2018 13:07:05.5305 : ->fstat -Olhp d:\projects\designer-bug\Form1.resx
[Info: P4API.NET] 24/01/2018 13:07:05.6635 : ->fstat -Olhp d:\projects\designer-bug\Form1.Designer.cs
[Info: P4API.NET] 24/01/2018 13:07:05.7975 : ->fstat -Olhp d:\projects\designer-bug\Form1.resx
[Info: P4API.NET] 24/01/2018 13:07:05.9355 : ->fstat -Olhp d:\projects\designer-bug\Form1.cs
[Info: P4API.NET] 24/01/2018 13:07:06.0665 : ->fstat -Olhp d:\projects\designer-bug\Form1.Designer.cs
[Info: P4API.NET] 24/01/2018 13:07:06.2105 : ->fstat -Olhp d:\projects\designer-bug\Form1.resx
[Info: P4API.NET] 24/01/2018 13:07:06.3485 : ->fstat -Olhp d:\projects\designer-bug\Form1.Designer.cs
[Info: P4API.NET] 24/01/2018 13:07:06.4865 : ->fstat -Olhp d:\projects\designer-bug\Form1.resx
[Info: P4API.NET] 24/01/2018 13:07:07.0895 : ->fstat -Olhp d:\projects\designer-bug\Form1.cs
[Info: P4API.NET] 24/01/2018 13:07:07.2315 : ->fstat -Olhp d:\projects\designer-bug\Form1.Designer.cs
[Info: P4API.NET] 24/01/2018 13:07:07.3715 : ->fstat -Olhp d:\projects\designer-bug\Form1.resx
[Info: P4API.NET] 24/01/2018 13:07:07.5275 : ->fstat -Olhp d:\projects\designer-bug\Form1.Designer.cs
[Info: P4API.NET] 24/01/2018 13:07:07.6675 : ->fstat -Olhp d:\projects\designer-bug\Form1.resx
[Info: P4API.NET] 24/01/2018 13:07:07.8175 : ->fstat -Olhp d:\projects\designer-bug\Form1.cs
[Info: P4API.NET] 24/01/2018 13:07:07.9665 : ->fstat -Olhp d:\projects\designer-bug\Form1.Designer.cs
[Info: P4API.NET] 24/01/2018 13:07:08.1195 : ->fstat -Olhp d:\projects\designer-bug\Form1.resx
[Info: P4API.NET] 24/01/2018 13:07:08.2605 : ->fstat -Olhp d:\projects\designer-bug\Form1.Designer.cs
[Info: P4API.NET] 24/01/2018 13:07:08.4045 : ->fstat -Olhp d:\projects\designer-bug\Form1.resx
[Info: P4API.NET] 24/01/2018 13:07:10.1165 : ->fstat -Olhp d:\projects\designer-bug\Form1.cs
[Info: P4API.NET] 24/01/2018 13:07:10.7935 : ->fstat -Olhp d:\projects\designer-bug\Form1.Designer.cs
[Info: P4API.NET] 24/01/2018 13:07:10.9375 : ->fstat -Olhp d:\projects\designer-bug\Form1.resx
[Info: P4API.NET] 24/01/2018 13:07:11.0795 : ->fstat -Olhp d:\projects\designer-bug\Form1.Designer.cs
[Info: P4API.NET] 24/01/2018 13:07:11.2325 : ->fstat -Olhp d:\projects\designer-bug\Form1.resx
[Info: P4API.NET] 24/01/2018 13:07:11.3755 : ->fstat -Olhp d:\projects\designer-bug\Form1.Designer.cs
[Info: P4API.NET] 24/01/2018 13:07:11.5275 : ->fstat -Olhp d:\projects\designer-bug\Form1.Designer.cs
[Info: P4API.NET] 24/01/2018 13:07:11.6785 : ->fstat -Olhp d:\projects\designer-bug\Form1.resx
[Info: P4API.NET] 24/01/2018 13:07:11.8205 : ->fstat -Olhp d:\projects\designer-bug\Form1.resx

Note my internet connection is slow and also through a VPN to the perforce server.

Thanks!





Also tagged with one or more of these keywords: p4vs, vs2017, performance

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users