Performance Testing Resharper

I've made a few posts before about certain projects that Resharper seems to
hang for seconds when doing normal coding in the IDE. One project I
notice that does this has about 8000 lines of code and quite a few UI
controls. Have you done any performance testing on this type of code. Not
everyone is as sharp in coding as you guys are! ;)

While I'm working on this project, I may have to un-install or figure out
some way of disabling resharper.

Thanks,
Derek


13 comments
Comment actions Permalink

Derek,

there is currently a problem which we are working on that causes delays on
large
files during typing. Of course, we're going to fix it ASAP. Could you tell
us how long
the file where you experience these hang-ups?

"Derek" <dprice@doble.com> wrote in message
news:c2a9ak$dut$1@is.intellij.net...

I've made a few posts before about certain projects that Resharper seems

to

hang for seconds when doing normal coding in the IDE. One project I
notice that does this has about 8000 lines of code and quite a few UI
controls. Have you done any performance testing on this type of code.

Not

everyone is as sharp in coding as you guys are! ;)

>

While I'm working on this project, I may have to un-install or figure out
some way of disabling resharper.

>

Thanks,
Derek

>
>


0
Comment actions Permalink

Wow - fast response - You guys rock!

The file that I'm struggling with now is 8097 lines. I have quite a few
regions to help minimize the actual size of the file. I don't know if that
makes any difference. Is there anything on my end that I can do to help
out? Unfortunately, I can't provide the source code...

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c2a9gs$euk$1@is.intellij.net...

Derek,

>

there is currently a problem which we are working on that causes delays on
large
files during typing. Of course, we're going to fix it ASAP. Could you tell
us how long
the file where you experience these hang-ups?

>

"Derek" <dprice@doble.com> wrote in message
news:c2a9ak$dut$1@is.intellij.net...

I've made a few posts before about certain projects that Resharper seems

to

hang for seconds when doing normal coding in the IDE. One project I
notice that does this has about 8000 lines of code and quite a few UI
controls. Have you done any performance testing on this type of code.

Not

everyone is as sharp in coding as you guys are! ;)

>

While I'm working on this project, I may have to un-install or figure

out

some way of disabling resharper.

>

Thanks,
Derek

>
>

>
>


0
Comment actions Permalink

How soon do you anticipate a fix? I'm addicted to Resharper and can't stand
not using it!

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c2a9gs$euk$1@is.intellij.net...

Derek,

>

there is currently a problem which we are working on that causes delays on
large
files during typing. Of course, we're going to fix it ASAP. Could you tell
us how long
the file where you experience these hang-ups?

>

"Derek" <dprice@doble.com> wrote in message
news:c2a9ak$dut$1@is.intellij.net...

I've made a few posts before about certain projects that Resharper seems

to

hang for seconds when doing normal coding in the IDE. One project I
notice that does this has about 8000 lines of code and quite a few UI
controls. Have you done any performance testing on this type of code.

Not

everyone is as sharp in coding as you guys are! ;)

>

While I'm working on this project, I may have to un-install or figure

out

some way of disabling resharper.

>

Thanks,
Derek

>
>

>
>


0
Comment actions Permalink

You mentioned that a project has 8000 lines of code, not a file... ;)
Seriously, I don't think that regions make any difference, because they
don't reduce the size of the file in bytes. The problem is that it's hard to
reproduce these delays reliably. May be you can tell in what places of the
code
you observe these delays? Are they reproducible always / anywhere in that
file?

There is also one thing that can affect typing performance. You can try to
temporarily
disable highlighting (Tools->Options->ReSharper->General) and look how this
affects
delays. Please tell us about results.

"Derek" <dprice@doble.com> wrote in message
news:c2a9nh$gkh$1@is.intellij.net...

Wow - fast response - You guys rock!

>

The file that I'm struggling with now is 8097 lines. I have quite a few
regions to help minimize the actual size of the file. I don't know if

that

makes any difference. Is there anything on my end that I can do to help
out? Unfortunately, I can't provide the source code...

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c2a9gs$euk$1@is.intellij.net...

Derek,

>

there is currently a problem which we are working on that causes delays

on

large
files during typing. Of course, we're going to fix it ASAP. Could you

tell

us how long
the file where you experience these hang-ups?

>

"Derek" <dprice@doble.com> wrote in message
news:c2a9ak$dut$1@is.intellij.net...

I've made a few posts before about certain projects that Resharper

seems

to

hang for seconds when doing normal coding in the IDE. One project I
notice that does this has about 8000 lines of code and quite a few UI
controls. Have you done any performance testing on this type of code.

Not

everyone is as sharp in coding as you guys are! ;)

>

While I'm working on this project, I may have to un-install or figure

out

some way of disabling resharper.

>

Thanks,
Derek

>
>

>
>

>
>


0
Comment actions Permalink

On line 475, in a private method in a region with 11 other private methods,
I started typing "foreach", but made a spelling mistake. I used the
Backspace key to delete the misspelling and it took the IDE approximately
25 seconds to respond.

Disabling Syntax Highlighting took 29 seconds for the IDE to respond to
the OK click in the Tools dialog.

Redoing the same test above yields about 1 second to backspace and correct
the foreach spelling mistake after disabling Syntax Highlighting. Big
improvement.

I heading to lunch, but feel free to list any other tests you want me to
try.
Derek

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c2aaem$lhi$1@is.intellij.net...

You mentioned that a project has 8000 lines of code, not a file... ;)
Seriously, I don't think that regions make any difference, because they
don't reduce the size of the file in bytes. The problem is that it's hard

to

reproduce these delays reliably. May be you can tell in what places of the
code
you observe these delays? Are they reproducible always / anywhere in that
file?

>

There is also one thing that can affect typing performance. You can try to
temporarily
disable highlighting (Tools->Options->ReSharper->General) and look how

this

affects
delays. Please tell us about results.

>

"Derek" <dprice@doble.com> wrote in message
news:c2a9nh$gkh$1@is.intellij.net...

Wow - fast response - You guys rock!

>

The file that I'm struggling with now is 8097 lines. I have quite a few
regions to help minimize the actual size of the file. I don't know if

that

makes any difference. Is there anything on my end that I can do to help
out? Unfortunately, I can't provide the source code...

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c2a9gs$euk$1@is.intellij.net...

Derek,

>

there is currently a problem which we are working on that causes

delays

on

large
files during typing. Of course, we're going to fix it ASAP. Could you

tell

us how long
the file where you experience these hang-ups?

>

"Derek" <dprice@doble.com> wrote in message
news:c2a9ak$dut$1@is.intellij.net...

I've made a few posts before about certain projects that Resharper

seems

to

hang for seconds when doing normal coding in the IDE. One project

I

notice that does this has about 8000 lines of code and quite a few

UI

controls. Have you done any performance testing on this type of

code.

Not

everyone is as sharp in coding as you guys are! ;)

>

While I'm working on this project, I may have to un-install or

figure

out

some way of disabling resharper.

>

Thanks,
Derek

>
>

>
>

>
>

>
>


0
Comment actions Permalink

Derek, there is a secret shortcut to enable / disable highlighting faster -
use Ctrl+8.

"Derek" <dprice@doble.com> wrote in message
news:c2abka$tf4$1@is.intellij.net...

On line 475, in a private method in a region with 11 other private

methods,

I started typing "foreach", but made a spelling mistake. I used the
Backspace key to delete the misspelling and it took the IDE approximately
25 seconds to respond.

>

Disabling Syntax Highlighting took 29 seconds for the IDE to respond to
the OK click in the Tools dialog.

>

Redoing the same test above yields about 1 second to backspace and

correct

the foreach spelling mistake after disabling Syntax Highlighting. Big
improvement.

>

I heading to lunch, but feel free to list any other tests you want me to
try.
Derek

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c2aaem$lhi$1@is.intellij.net...

You mentioned that a project has 8000 lines of code, not a file... ;)
Seriously, I don't think that regions make any difference, because they
don't reduce the size of the file in bytes. The problem is that it's

hard

to

reproduce these delays reliably. May be you can tell in what places of

the

code
you observe these delays? Are they reproducible always / anywhere in

that

file?

>

There is also one thing that can affect typing performance. You can try

to

temporarily
disable highlighting (Tools->Options->ReSharper->General) and look how

this

affects
delays. Please tell us about results.

>

"Derek" <dprice@doble.com> wrote in message
news:c2a9nh$gkh$1@is.intellij.net...

Wow - fast response - You guys rock!

>

The file that I'm struggling with now is 8097 lines. I have quite a

few

regions to help minimize the actual size of the file. I don't know if

that

makes any difference. Is there anything on my end that I can do to

