Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program running a bit slow #39

Closed
GoogleCodeExporter opened this issue Mar 13, 2015 · 8 comments
Closed

Program running a bit slow #39

GoogleCodeExporter opened this issue Mar 13, 2015 · 8 comments
Assignees

Comments

@GoogleCodeExporter
Copy link

I'm noticing that the program is taking a long time to add points and other 
changes to the character in both priority and sum to ten.


Try adding attribute points. There are a few stops and starts.

v5.157
Win8

Original issue reported on code.google.com by rashidi...@gmail.com on 7 Mar 2015 at 6:54

@GoogleCodeExporter
Copy link
Author

To describe better the program halts when you enter a new attribute, skill, and 
gear value or anything similar. It comes back in about 5 or six seconds. Same 
for saving.

Original comment by rashidi...@gmail.com on 7 Mar 2015 at 11:38

@GoogleCodeExporter
Copy link
Author

Hrm. Can't really replicate it. There's a chunk of lag while it loads that 
could probably be prettified with a loading bar and some judicious use of the 
visible tag, but I've never noticed it actually being slow while running.

Original comment by chummer5isalive on 11 Mar 2015 at 6:44

@chummer5a
Copy link
Owner

Issue determined to be firewall-related issue on client PC.

@BodieSullivan
Copy link
Contributor

I also am encountering this slowness. I can run an older version of chummer5 and the most recent version of Chummer5a side by side and there is a significant delay in the Chummer5a version. It makes entering in stat and skill levels excruciating. I have localized the slowdown to the UpdateCharacterInfo() method in the frmCreate.cs. It is called in every instance of updating skills and stats. I have not yet had a chance to narrow down the performance sink any further, but I am confident it isn't caused because of firewall related issues. How was the issue determined to be a firewall-related issue on the client PC?

I am using Windows 8.1 with the firewall turned off.
I have a 3.5Ghz Intel i5 CPU with 16GB ram and a solid state drive.
There shouldn't be this level of lag due to a slow system.

I have also encountered the lag on a windows 7 laptop.

@chummer5a
Copy link
Owner

According to testing from another user, the fault was caused by Windows Defender firing whenever a change occured in Chummer. Creating an exception in that application resolved the error. So not firewall, per se. Wasn't paying much attention. So far I've been unable to replicate the issue using a variety of laptops and tablets.

UpdateCharacterInfo() is a bit of a beast of a method, but breaking it apart would be time-consuming and add to re-work when altering and adding new methods. I'd be inclined to guess that there's a specific combination of character details that triggers the slowdown.

@chummer5a chummer5a reopened this Mar 21, 2015
@chummer5a chummer5a self-assigned this Mar 24, 2015
@BodieSullivan
Copy link
Contributor

Hey thanks for the extra info! It was Windows Defender causing the slowdown. Creating an exception in defender for the entire Chummer5a folder fixed the issue.

@chummer5a
Copy link
Owner

Cheers, glad to hear it's working okay for you now!

On 4 April 2015 at 14:38, BodieSullivan notifications@github.com wrote:

Hey thanks for the extra info! It was Windows Defender causing the
slowdown. Creating an exception in defender for the entire Chummer5a folder
fixed the issue.


Reply to this email directly or view it on GitHub
#39 (comment).

@ctuncan
Copy link

ctuncan commented Apr 4, 2015

I feel this should be added to the main page. "If experiencing slowdowns,
add an exception to windows defender" kinda sounds shifty, oh we're not a
virus - just don't scan us! But in a FAQ could prevent this issue coming up
again?
On 4 Apr 2015 09:36, "Chummer 5 Is Alive" notifications@github.com wrote:

Cheers, glad to hear it's working okay for you now!

On 4 April 2015 at 14:38, BodieSullivan notifications@github.com wrote:

Hey thanks for the extra info! It was Windows Defender causing the
slowdown. Creating an exception in defender for the entire Chummer5a
folder
fixed the issue.


Reply to this email directly or view it on GitHub
<#39 (comment)
.


Reply to this email directly or view it on GitHub
#39 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants