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

Performance Improvements #77

Merged
merged 15 commits into from
Mar 4, 2018
Merged

Performance Improvements #77

merged 15 commits into from
Mar 4, 2018

Conversation

gbaptista
Copy link
Owner

@gbaptista gbaptista commented Mar 1, 2018

Related to: CPU consumption in Firefox #78

Major changes:

  • Performance settings shortcuts.
  • Use Vanilla JS for logs UI.
  • Avoid sending too many messages per second.
  • Remove all setInterval loops and use FIFO queues to send events only when is real needed.
  • setBadgeText, setBadgeBackgroundColor and setIcon are expensive calls, using only when really needed.
  • Avoid parsing json to generate counters.
  • Improving event dispatch from interceptors.
  • New code structure for background page.

Some references:

@gbaptista gbaptista changed the base branch from gb-logs to master March 4, 2018 21:43
@gbaptista gbaptista changed the title [WIP] Performance Improvements Performance Improvements Mar 4, 2018
@gbaptista gbaptista merged commit d4f9060 into master Mar 4, 2018
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

Successfully merging this pull request may close these issues.

1 participant