help

out? Unfortunately, I can't provide the source code...

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c2a9gs$euk$1@is.intellij.net...

Derek,

>

there is currently a problem which we are working on that causes

delays

on

large
files during typing. Of course, we're going to fix it ASAP. Could

you

tell

us how long
the file where you experience these hang-ups?

>

"Derek" <dprice@doble.com> wrote in message
news:c2a9ak$dut$1@is.intellij.net...

I've made a few posts before about certain projects that Resharper

seems

to

hang for seconds when doing normal coding in the IDE. One

project

I

notice that does this has about 8000 lines of code and quite a few

UI

controls. Have you done any performance testing on this type of

code.

Not

everyone is as sharp in coding as you guys are! ;)

>

While I'm working on this project, I may have to un-install or

figure

out

some way of disabling resharper.

>

Thanks,
Derek

>
>

>
>

>
>

>
>

>
>


0
Comment actions Permalink

How long is the longest method in your file?

--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

"Derek" <dprice@doble.com> wrote in message
news:c2abka$tf4$1@is.intellij.net...

On line 475, in a private method in a region with 11 other private

methods,

I started typing "foreach", but made a spelling mistake. I used the
Backspace key to delete the misspelling and it took the IDE approximately
25 seconds to respond.

>

Disabling Syntax Highlighting took 29 seconds for the IDE to respond to
the OK click in the Tools dialog.

>

Redoing the same test above yields about 1 second to backspace and

correct

the foreach spelling mistake after disabling Syntax Highlighting. Big
improvement.

>

I heading to lunch, but feel free to list any other tests you want me to
try.
Derek

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c2aaem$lhi$1@is.intellij.net...

You mentioned that a project has 8000 lines of code, not a file... ;)
Seriously, I don't think that regions make any difference, because they
don't reduce the size of the file in bytes. The problem is that it's

hard

to

reproduce these delays reliably. May be you can tell in what places of

the

code
you observe these delays? Are they reproducible always / anywhere in

that

file?

>

There is also one thing that can affect typing performance. You can try

to

temporarily
disable highlighting (Tools->Options->ReSharper->General) and look how

this

affects
delays. Please tell us about results.

>

"Derek" <dprice@doble.com> wrote in message
news:c2a9nh$gkh$1@is.intellij.net...

Wow - fast response - You guys rock!

>

The file that I'm struggling with now is 8097 lines. I have quite a

few

regions to help minimize the actual size of the file. I don't know if

that

makes any difference. Is there anything on my end that I can do to

help

out? Unfortunately, I can't provide the source code...

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c2a9gs$euk$1@is.intellij.net...

Derek,

>

there is currently a problem which we are working on that causes

delays

on

large
files during typing. Of course, we're going to fix it ASAP. Could

you

tell

us how long
the file where you experience these hang-ups?

>

"Derek" <dprice@doble.com> wrote in message
news:c2a9ak$dut$1@is.intellij.net...

I've made a few posts before about certain projects that Resharper

seems

to

hang for seconds when doing normal coding in the IDE. One

project

I

notice that does this has about 8000 lines of code and quite a few

UI

controls. Have you done any performance testing on this type of

code.

Not

everyone is as sharp in coding as you guys are! ;)

>

While I'm working on this project, I may have to un-install or

figure

out

some way of disabling resharper.

>

Thanks,
Derek

>
>

>
>

>
>

>
>

>
>


0
Comment actions Permalink

Is there an easy way of determining this? We have quite a few method
(unfortunately) in this class...

"Valentin Kipiatkov (JetBrains)" <valentin@intellij.com> wrote in message
news:c2acr4$65k$1@is.intellij.net...

How long is the longest method in your file?

>

--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>

"Derek" <dprice@doble.com> wrote in message
news:c2abka$tf4$1@is.intellij.net...

On line 475, in a private method in a region with 11 other private

methods,

I started typing "foreach", but made a spelling mistake. I used the
Backspace key to delete the misspelling and it took the IDE

approximately

25 seconds to respond.

>

Disabling Syntax Highlighting took 29 seconds for the IDE to respond

to

the OK click in the Tools dialog.

>

Redoing the same test above yields about 1 second to backspace and

correct

the foreach spelling mistake after disabling Syntax Highlighting. Big
improvement.

>

I heading to lunch, but feel free to list any other tests you want me to
try.
Derek

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c2aaem$lhi$1@is.intellij.net...

