Skip to content

Improved SystemMonitorEditor graph performance #14

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

Merged
merged 1 commit into from
Aug 23, 2015

Conversation

bcatcho
Copy link
Contributor

@bcatcho bcatcho commented Jul 31, 2015

Improving the performance of the SystemMonitorEditor graph by caching points and drawing simpler shapes. Previously this component was impacting the performance on my MacBook Retina Pro 2012 quite seriously in a negative way.

Note
The line points are now drawn as squares instead of discs.

Old Method:
2015-07-31_02-05-35

New method:
2015-07-31_01-54-29

The SystemMonitorEditor now attempts to make as few draws as possible by caching points and not drawing discs. This degrades the look slightly but cuts the rendering time by more than half.
@sschmid sschmid merged commit a2b9158 into sschmid:develop Aug 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants