Comments (7)
I found that CPU usage by Firefox was about 40% whether in day or month view and this remained constant over several minutes.
When I closed Better History, FF CPU was less than 3%.
If you look at the reviews, others seem to have this problem too.
from firefox-better-history.
So the CPU usage on mine only increases drastically for about 30seconds then it goes back to normal, and this only happens on the month view. Does your CPU usage increase even on day view?
from firefox-better-history.
I too experience high CPU usage from Firefox whenever this extension is open. Firefox jumps up to around 200% CPU utilization and stays there as long as the tab is open.
info:
better history version 1.1.0
Firefox 91.0.2
macOS 11.3.1
MacBookPro17,1 (M1)
from firefox-better-history.
I get this high CPU problem too, with:
Firefox 93.0
MacOS 11.6 (2018 Intel Macbook Pro)
The peaks at the beginning and end of the graph are where the Better History page is open, and the drop in the middle back to normal levels is when BH is closed.
about:performance shows:
This is on Day view. It doesn't seem to make any difference with Week or Month views....all have the high CPU problem.
It's a great and useful add-on, so hopefully this can be fixed.
from firefox-better-history.
@Vincent-P I wonder if the capitalized filename of https://github.com/Vincent-P/firefox-better-history/blob/master/extension/Globe.svg would cause this high cpu usage.
This high cpu usage disappered when I enabled dark mode, which makes me further believe that the capitalized filename is the culprit.
from firefox-better-history.
Thank you for taking the time to profile the extension @brendonjkding !
Can you confirm that the issue is indeed related to the name of the svg by cloning the repo, renaming the svg and see if the CPU utilization is better?
If you don't have time to do that I will try later this week.
from firefox-better-history.
I tried and can confirmed it now! PR #34 should fix this.
Before renaming the CPU usage would rise to 100% and stay on it until the page was closed and after renaming the CPU usage would go back to 1% around in several seconds on Day view.
I hadn't confirm it at first because when I load the extension manually, there is no high CPU utilization at all, either the one from the repo or the one extracted from .xpi file. I guess this is because the file can be correctly loaded when unzipped, by virtue of the case-insensitive file system of macOS, but can't be loaded when zipped into a .xpi file. And I just realized I can simply zip them to see if there is any difference. And the result is significant as mentioned above.
from firefox-better-history.
Related Issues (20)
- All history, keyboard shortcut to search HOT 3
- delete history functionality
- expand to day view HOT 1
- inconsistent search/filter results
- direct date entry
- Can I trigger this with ctrl+h ? HOT 3
- Flickering Icons, when */favicon.ico does not exist (404) HOT 1
- Timezone
- Feature request: add a "switch to tab" link if the tab is already open HOT 2
- Localization HOT 2
- Any way to make this replace the default Firefox history ? HOT 1
- Application in Full Screen HOT 2
- Add license information
- browser.extension.getURL deprecated HOT 2
- No link icons to open the link. (firefox 102.0.1)
- History for past weeks are now empty
- [Feature] Search/List all of History
- Search crashes the entire page HOT 3
- History gets messed up when paging too quickly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firefox-better-history.