You mentioned that a project has 8000 lines of code, not a file... ;)
Seriously, I don't think that regions make any difference, because

they

don't reduce the size of the file in bytes. The problem is that it's

hard

to

reproduce these delays reliably. May be you can tell in what places of

the

code
you observe these delays? Are they reproducible always / anywhere in

that

file?

>

There is also one thing that can affect typing performance. You can

try

to

temporarily
disable highlighting (Tools->Options->ReSharper->General) and look how

this

affects
delays. Please tell us about results.

>

"Derek" <dprice@doble.com> wrote in message
news:c2a9nh$gkh$1@is.intellij.net...

Wow - fast response - You guys rock!

>

The file that I'm struggling with now is 8097 lines. I have quite a

few

regions to help minimize the actual size of the file. I don't know

if

that

makes any difference. Is there anything on my end that I can do to

help

out? Unfortunately, I can't provide the source code...

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in

message

news:c2a9gs$euk$1@is.intellij.net...

Derek,

>

there is currently a problem which we are working on that causes

delays

on

large
files during typing. Of course, we're going to fix it ASAP. Could

you

tell

us how long
the file where you experience these hang-ups?

>

"Derek" <dprice@doble.com> wrote in message
news:c2a9ak$dut$1@is.intellij.net...

I've made a few posts before about certain projects that

Resharper

seems

to

hang for seconds when doing normal coding in the IDE. One

project

I

notice that does this has about 8000 lines of code and quite a

few

UI

controls. Have you done any performance testing on this type of

code.

Not

everyone is as sharp in coding as you guys are! ;)

>

While I'm working on this project, I may have to un-install or

figure

out

some way of disabling resharper.

>

Thanks,
Derek

>
>

>
>

>
>

>
>

>
>

>
>


0
Comment actions Permalink

Is there an easy way of determining this? We have quite a few method
(unfortunately) in this class...


I don't know such way. But can you estimate this at least approximately?

--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


"Derek" <dprice@doble.com> wrote in message
news:c2ag54$rb5$1@is.intellij.net...

Is there an easy way of determining this? We have quite a few method
(unfortunately) in this class...

>

"Valentin Kipiatkov (JetBrains)" <valentin@intellij.com> wrote in message
news:c2acr4$65k$1@is.intellij.net...

How long is the longest method in your file?

>

--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>

"Derek" <dprice@doble.com> wrote in message
news:c2abka$tf4$1@is.intellij.net...

On line 475, in a private method in a region with 11 other private

methods,

I started typing "foreach", but made a spelling mistake. I used the
Backspace key to delete the misspelling and it took the IDE

approximately

25 seconds to respond.

>

Disabling Syntax Highlighting took 29 seconds for the IDE to respond

to

the OK click in the Tools dialog.

>

Redoing the same test above yields about 1 second to backspace and

correct

the foreach spelling mistake after disabling Syntax Highlighting. Big
improvement.

>

I heading to lunch, but feel free to list any other tests you want me

to

try.
Derek

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c2aaem$lhi$1@is.intellij.net...

You mentioned that a project has 8000 lines of code, not a file...Seriously, I don't think that regions make any difference, because

they

don't reduce the size of the file in bytes. The problem is that it's

hard

to

reproduce these delays reliably. May be you can tell in what places

of

the

code
you observe these delays? Are they reproducible always / anywhere in

that

file?

>

There is also one thing that can affect typing performance. You can

try

to

temporarily
disable highlighting (Tools->Options->ReSharper->General) and look

how

this

affects
delays. Please tell us about results.

>

"Derek" <dprice@doble.com> wrote in message
news:c2a9nh$gkh$1@is.intellij.net...

Wow - fast response - You guys rock!

>

The file that I'm struggling with now is 8097 lines. I have quite

a

few

regions to help minimize the actual size of the file. I don't

know

if

that

makes any difference. Is there anything on my end that I can do

to

help

out? Unfortunately, I can't provide the source code...

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in

message

news:c2a9gs$euk$1@is.intellij.net...

Derek,

>

there is currently a problem which we are working on that causes

delays

on

large
files during typing. Of course, we're going to fix it ASAP.

Could

you

tell

us how long
the file where you experience these hang-ups?

>

"Derek" <dprice@doble.com> wrote in message
news:c2a9ak$dut$1@is.intellij.net...

I've made a few posts before about certain projects that

