5 ms·
Looking at https://areweslimyet.com https://areweslimyet.com it looks like memory consumption has been on a slight upward trend. Are these tests conducted with
by joaomsa 10y ago
Looking at https://areweslimyet.com https://areweslimyet.com it looks like memory consumption has been on a slight upward trend. Are these tests conducted with e10s or should we expect a massive increase?
As one of those pathological users that often keeps 50+ tabs open (somewhat manageable with the tabgroups addon), I'd hate to see one of the principal Firefox advantages go away.
- nprescott 10y agoFrom the Are We Slim Yet FAQ: > For each change to Mozilla's inbound repository, our build infrastructure > generates a build which we test and include in the graphs here. Sounds to me like they are testing with e10s (since it is enabled in the newest releases)
- mccr8 10y agoCurrently e10s is only using two processes, so there should not be a massive increase in memory. Particularly, if you have many tabs open, the pages are still all just stored in a single process, so there should not be much overhead. Part of the work towards having multiple content processes will be ensuring the memory overhead is not too high.
- semi-extrinsic 10y ago> Currently e10s is only using two processes There is something that I've wondered about for a while on this Electrolysis fanciness: currently Firefox is said to be single-process. So why do I see tens of "firefox" threads in htop?
- Etzos 10y agoYou actually said it yourself without realizing it: because it's single process but multi-threaded.
- semi-extrinsic 10y agoAh, of course. So this means any performance increase will be coming from rewriting old code in a more efficient way, which could be done independently of e10s, right? I mean, since the new multiple processes will not share address space, there will have to be explicit communication between processes with corresponding overhead and blocking? So a priori one would expect the new code to be slightly slower? And use more memory, since some data needs to be duplicated between processes? What also comes to mind is that introducing e10s is like taking an OpenMP-parallel code and turning it into an MPI+OpenMP-parallel code.
- mccr8 10y ago"Performance" in the context of e10s means improving user responsiveness rather than throughput. For instance, you can usually smoothly scroll a page or interact with the browser UI even if the page is some kind of heavyweight mess.
- semi-extrinsic 10y agoWhy couldn't that be achieved with threads? You can have asynchronous threading, I believe. (I get the arguments in favor of e10s, like sandboxing, and I have no beef with e10s, I'm just curious.)
- ComodoHacker 10y agoWhat first comes to mind are various common memory structures and synchronization on them.
- garaetjjte 10y agoYes. Only adventage of e10s is that compromised tab cannot read other tabs memory. IMO instead of pushing e10s they should fix UI hiccups during loading really big pages and infinite loops in JS (currently it blocks whole browser while it waits to ask user about stopping unresponsive script)
- GrayShade 10y agoDoes your htop display threads?
- weaksauce 10y agoI made a simple extension for Firefox and chrome that might be of some use to you. Like you I had trouble with many tabs being open and having a hard time finding them so I made a new extension that opens up a new tab window listing all your tabs that are currently open and when you click on them it navigates to that tab. Simple but very useful in my day to day activities. If you are anything like me you have a number of windows open for some project or research thing and you had one extra tab that you left open as the last active tab in the window but it's unrelated to the other 10 tabs in that window. The windows menu doesn't help you because that is the tab that is listed as the title of that window. It's free and opensource[1] for Chrome[2] and Firefox[3]. 1. https://github.com/fiveNinePlusR/tabist https://github.com/fiveNinePlusR/tabist 2. https://chrome.google.com/webstore/detail/tabist/hdjegjggiogfkaldbfphfdkpggjemaha https://chrome.google.com/webstore/detail/tabist/hdjegjggiog... 3. https://addons.mozilla.org/en-US/firefox/addon/tabist/ https://addons.mozilla.org/en-US/firefox/addon/tabist/ If you try it and like it/hate it let me know what you might want put into future versions to keep it good/change your opinion of it to the better. It's still early in its development but what's implemented works well so far. Cheers! Edit: There is a bug in Firefox that I have a patch submitted that will allow the tab titles to show up correctly even when they have been unloaded. for now it shows the URL of the tab until it has been loaded. The patch should land by Firefox 51 hopefully.
- djhworld 10y agoHi, I've just installed it. I like it. I'm a tab hoarder too and I've never found a solution that works for me. I've raised a few issues on github, feel free to ignore them!
- weaksauce 10y agoGlad you like it! So far I am liking the issues you raised and will likely implement them when I have some time. cheers!
- yoasif_ 10y agoYou may not be aware of this, but although I also installed the extension and I am trying it out, Firefox has a way to manage the tab hoarder use case, built into the default install. Using the Awesomebar and typing "%" and a tab name will find the tab. Navigating to it and clicking (or pressing enter) will open the tab in its existing window. Docs here: https://support.mozilla.org/en-US/kb/awesome-bar-search-firefox-bookmarks-history-tabs#w_changing-results-on-the-fly https://support.mozilla.org/en-US/kb/awesome-bar-search-fire...
- Perseids 10y agoI'm also one of the heavy tab users (though even more on the high end: I routinely close hundreds of tabs when I tidy up my browser) and I can wholeheartedly recommend the Tree Style Tab extension [1]. It automatically orders your tabs in a child-parent-relationship in a side-bar on the side of your screen, which is invaluable, when you e.g. search for a product on Amazon and have all of the competing products open in child-tabs below your search parent-tab. For Hackernews, I have the front page as parent tab, the discussion pages as children and all the links in the discussion as grandchildren, which neatly orders each context together. [1] https://addons.mozilla.org/en-US/firefox/addon/tree-style-tab/ https://addons.mozilla.org/en-US/firefox/addon/tree-style-ta...
- forgotpwtomain 10y agoWhat do you use for session management / syncing? I've found that the Chrome Session Buddy extension is highly preferable to the Firefox Session Manager. Why something so crucial is a hobbyist project on both ends and not internalized by the respective companies - I still wonder myself.
- newscracker 10y agoFor session management (not sync), Session Manager [1] is an excellent extension. It's compatible with Tab Mix Plus, and I use it all the time. [1]: https://addons.mozilla.org/firefox/addon/session-manager/ https://addons.mozilla.org/firefox/addon/session-manager/
- vacri 10y agoI'm a big fan of the old Panorama mode for my hundreds of tabs. Ctrl + Shift + E to display groups of tabs arranged how you like them. Panorama is now dead, but replaced by the 'Tab Groups' addon, keeping the dream alive. https://addons.mozilla.org/en-US/firefox/addon/tab-groups-panorama/ https://addons.mozilla.org/en-US/firefox/addon/tab-groups-pa...
- dredmorbius 10y agoTree-Style Tabs is an excellent example of implicit and automatic state structuring. Without you as a user having to do anything other than simply open up new tabs as is natural in your workflow, you create an explicit structure which shows the relation of various browser tabs to one another. The best thing about this is that you can treat an entire tab tree or subtree as a task, and when you are done, clear it out. Other elements of TST are that it can be placed as a sidebar, which, in this world of Very Wide Screen Displays, takes up extraneous space (for textual presentation) on the side of your screen, and frees up the precious and limited vertical space for more text state. I've tried several times, and largely given up, on explaining to Google's Peter Kasting (one of the core Chrome devs) why this is so useful. Google are apparently adopting the GNOME and systemd view that: 1. If you're a technically advanced user, you're not our target user base. 2. If you're not a technically advanced user, you're not qualified to comment on what's wrong with the product. Somehow, that never quite seems to work out right. Firefox's flexibility, particularly with tabs, is why I continue to use it despite some performance and functional advantages to Chrome. (On Android, Chrome's lack of adblock makes it almost entirely useless. I've salvaged it slightly through putting a hosts + DNSMasq adblock on my router -- DD-WRT. But that's only just barely sufficient. Adverts are a complete pox on the Web now.)
- tomc1985 10y agoSomewhat tangential, but I think that many of the difficulties they are facing with Electrolysis and this whole multi-process movement is that, in older versions of FF, everything is so tightly integrated. IIRC, Firefox has(had?) a lot of old code written long before modern concerns were even fathomed; addons back-in-the-day had access to the entire process-- every tab, all the DOM, and everything shared the same namespace (shady calls from webpages were blocked somehow, not sure if it was true sandboxing or not), so AMO mods would block addons (or updates) that didn't adhere to their namespacing policy. I'd bet a lot of that integration is still there, and most of what we're seeing is the result of what is probably a very messy untangling.