Bug Report - Editing Usercode/Code Module Causes Lag

Bug reports.
paulsfelten
Certified Professional
Certified Professional
Posts: 4
Joined: Thu Jul 03, 2014 3:13 pm
Contact:

Bug Report - Editing Usercode/Code Module Causes Lag

Post by paulsfelten » Fri Jul 04, 2014 7:01 pm

When editing usercode or a code module using Ranorex 5.1.0, Ranorex temporarily freezes and becomes very laggy. CPU usage spikes to 25%-32% during the unresponsiveness. This occurs when entering text, deleting text, and pasting text. The previous version, 5.0.3 did not produce these results on the same physical machine with the same settings.

Ranorex Version: 5.1.0.18625
.NET Runtime Version 4.0.30319.18444
CPU: AMD quadcore 3240
RAM: 8GB
OS: Win7

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Bug Report - Editing Usercode/Code Module Causes Lag

Post by Support Team » Tue Jul 08, 2014 2:29 pm

Hello paulsfelten,

Unfortunately we did not face something similar in the past using Ranorex 5.1. May I ask if this behavior occurs when editing a specific solution or in general? If the issue is related to a specific solution and it’s possible for you, may I ask you to send it to [email protected] for further analysis? If not, we suggest doing a clean re-install of Ranorex:
  • • Completely uninstall Ranorex
    • Restart your machine
    • Install Ranorex again.
Please let us know if you were able to resolve the issue.

Regards,
Robert

MikeV
Posts: 37
Joined: Wed Apr 04, 2012 6:01 pm

Re: Bug Report - Editing Usercode/Code Module Causes Lag

Post by MikeV » Wed Jul 09, 2014 9:45 pm

I concur. I am seeing the same slowness in 5.1.0. Edit response time of 5.1.0 seems much slower than 5.0.3, by a factor of about 5 or more. The solution I work on most has over 1000 code modules...VB Class files, VB Ranorex Code Modules.

System is Windows 7, 64 bit, 16 GB memory.

krstcs
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Bug Report - Editing Usercode/Code Module Causes Lag

Post by krstcs » Thu Jul 10, 2014 3:55 pm

I am not seeing any issues with Ranorex responsiveness. I don't usually have a lot of files open though. Could that be the issue for you guys? How many files do you have open at the same time? (This shouldn't be an issue, but maybe we can narrow it down.)

My specs: Windows 7 x64, 12 GB, Ranorex 5.1.0
Shortcuts usually aren't...

MikeV
Posts: 37
Joined: Wed Apr 04, 2012 6:01 pm

Re: Bug Report - Editing Usercode/Code Module Causes Lag

Post by MikeV » Thu Jul 10, 2014 9:41 pm

Only 4 files open and it is happening. 1 .rxtst + 3 .vb files.

krstcs
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Bug Report - Editing Usercode/Code Module Causes Lag

Post by krstcs » Fri Jul 11, 2014 1:24 pm

Have you tried a clean re-install of Ranorex?

1. Uninstall Ranorex.
2. Reboot.
3. Re-install Ranorex.
Shortcuts usually aren't...

mojohlic
Posts: 31
Joined: Thu Oct 11, 2012 4:37 pm

Re: Bug Report - Editing Usercode/Code Module Causes Lag

Post by mojohlic » Thu Aug 07, 2014 9:52 pm

We have the same issue. We uninstalled and installed again and it didn't get better. And it is getting worse. Now it is freezing frequently.
It also stops working when the "break" key is pressed in an execution. It seems to get better after compilation but as soon as you change something it gets slow again. The click response also gets slow.

Please help :(

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Bug Report - Editing Usercode/Code Module Causes Lag

Post by Support Team » Fri Aug 08, 2014 8:25 am

Hi guys,

Could anyone of you experiencing this issue send their Ranorex solution to support_at_ranorex.com, please?
If we have the problematic solution in house we can probably reproduce the issue quickly and hopefully find the cause and a fix for it.

Was anyone able to fix or work around the problem since posting it?

Thank you for your answer!

Regards,
Alex
Ranorex Team

mojohlic
Posts: 31
Joined: Thu Oct 11, 2012 4:37 pm

Re: Bug Report - Editing Usercode/Code Module Causes Lag

Post by mojohlic » Fri Aug 08, 2014 2:30 pm

Hi Alex,

We cannot send the solution. It is huge. It has several projects in it and hundreds of recordings. I also got it to crash twice and I sent the information with the window that is provided by ranorex when it crashes.

I really hope you can help.

Thanks

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Bug Report - Editing Usercode/Code Module Causes Lag

Post by Support Team » Fri Aug 08, 2014 9:22 pm

mojohlic wrote:We cannot send the solution. It is huge. It has several projects in it and hundreds of recordings.
That's not a problem, we got an FTP upload server you can get access to. I saw that one of your colleagues is already in touch with support, trying to provide the solution.

We currently suspect it to be some special case that the code parser has problems with, since we do performance tests with very large projects with every version. That's why getting the solution is key in order to reproduce and hopefully fix the issue then.

Regards,
Alex
Ranorex Team

mojohlic
Posts: 31
Joined: Thu Oct 11, 2012 4:37 pm

Re: Bug Report - Editing Usercode/Code Module Causes Lag

Post by mojohlic » Fri Aug 08, 2014 9:26 pm

Cool thanks for the support. Hopefully we can find the solution soon. :D

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Bug Report - Editing Usercode/Code Module Causes Lag

Post by Support Team » Thu Aug 21, 2014 10:27 am

An update to that issue:

We were able to identify and fix the problematic performance lag. The issue was tested with the projects we got from you guys and will be shipped with the upcoming service release 5.1.2.

The service release is scheduled for next week.

Regards,
Alex
Ranorex Team

mojohlic
Posts: 31
Joined: Thu Oct 11, 2012 4:37 pm

Re: Bug Report - Editing Usercode/Code Module Causes Lag

Post by mojohlic » Thu Aug 21, 2014 8:10 pm

Thanks so much for the update. :D

paulsfelten
Certified Professional
Certified Professional
Posts: 4
Joined: Thu Jul 03, 2014 3:13 pm
Contact:

Re: Bug Report - Editing Usercode/Code Module Causes Lag

Post by paulsfelten » Tue Sep 02, 2014 5:24 pm

Thank you!

MikeV
Posts: 37
Joined: Wed Apr 04, 2012 6:01 pm

Re: Bug Report - Editing Usercode/Code Module Causes Lag

Post by MikeV » Tue Sep 02, 2014 7:24 pm

Also fixed for me. Thank you!