Resharper

seems

to

hang for seconds when doing normal coding in the IDE. One

project

I

notice that does this has about 8000 lines of code and quite a

few

UI

controls. Have you done any performance testing on this type

of

code.

Not

everyone is as sharp in coding as you guys are! ;)

>

While I'm working on this project, I may have to un-install or

figure

out

some way of disabling resharper.

>

Thanks,
Derek

>
>

>
>

>
>

>
>

>
>

>
>

>
>


0
Comment actions Permalink

Derek,

You can approximately find the maximum method in your file and then
measure its length by placing caret first at the first and then at the last
line of the method. VS.NET shows current caret line so the method length can
be easily evaluated.

--
Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Derek" <dprice@doble.com> wrote in message
news:c2ag54$rb5$1@is.intellij.net...

Is there an easy way of determining this? We have quite a few method
(unfortunately) in this class...

>

"Valentin Kipiatkov (JetBrains)" <valentin@intellij.com> wrote in message
news:c2acr4$65k$1@is.intellij.net...

How long is the longest method in your file?

>

--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>

"Derek" <dprice@doble.com> wrote in message
news:c2abka$tf4$1@is.intellij.net...

On line 475, in a private method in a region with 11 other private

methods,

I started typing "foreach", but made a spelling mistake. I used the
Backspace key to delete the misspelling and it took the IDE

approximately

25 seconds to respond.

>

Disabling Syntax Highlighting took 29 seconds for the IDE to respond

to

the OK click in the Tools dialog.

>

Redoing the same test above yields about 1 second to backspace and

correct

the foreach spelling mistake after disabling Syntax Highlighting. Big
improvement.

>

I heading to lunch, but feel free to list any other tests you want me

to

try.
Derek

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c2aaem$lhi$1@is.intellij.net...

You mentioned that a project has 8000 lines of code, not a file...Seriously, I don't think that regions make any difference, because

they

don't reduce the size of the file in bytes. The problem is that it's

hard

to

reproduce these delays reliably. May be you can tell in what places

of

the

code
you observe these delays? Are they reproducible always / anywhere in

that

file?

>

There is also one thing that can affect typing performance. You can

try

to

temporarily
disable highlighting (Tools->Options->ReSharper->General) and look

how

this

affects
delays. Please tell us about results.

>

"Derek" <dprice@doble.com> wrote in message
news:c2a9nh$gkh$1@is.intellij.net...

Wow - fast response - You guys rock!

>

The file that I'm struggling with now is 8097 lines. I have quite

a

few

regions to help minimize the actual size of the file. I don't

know

if

that

makes any difference. Is there anything on my end that I can do

to

help

out? Unfortunately, I can't provide the source code...

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in

message

news:c2a9gs$euk$1@is.intellij.net...

Derek,

>

there is currently a problem which we are working on that causes

delays

on

large
files during typing. Of course, we're going to fix it ASAP.

Could

you

tell

us how long
the file where you experience these hang-ups?

>

"Derek" <dprice@doble.com> wrote in message
news:c2a9ak$dut$1@is.intellij.net...

I've made a few posts before about certain projects that

Resharper

seems

to

hang for seconds when doing normal coding in the IDE. One

project

I

notice that does this has about 8000 lines of code and quite a

few

UI

controls. Have you done any performance testing on this type

of

code.

Not

everyone is as sharp in coding as you guys are! ;)

>

While I'm working on this project, I may have to un-install or

figure

out

some way of disabling resharper.

>

Thanks,
Derek

>
>

>
>

>
>

>
>

>
>

>
>

>
>


0
Comment actions Permalink

It's actually the Windows generated method InitialComponent() at a whopping
4200 lines...

"Valentin Kipiatkov (JetBrains)" <valentin@intellij.com> wrote in message
news:c2acr4$65k$1@is.intellij.net...

How long is the longest method in your file?

>

--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>

"Derek" <dprice@doble.com> wrote in message
news:c2abka$tf4$1@is.intellij.net...

On line 475, in a private method in a region with 11 other private

methods,

I started typing "foreach", but made a spelling mistake. I used the
Backspace key to delete the misspelling and it took the IDE

approximately

25 seconds to respond.

>

Disabling Syntax Highlighting took 29 seconds for the IDE to respond

to

the OK click in the Tools dialog.

>

Redoing the same test above yields about 1 second to backspace and

correct

the foreach spelling mistake after disabling Syntax Highlighting. Big
improvement.

>

I heading to lunch, but feel free to list any other tests you want me to
try.
Derek

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c2aaem$lhi$1@is.intellij.net...

You mentioned that a project has 8000 lines of code, not a file... ;)
Seriously, I don't think that regions make any difference, because

they

don't reduce the size of the file in bytes. The problem is that it's

hard

to

reproduce these delays reliably. May be you can tell in what places of

the

code
you observe these delays? Are they reproducible always / anywhere in

that

file?

>

There is also one thing that can affect typing performance. You can

try

to

temporarily
disable highlighting (Tools->Options->ReSharper->General) and look how

this

affects
delays. Please tell us about results.

>

"Derek" <dprice@doble.com> wrote in message
news:c2a9nh$gkh$1@is.intellij.net...

Wow - fast response - You guys rock!

>

The file that I'm struggling with now is 8097 lines. I have quite a

few

regions to help minimize the actual size of the file. I don't know

if

that

makes any difference. Is there anything on my end that I can do to

help

out? Unfortunately, I can't provide the source code...

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in

message

news:c2a9gs$euk$1@is.intellij.net...

Derek,

>

there is currently a problem which we are working on that causes

delays

on

large
files during typing. Of course, we're going to fix it ASAP. Could

you

tell

us how long
the file where you experience these hang-ups?

>

"Derek" <dprice@doble.com> wrote in message
news:c2a9ak$dut$1@is.intellij.net...

I've made a few posts before about certain projects that

Resharper

seems

to

hang for seconds when doing normal coding in the IDE. One

project

I

notice that does this has about 8000 lines of code and quite a

few

UI

controls. Have you done any performance testing on this type of

code.

Not

everyone is as sharp in coding as you guys are! ;)

>

While I'm working on this project, I may have to un-install or

figure

out

some way of disabling resharper.

>

Thanks,
Derek

>
>

>
>

>
>

>
>

>
>

>
>


0
Comment actions Permalink

It may be caused by such a long method (but may be caused by other reasons
so we need to check this). I submitted the problem with very long method
into the tracker:
http://www.intellij.net/tracker/resharper/viewSCR?publicId=1095 You may
subscribe to watch this request and check if our fix will help in your case.
We plan to fix it soon.

--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

"Derek" <dprice@doble.com> wrote in message
news:c2agll$ue3$1@is.intellij.net...

It's actually the Windows generated method InitialComponent() at a

whopping

4200 lines...

>

"Valentin Kipiatkov (JetBrains)" <valentin@intellij.com> wrote in message
news:c2acr4$65k$1@is.intellij.net...

How long is the longest method in your file?

>

--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>

"Derek" <dprice@doble.com> wrote in message
news:c2abka$tf4$1@is.intellij.net...

On line 475, in a private method in a region with 11 other private

methods,

I started typing "foreach", but made a spelling mistake. I used the
Backspace key to delete the misspelling and it took the IDE

approximately

25 seconds to respond.

>

Disabling Syntax Highlighting took 29 seconds for the IDE to respond

to

the OK click in the Tools dialog.

>

Redoing the same test above yields about 1 second to backspace and

correct

the foreach spelling mistake after disabling Syntax Highlighting. Big
improvement.

>

I heading to lunch, but feel free to list any other tests you want me

to

try.
Derek

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c2aaem$lhi$1@is.intellij.net...

You mentioned that a project has 8000 lines of code, not a file...Seriously, I don't think that regions make any difference, because

they

don't reduce the size of the file in bytes. The problem is that it's

hard

to

reproduce these delays reliably. May be you can tell in what places

of

the

code
you observe these delays? Are they reproducible always / anywhere in

that

file?

>

There is also one thing that can affect typing performance. You can

try

to

temporarily
disable highlighting (Tools->Options->ReSharper->General) and look

how

this

affects
delays. Please tell us about results.

>

"Derek" <dprice@doble.com> wrote in message
news:c2a9nh$gkh$1@is.intellij.net...

Wow - fast response - You guys rock!

>

The file that I'm struggling with now is 8097 lines. I have quite

a

few

regions to help minimize the actual size of the file. I don't

know

if

that

makes any difference. Is there anything on my end that I can do

to

help

out? Unfortunately, I can't provide the source code...

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in

message

news:c2a9gs$euk$1@is.intellij.net...

Derek,

>

there is currently a problem which we are working on that causes

delays

on

large
files during typing. Of course, we're going to fix it ASAP.

Could

you

tell

us how long
the file where you experience these hang-ups?

>

"Derek" <dprice@doble.com> wrote in message
news:c2a9ak$dut$1@is.intellij.net...

I've made a few posts before about certain projects that

Resharper

seems

to

hang for seconds when doing normal coding in the IDE. One

project

I

notice that does this has about 8000 lines of code and quite a

few

UI

controls. Have you done any performance testing on this type

of

code.

Not

everyone is as sharp in coding as you guys are! ;)

>

While I'm working on this project, I may have to un-install or

figure

out

some way of disabling resharper.

>

Thanks,
Derek

>
>

>
>

>
>

>
>

>
>

>
>

>
>


0
Comment actions Permalink

Thanks for all the help (and attention) - I've subscribed to it.
Outstanding support!
Derek

"Valentin Kipiatkov (JetBrains)" <valentin@intellij.com> wrote in message
news:c2ah2b$u3$1@is.intellij.net...

It may be caused by such a long method (but may be caused by other reasons
so we need to check this). I submitted the problem with very long method
into the tracker:
http://www.intellij.net/tracker/resharper/viewSCR?publicId=1095 You may
subscribe to watch this request and check if our fix will help in your

case.

We plan to fix it soon.

>

--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>

"Derek" <dprice@doble.com> wrote in message
news:c2agll$ue3$1@is.intellij.net...

It's actually the Windows generated method InitialComponent() at a

whopping

4200 lines...

>

"Valentin Kipiatkov (JetBrains)" <valentin@intellij.com> wrote in

message

news:c2acr4$65k$1@is.intellij.net...

How long is the longest method in your file?

>

--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>

"Derek" <dprice@doble.com> wrote in message
news:c2abka$tf4$1@is.intellij.net...

On line 475, in a private method in a region with 11 other private

methods,

I started typing "foreach", but made a spelling mistake. I used the
Backspace key to delete the misspelling and it took the IDE

approximately

25 seconds to respond.

>

Disabling Syntax Highlighting took 29 seconds for the IDE to

respond

to

the OK click in the Tools dialog.

>

Redoing the same test above yields about 1 second to backspace and

correct

the foreach spelling mistake after disabling Syntax Highlighting.

Big

improvement.

>

I heading to lunch, but feel free to list any other tests you want

me

to

try.
Derek

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in

message

news:c2aaem$lhi$1@is.intellij.net...

You mentioned that a project has 8000 lines of code, not a file...

;)

Seriously, I don't think that regions make any difference, because

they

don't reduce the size of the file in bytes. The problem is that

it's

hard

to

reproduce these delays reliably. May be you can tell in what

places

of

the

code
you observe these delays? Are they reproducible always / anywhere

in

that

file?

>

There is also one thing that can affect typing performance. You

can

try

to

temporarily
disable highlighting (Tools->Options->ReSharper->General) and look

how

this

affects
delays. Please tell us about results.

>

"Derek" <dprice@doble.com> wrote in message
news:c2a9nh$gkh$1@is.intellij.net...

Wow - fast response - You guys rock!

>

The file that I'm struggling with now is 8097 lines. I have

quite

a

few

regions to help minimize the actual size of the file. I don't

know

if

that

makes any difference. Is there anything on my end that I can do

to

help

out? Unfortunately, I can't provide the source code...

>

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in

message

news:c2a9gs$euk$1@is.intellij.net...

Derek,

>

there is currently a problem which we are working on that

causes

delays

on

large
files during typing. Of course, we're going to fix it ASAP.

Could

you

tell

us how long
the file where you experience these hang-ups?

>

"Derek" <dprice@doble.com> wrote in message
news:c2a9ak$dut$1@is.intellij.net...

I've made a few posts before about certain projects that

Resharper

seems

to

hang for seconds when doing normal coding in the IDE. One

project

I

notice that does this has about 8000 lines of code and quite

a

few

UI

controls. Have you done any performance testing on this

type

of

code.

Not

everyone is as sharp in coding as you guys are! ;)

>

While I'm working on this project, I may have to un-install

or

figure

out

some way of disabling resharper.

>

Thanks,
Derek

>
>

>
>

>
>

>
>

>
>

>
>

>
>

>
>


0

Please sign in to leave a comment.